From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Mikheev, Vadim <vmikheev@SECTORBASE.COM>
Cc: 'Hiroshi Inoue' <Inoue@tpf.co.jp>
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 12:03:48 -0400
Message-ID: <23045.959270628@sss.pgh.pa.us> (raw)
In-Reply-To: <200005251511.LAA21178@candle.pha.pa.us>
References: <200005251511.LAA21178@candle.pha.pa.us>
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> 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.
Yeah, a scan over just the index itself would be a perfect way to
gather stats. The normal objection to it (can't tell whether entries
correspond to currently-valid tuples) doesn't apply, because we don't
really care whether the stats are perfectly accurate.
Should put this in TODO, along with something about splitting the
ANALYZE function out of VACUUM and making it invokable as a separate
statement.
regards, tom lane
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: tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, vmikheev@SECTORBASE.COM, Inoue@tpf.co.jp, ryan_bradetich@hp.com
Subject: Re: Use of index in 7.0 vs 6.5
In-Reply-To: <23045.959270628@sss.pgh.pa.us>
References: <200005251511.LAA21178@candle.pha.pa.us> <23045.959270628@sss.pgh.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