Can I truncate statements in the log?

Поиск
Список
Период
Сортировка
От Howard Cole
Тема Can I truncate statements in the log?
Дата
Msg-id 48BC221B.8050905@selestial.com
обсуждение исходный текст
Ответы Re: Can I truncate statements in the log?  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-general
As part of my log configuration, I log statements that take over 3
seconds. I find this very useful for optimising tables etc. The problem
is that it produces verbatim some very large statements which can create
huge log entries, which are probably responsible themselves for slowing
the system down. The problem tend to be insert statements for binary
objects - which can be Megabytes long.

Is it possible to stop logging these excessive insert statements
somehow, or restricting the log of statements to select, delete etc and
ignore inserts.

Thanks.

Howard.

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

Предыдущее
От: Edoardo Panfili
Дата:
Сообщение: immutable functions and enumerate type casts in indexes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: immutable functions and enumerate type casts in indexes