Re: Logging seq scans

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Logging seq scans
Дата
Msg-id 440D9402.8020209@archonet.com
обсуждение исходный текст
Ответ на Logging seq scans  (Guido Neitzer <guido.neitzer@pharmaline.de>)
Список pgsql-general
Guido Neitzer wrote:
> Hi.
>
> Is there a way to set up logging in a way that I can see queries which
> trigger seq scans? Or to log queries "taking longer than xx ms"?

The second is straightforward. See the "log_min_duration_statement"
setting in the "logging" section of the manuals.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Russ Brown
Дата:
Сообщение: Re: Benchmark-Comparison PostGreSQL vs. SQL Server
Следующее
От: Kenneth Downs
Дата:
Сообщение: per-statement, after, what's new?