Re: WAL file question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Geoffrey <lists(at)serioustechnology(dot)com>
Cc: PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: Re: WAL file question
Date: 2009-11-17 14:52:37
Message-ID: 28093.1258469557@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Geoffrey <lists(at)serioustechnology(dot)com> writes:
> listing of wal file time stamps for one of our production databases:
> Nov 17 06:22 000000010000006100000013
> Nov 17 06:42 000000010000006100000014
> Nov 17 07:02 000000010000006100000015
> Nov 17 07:22 000000010000006100000016
> Nov 17 07:42 000000010000006100000017
> Nov 17 08:02 000000010000006100000018
> Nov 17 08:22 000000010000006100000019
> Nov 17 08:34 000000010000006100000012

> I would expect that these things are sequential, yet the file that I
> would think would be the oldest (000000010000006100000012) has the
> latest time stamp.

> What am I missing?

Most of those are probably old files that have been renamed into place
for future use --- and the renamer doesn't really worry about reusing
old files in order. I suspect ...12 is the only one that's live.
A look at pg_controldata output would help you check that.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Geoffrey 2009-11-17 15:36:38 Re: WAL file question
Previous Message utsav 2009-11-17 14:41:52 Data Directory size increasing abnormally