From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Mikheev, Vadim <vmikheev@SECTORBASE.COM>
Cc: 'Hiroshi Inoue' <Inoue@tpf.co.jp>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ryan Bradetich <ryan_bradetich@hp.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Use of index in 7.0 vs 6.5
Date: Thu, 25 May 2000 11:11:23 -0400 (EDT)
Message-ID: <200005251511.LAA21178@candle.pha.pa.us> (raw)
In-Reply-To: <8F4C99C66D04D4118F580090272A7A23018BFF@SECTORBASE1>
[ 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@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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, vmikheev@SECTORBASE.COM, Inoue@tpf.co.jp, tgl@sss.pgh.pa.us, ryan_bradetich@hp.com
Subject: Re: Use of index in 7.0 vs 6.5
In-Reply-To: <200005251511.LAA21178@candle.pha.pa.us>
References: <8F4C99C66D04D4118F580090272A7A23018BFF@SECTORBASE1> <200005251511.LAA21178@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox