Re: Searching for paper about pg's optimizer cost model - Mailing list pgsql-general

From Tom Lane
Subject Re: Searching for paper about pg's optimizer cost model
Date
Msg-id 24519.1275054885@sss.pgh.pa.us
Whole thread Raw
In response to Searching for paper about pg's optimizer cost model  (Daniel Bausch <DanielBausch@gmx.de>)
List pgsql-general
Daniel Bausch <DanielBausch@gmx.de> writes:
> does anybody know a paper (or any document but the code itself) containing a
> description of the current cost model used by the query optimizer/planner.

If you look on the project website you can find slides from various
conference presentations that give overviews of the planner.  But if you
want details you'll have to read the code.  It's at least moderately
well commented, though.  Most of the skeletons in this particular
closet are in costsize.c and selfuncs.c.

            regards, tom lane

pgsql-general by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: PostgreSQL DBA Opening
Next
From: Rainer Pruy
Date:
Subject: Re: UPDATE...RETURNING col INTO var - what is returned?