pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pg noob <pgnube@gmail.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: query plan estimate
Date: Sun, 31 Mar 2013 20:52:59 -0400
Message-ID: <24671.1364777579@sss.pgh.pa.us> (raw)
In-Reply-To: <CAPNY-2UhG9QEdvy84bZRx3m0SD3HoCN5jMZAP1yw9jDY_hMpww@mail.gmail.com>
References: <CAPNY-2UhG9QEdvy84bZRx3m0SD3HoCN5jMZAP1yw9jDY_hMpww@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

pg noob <pgnube@gmail.com> writes:
> I'm looking at this query plan, an excerpt of which is shown here, and I am
> just wondering how the estimated cost for the Nested Loop is calculated?

http://www.postgresql.org/docs/9.2/static/using-explain.html

There's a nestloop example about a third of the way down the page ...

			regards, tom lane


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (2+ messages)

Message-ID: <24671.1364777579@sss.pgh.pa.us>
Permalink:  ../24671.1364777579@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24671.1364777579@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgnube@gmail.com
  Subject: Re: query plan estimate
  In-Reply-To: <24671.1364777579@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox