log_duration

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема log_duration
Дата
Msg-id GNELIHDDFBOCMGBFGEFOIEHLCFAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответы Re: log_duration  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi guys,

Looking at the log_duration postgresql.conf option.  How about adding an
option log_duration_min which is a value in milliseconds that is the minimum
time a query must run for before being logged.  Basically, what I'd be
interested in is "please log the SQL query and duration of all queries that
last longer than 500ms".

That way I can quickly find badly formed queries, index them, etc...

Idea?

Chris



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

Предыдущее
От: Kevin Brown
Дата:
Сообщение: Re: Irix 6.2, Postgres 7.3.1, some brokenness
Следующее
От: greg@turnstep.com
Дата:
Сообщение: Re: PGP signing releases