Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id C0B06475E60 for ; Fri, 28 Jun 2002 15:28:46 -0400 (EDT) Mailbox-Line: From tgl@sss.pgh.pa.us Fri Jun 28 15:28:46 2002 Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 533F74761D2 for ; Fri, 28 Jun 2002 15:19:53 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g5SJJrD06114; Fri, 28 Jun 2002 15:19:53 -0400 (EDT) To: Ray Ontko Cc: pgsql-admin@postgresql.org Subject: Re: Are statistics gathered on function indexes? In-reply-to: <200206281544.KAA04567@shire.ontko.com> References: <200206281544.KAA04567@shire.ontko.com> Comments: In-reply-to Ray Ontko message dated "Fri, 28 Jun 2002 10:44:02 -0500" Date: Fri, 28 Jun 2002 15:19:52 -0400 Message-ID: <6111.1025291992@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-5.4 required=5.0 tests=IN_REP_TO,X_NOT_PRESENT,SUBJ_ENDS_IN_Q_MARK version=2.30 X-Spam-Level: X-Archive-Number: 200206/242 X-Sequence-Number: 4675 Ray Ontko 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