Re: planstats.sgml

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: planstats.sgml
Date: 2016-02-16 07:01:06
Message-ID: 20160216.160106.942751076136207061.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>> Tatsuo Ishii <ishii(at)postgresql(dot)org> writes:
>>> While reading planstats.sgml, I encounted a sentence which I don't
>>> understand.
>>
>>> These numbers are current as of the last <command>VACUUM</> or
>>> <command>ANALYZE</> on the table. The planner then fetches the
>>> actual current number of pages in the table (this is a cheap operation,
>>> not requiring a table scan). If that is different from
>>> <structfield>relpages</structfield> then
>>> <structfield>reltuples</structfield> is scaled accordingly to
>>> arrive at a current number-of-rows estimate. In this case the value of
>>> <structfield>relpages</structfield> is up-to-date so the rows estimate is
>>> the same as <structfield>reltuples</structfield>.
>>
>>> I don't understand the last sentence (In this case...). For me it
>>> seems it is talking about the case when replages is not different from
>>> what the planner fetches from the table. If so, why "In this case"?
>>
>> I think what it meant is "In the example above, ...". Feel free to
>> change it if you think that is clearer.
>
> Oh, I see. I'm going to change "In this case" to "In the example above".

Done.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Bapat 2016-02-16 07:02:27 Re: postgres_fdw join pushdown (was Re: Custom/Foreign-Join-APIs)
Previous Message Etsuro Fujita 2016-02-16 06:56:41 Re: postgres_fdw join pushdown (was Re: Custom/Foreign-Join-APIs)