Re: Patch: add timing of buffer I/O requests - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Patch: add timing of buffer I/O requests
Date
Msg-id CA+TgmoYwfV+edXJdO2xhpYBkzKCNy1GFpKzbo2jxi4Mz7qhVzg@mail.gmail.com
Whole thread Raw
In response to Re: Patch: add timing of buffer I/O requests  (Greg Smith <greg@2ndQuadrant.com>)
Responses Re: Patch: add timing of buffer I/O requests
Re: Patch: add timing of buffer I/O requests
List pgsql-hackers
On Mon, Nov 28, 2011 at 2:54 AM, Greg Smith <greg@2ndquadrant.com> wrote:
> The real problem with this whole area is that we know there are
> systems floating around where the amount of time taken to grab timestamps
> like this is just terrible.

Assuming the feature is off by default (and I can't imagine we'd
consider anything else), I don't see why that should be cause for
concern.  If the instrumentation creates too much system load, then
don't use it: simple as that.  A more interesting question is "how
much load does this feature create even when it's turned off?".

The other big problem for a patch of this sort is that it would bloat
the stats file.  I think we really need to come up with a more
scalable alternative to the current system, but I haven't looked the
current system in enough detail to have a clear feeling about what
such an alternative would look like.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Gurjeet Singh
Date:
Subject: Re: psql line number reporting from stdin
Next
From: Robert Haas
Date:
Subject: Re: psql line number reporting from stdin