Re: Statistics collection question - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Statistics collection question
Date
Msg-id 20070904074127.GA31235@svana.org
Whole thread Raw
In response to Re: Statistics collection question  ("Phoenix Kiula" <phoenix.kiula@gmail.com>)
List pgsql-general
On Tue, Sep 04, 2007 at 03:07:41PM +0800, Phoenix Kiula wrote:
> How can I check what is causing the lack? When I restart pgsql it goes
> away. The log is empty for a day or too (I'm only logging errors or
> slow queries) and the queries are super fast, but after a day it
> starts filling up with abysmally slow queries, even on simple queries
> with the WHERE clauses that have only one constant on the indexed
> column!

Check you're not running VACUUM FULL anywhere and post the (complete)
output of VACUUM VERBOSE as superuser. That way we can rule out
index/table bloat.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: "Gregory Williamson"
Date:
Subject: Re: Statistics collection question
Next
From: Gregory Stark
Date:
Subject: Re: Instances where enable_seqscan = false is good