Re: min duration logging

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: min duration logging
Дата
Msg-id 4E949E83.20603@pinpointresearch.com
обсуждение исходный текст
Ответ на min duration logging  (AA <araskoktas@gmail.com>)
Список pgsql-admin
On 10/11/2011 11:23 AM, AA wrote:
> hey all
> trying to find non optimized queries and want to use this logging
> feature, however postgresql seems to write every query to log.
>
> my conf is as follows...
>
> log_min_duration_statement = 450
> ...

What durations are showing in the log? Are lots/all of the queries you
run longer than 450ms?


> #log_statement = 'all'
>

I don't know what the config looked like beforehand but did you reload
PostgreSQL after changing it? You can check the current running settings
with "show all;"

Cheers,
Steve


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

Предыдущее
От: AA
Дата:
Сообщение: min duration logging
Следующее
От: "Gnanakumar"
Дата:
Сообщение: How to find and/or REINDEX only GiST indexes in the database?