feature request: log bytes out for each request

Поиск
Список
Период
Сортировка
От Aleksey Tsalolikhin
Тема feature request: log bytes out for each request
Дата
Msg-id AANLkTinzt7D5RtkXvpxievetqnTtDgJug-wN6CkA+WBy@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Hi.  Could you please consider logging size of reply, like Apache
httpd does with its logfile?

We've started having intermittent spikes in network usage (the network
interface on the
DB server is getting maxed out) and I suspect there is a single very
large query (just a
working hypothesis at this point).

Logging of answer sizes would help track down an issue like this; plus
you could track
on an ongoing basis how much work you're doing, which may be useful for capacity
planning.

Thanks for a great database server!

Kind regards,
Aleksey

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Survey on backing up unlogged tables: help us with PostgreSQL development!
Следующее
От: Allan Kamau
Дата:
Сообщение: ERROR row is too big size 9336, exceeds size 8160 when populating record with tsquery and tsvector fields