feature request: log bytes out for each request

From: Aleksey Tsalolikhin <atsaloli(dot)tech(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: feature request: log bytes out for each request
Date: 2010-11-18 00:51:10
Message-ID: AANLkTinzt7D5RtkXvpxievetqnTtDgJug-wN6CkA+WBy@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Ray 2010-11-18 01:42:44 upgrade from postgres 8.x to 9.x problem
Previous Message Merlin Moncure 2010-11-17 23:30:53 Re: Survey on backing up unlogged tables: help us with PostgreSQL development!