Re: Re: Re: PostgreSQL over NFS? - Mailing list pgsql-general

From Doug McNaught
Subject Re: Re: Re: PostgreSQL over NFS?
Date
Msg-id m3r917z4ee.fsf@belphigor.mcnaught.org
Whole thread Raw
In response to Re: Re: Re: PostgreSQL over NFS?  (tc lewis <tcl@bunzy.net>)
List pgsql-general
Mike Castle <dalgoda@ix.netcom.com> writes:

> Another point of concern is state of the system when a backup is taken.
> Other threads pointed out the concern about backing up files during the
> middle of transactions and the like.  Better if able to ask the LVM layer
> (or whatever) to take a snapshot, and then back THAT up.  Does netapp offer
> such facilities?  (I would imagine so, but not positive).  If not, one may
> still have to do a pg_dump just to maintain stable backups.

I don't think that LVM (or snapshots in general, which NetApps do
indeed offer) will help without a way to tell PG to quiesce itself and
flush all caches to disk.  A random snapshot of a PG database will
almost certainly not be consistent.

I don't think PG has anything like Oracle's "hot backup" mode, except
for pg_dump itself.

-Doug

pgsql-general by date:

Previous
From: Mike Castle
Date:
Subject: Re: Re: Re: PostgreSQL over NFS?
Next
From: Tom Lane
Date:
Subject: Re: Postmaster uses Large Amounts of Swap