From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ray Ontko <rayo@ontko.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Are statistics gathered on function indexes?
Date: Fri, 28 Jun 2002 15:19:52 -0400
Message-ID: <6111.1025291992@sss.pgh.pa.us> (raw)
In-Reply-To: <200206281544.KAA04567@shire.ontko.com>
References: <200206281544.KAA04567@shire.ontko.com>
Ray Ontko <rayo@ontko.com> writes:
>> It appears that "vacuum analyze verbose actor" causes the problem.
>> It appears that I have to say "vacuum analyze actor" in order to
>> clear out the ill effects of having said "vacuum analyze verbose actor".
I really, really doubt that "verbose" has anything to do with it.
What do you get from
select * from pg_stats where tablename = 'actor' and
attname = 'actor_full_name';
Do the results change significantly between the "good" state and the
"bad" state? How about the results of
select relpages, reltuples from pg_class where relname = 'actor';
It would seem that one or another of these statistical items is getting
set weirdly by something you are doing, but I have no idea what exactly
is going wrong...
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, rayo@ontko.com
Subject: Re: Are statistics gathered on function indexes?
In-Reply-To: <6111.1025291992@sss.pgh.pa.us>
References: <200206281544.KAA04567@shire.ontko.com> <6111.1025291992@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