Re: Use of index in 7.0 vs 6.5

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM>
Cc: "'Hiroshi Inoue'" <Inoue(at)tpf(dot)co(dot)jp>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Ryan Bradetich <ryan_bradetich(at)hp(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Use of index in 7.0 vs 6.5
Date: 2000-05-25 15:11:23
Message-ID: 200005251511.LAA21178@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

[ Charset ISO-8859-1 unsupported, converting... ]
> > For example we could count up distinct values for the first
> > column of an index by scanning its index relation.
>
> Oracle has index keys distribution page... And we have near empty
> meta-page for each index AM... And backend reads this page for
> each insert...

That certainly would make sense. We have hesitated to gather more
statistics because of the time involved. Fuller statistics on just the
indexed columns could be a big win and be done fairly quickly because
the rows are already sorted in the index.

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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jeff Hoffmann 2000-05-25 15:30:57 Re: Use of index in 7.0 vs 6.5
Previous Message Tom Lane 2000-05-25 14:39:09 Re: Use of index in 7.0 vs 6.5