Re: [HACKERS] Re: order by and index path - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Re: order by and index path
Date
Msg-id 199810151604.MAA15195@candle.pha.pa.us
Whole thread Raw
In response to Re: order by and index path  (jwieck@debis.com (Jan Wieck))
Responses Re: [HACKERS] Re: order by and index path
List pgsql-hackers
>     could return at max 8999 tuples and
>
>         WHERE key > 50 AND key < 70
>
>     has  a  maximum  of  998  result  tuples.  This  would be the
>     information required to make the right decision for the  case
>     where all rows selected are wanted.
>
>     We  do  not  have  this statistical information. So the whole
>     thing is at this time academic.

But we do have statistical information in pg_statistic if you run vacuum
analyze.


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Wishes for PostgreSQL 6.4
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] PostgreSQL v6.4 BETA2...