Re: [Fwd: Re: [DOCS] How the planner uses statistics] - Mailing list pgsql-patches

From Tom Lane
Subject Re: [Fwd: Re: [DOCS] How the planner uses statistics]
Date
Msg-id 11234.1108137647@sss.pgh.pa.us
Whole thread Raw
In response to Re: [Fwd: Re: [DOCS] How the planner uses statistics]  (Mark Kirkwood <markir@coretech.co.nz>)
Responses Re: [Fwd: Re: [DOCS] How the planner uses statistics]
List pgsql-patches
Mark Kirkwood <markir@coretech.co.nz> writes:
> Tom Lane wrote:
>> Hmmm ... it strikes me that someone wanting this level of detail
>> would be better advised to look into the source code.

> I did wonder about about it being better placed in 'internals'
> somewhere, but it seemed to follow on from the 'explain' and 'stats'
> sections quite well.

The internals section would be a good compromise.  ISTM that in the
context of the "performance tips" chapter, all that people really want
to know is that the planner uses the pg_statistic entries to estimate
numbers of matching rows --- just how it goes about it is irrelevant
detail at that point.

            regards, tom lane

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Updated french translations
Next
From: Marko Kreen
Date:
Subject: Repost: FastFPE results for Linux/ARM