Re: logging statements in PostgreSQL

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: logging statements in PostgreSQL
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B17C2505E@ntex2010a.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: logging statements in PostgreSQL  (Jayadevan M <maymala.jayadevan@gmail.com>)
Ответы Re: logging statements in PostgreSQL  (Jayadevan M <maymala.jayadevan@gmail.com>)
Список pgsql-general
Jayadevan M wrote:
> Thanks for the pointer. I do not really want to log the plans of queries, just the queries, execution
> time and a couple of other details (database,user). If I use the auto-explain module, it will end up
> printing the plan for all query execution in the log files?

You can configure it so that only statements exceeding a certain
duration will be logged.

Yours,
Laurenz Albe

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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: Quotes, double quotes...
Следующее
От: Moshe Jacobson
Дата:
Сообщение: Re: psql swallowed my "BEGIN;" on reset... user beware?