Re: How to ENABLE SQL capturing???

Поиск
Список
Период
Сортировка
От Steinar H. Gunderson
Тема Re: How to ENABLE SQL capturing???
Дата
Msg-id 20070808203612.GA26143@uio.no
обсуждение исходный текст
Ответ на How to ENABLE SQL capturing???  (smiley2211 <smiley2211@yahoo.com>)
Ответы Re: How to ENABLE SQL capturing???  ("Bryan Murphy" <bryan.murphy@gmail.com>)
Список pgsql-performance
On Wed, Aug 08, 2007 at 01:02:24PM -0700, smiley2211 wrote:
> I am trying to enable capturing of the submitted code via an
> application...how do I do this in Postgres?  Performance is SLOW on my
> server and I have autovacuum enabled as well as rebuilt indexes...whatelse
> should be looked at?

Try "log_min_duration_statement = 100" in postgresql.conf; it will show all
statements that take more than 100ms. Set to 0 to log _all_ statements, or
-1 to turn the logging back off.

/* Steinar */
--
Homepage: http://www.sesse.net/

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

Предыдущее
От: smiley2211
Дата:
Сообщение: How to ENABLE SQL capturing???
Следующее
От: Decibel!
Дата:
Сообщение: Re: When/if to Reindex