Re: Parsing VACUUM VERBOSE

Поиск
Список
Период
Сортировка
От Guillaume Smet
Тема Re: Parsing VACUUM VERBOSE
Дата
Msg-id 1d4e0c10706141401u2ae5ff73x61a86973b13f6133@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Parsing VACUUM VERBOSE  ("Y Sidhu" <ysidhu@gmail.com>)
Ответы Re: Parsing VACUUM VERBOSE  ("Y Sidhu" <ysidhu@gmail.com>)
Список pgsql-performance
On 6/14/07, Y Sidhu <ysidhu@gmail.com> wrote:
> Can anyone share what value they have set log_min_duration_statement to?

It's OT but we use different values for different databases and needs.

On a very loaded database with a lot of complex queries (lots of join
on big tables, proximity queries, full text queries), we use 100 ms.
It logs ~ 300 000 queries. It allows us to detect big regressions or
new queries which are very slow.

On another database where I want to track transaction leaks, I'm
forced to put it to 0ms.

Basically, the answer is: set it to the lowest value you can afford
without impacting too much your performances (and if you use syslog,
use async I/O or send your log to the network).

--
Guillaume

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

Предыдущее
От: "Y Sidhu"
Дата:
Сообщение: Re: Parsing VACUUM VERBOSE
Следующее
От: "Y Sidhu"
Дата:
Сообщение: Re: Parsing VACUUM VERBOSE