Re: High Performance/High Reliability File system on SuSE64

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Weimann <cweimann(at)k12hq(dot)com>
Cc: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Andrew Sullivan <ajs(at)crankycanuck(dot)ca>, pgsql-performance(at)postgresql(dot)org
Subject: Re: High Performance/High Reliability File system on SuSE64
Date: 2004-01-31 18:40:24
Message-ID: 200401311840.i0VIeOa14468@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance

Christopher Weimann wrote:
> On 01/23/2004-10:18AM, Joshua D. Drake wrote:
> >
> > XFS also has the interesting ability (although I have yet to test it)
> > that will allow you
> > to take a snapshot of the filesystem. Thus you can have filesystem level
> > backups
> > of the PGDATA directory that are consistent even though the database is
> > running.
>
> You can do snapshots in FreeBSD 5.x with UFS2 as well but that (
> nor XFS snapshots ) will let you backup with the database server
> running. Just because you will get the file exactly as it was at
> a particular instant does not mean that the postmaster did not
> still have some some data that was not flushed to disk yet.

Uh, yea, it does. If the snapshot includes all of /data, including
WAL/xlog, you can then back up the snapshot and restore it on another
machine. It will restart just like a crash.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sally Sally 2004-01-31 18:52:06 Separating a single database into different disks
Previous Message JSaula 2004-01-31 12:53:32 How do I do download of pgadmin III?

Browse pgsql-performance by date

  From Date Subject
Next Message Marc G. Fournier 2004-01-31 20:15:35 Re: another query optimization question
Previous Message Tom Lane 2004-01-31 15:45:56 Re: another query optimization question