Re: tracking commit timestamps

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tracking commit timestamps
Date: 2014-10-31 14:00:52
Message-ID: CAHyXU0yUwWpuFgL8mfmcMCRqHLJyKjgi4SfM_L2rRBxFiQN9Bw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

On Tue, Dec 10, 2013 at 2:48 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> Speaking of the functionality this does offer, it seems pretty limited. A
>> commit timestamp is nice, but it isn't very interesting on its own. You
>> really also want to know what the transaction did, who ran it, etc. ISTM
>> some kind of a auditing or log-parsing system that could tell you all that
>> would be much more useful, but this patch doesn't get us any closer to that.
>
> For what it's worth, I think that this has been requested numerous
> times over the years by numerous developers of replication solutions.
> My main question (apart from whether or not it may have bugs) is
> whether it makes a noticeable performance difference. If it does,
> that sucks. If it does not, maybe we ought to enable it by default.

+1

It's also requested now and then in the context of auditing and
forensic analysis of application problems. But I also agree that the
tolerance for performance overhead is got to be quite low. If a GUC
is introduced to manage the tradeoff, it should be defaulted to 'on'.

merlin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-10-31 14:02:28 Re: Reducing Catalog Locking
Previous Message Robert Haas 2014-10-31 13:59:27 Re: Reducing Catalog Locking

Browse pgsql-www by date

  From Date Subject
Next Message Tom Lane 2014-10-31 14:07:20 Re: tracking commit timestamps
Previous Message Magnus Hagander 2014-10-31 11:11:04 Re: Deal with <>s in message IDs