Re: WAL file naming convention

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Andy Shellam <andy(dot)shellam(at)mailnetwork(dot)co(dot)uk>
Cc: 'Sriram Dandapani' <sdandapani(at)counterpane(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: WAL file naming convention
Date: 2006-03-27 10:34:44
Message-ID: 20060327103444.GQ80726@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Sat, Mar 25, 2006 at 05:51:13PM -0000, Andy Shellam wrote:
> As PostgreSQL numbers WALs sequentially, as long as your ls command by
> default orders listings by filename, then Yes. Or you could list by the
> last modified date/time should give the same effect.

But note that the order it creates them in doesn't have much meaning,
because it can re-use them. So if you want to know anything about actual
current order of usage the filename is meaningless.

> _____
>
> From: pgsql-admin-owner(at)postgresql(dot)org
> [mailto:pgsql-admin-owner(at)postgresql(dot)org] On Behalf Of Sriram Dandapani
> Sent: Saturday, 25 March, 2006 12:30 am
> To: pgsql-admin(at)postgresql(dot)org
> Subject: [ADMIN] WAL file naming convention
>
>
>
> Hi
>
>
>
> Is is safe to assume that the unix ls command will return WAL files in the
> same sequence as postgres creates them.
>
>
>
> e.g will ls <wal-file-folder> return files in the order that postgres
> created them
>
> !DSPAM:14,44248f2235041511888239!

--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jim C. Nasby 2006-03-27 10:38:25 Re: reg:create database
Previous Message Kannan.S 2006-03-27 09:39:00 Re: reg:create database