Re: Age of the WAL?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Erik Jones <ejones(at)engineyard(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Age of the WAL?
Date: 2013-03-12 23:13:04
Message-ID: 6589.1363129984@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Erik Jones <ejones(at)engineyard(dot)com> writes:
> What's the best way to determine the age of the current WAL? Not the current segment, but the whole thing. Put another way: is there a way to determine a timestamp for the oldest available transaction in the WAL?

Transaction commit and abort records carry timestamps, so you could
figure this out with something like pg_xlogdump. I don't know of any
canned solution though.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joe Van Dyk 2013-03-13 03:09:32 Re: Testing Technique when using a DB
Previous Message Gregg Jaskiewicz 2013-03-12 22:49:58 Re: table spaces