Re: Statistics collection question

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Statistics collection question
Дата
Msg-id 20070904074127.GA31235@svana.org
обсуждение исходный текст
Ответ на Re: Statistics collection question  ("Phoenix Kiula" <phoenix.kiula@gmail.com>)
Список 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.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: "Gregory Williamson"
Дата:
Сообщение: Re: Statistics collection question
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Instances where enable_seqscan = false is good