Re: WAL archiving to network drive

From: Glen Parker <glenebob(at)nwlink(dot)com>
To: postgres general <pgsql-general(at)postgresql(dot)org>
Cc: Greg Smith <gsmith(at)gregsmith(dot)com>
Subject: Re: WAL archiving to network drive
Date: 2008-08-20 18:33:06
Message-ID: 48AC6362.2060704@nwlink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greg Smith wrote:
> 2) If there is a problem with the network drive, the slow/blocked
> network write is not happening where the database is waiting for it.

This is not really a consideration, is it? I was under the impression
that no other database activity blocks waiting for the archiver. That
doesn't even make sense.

> 3) In an emergency where the usual network drive is unavailable, you can
> temporarily change your archive strategy without touching the database
> server's configuration.

That's just as true with the direct write method. You simply change the
archive script to do nothing and return a failed exit status. The DBMS
will keep trying until you change it back, and then everything catches
up and proceeds as normal.

-Glen

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matthew Pettis 2008-08-20 18:58:37 Re: Fwd: Restarting with pg_ctl, users, and passwords.
Previous Message Scott Marlowe 2008-08-20 18:27:34 Re: Fwd: Restarting with pg_ctl, users, and passwords.