From: Jim C. Nasby <jnasby@pervasive.com>
To: postgres@pivert.org
Cc: pgsql-admin@postgresql.org
Subject: Re: Switch log (WAL)
Date: Mon, 13 Feb 2006 11:43:50 -0600
Message-ID: <20060213174350.GA57845@pervasive.com> (raw)
In-Reply-To: <200602121147.11349.postgres@pivert.org>
References: <200602121147.11349.postgres@pivert.org>
On Sun, Feb 12, 2006 at 11:47:11AM +0100, postgres@pivert.org wrote:
> Hello,
>
> I'm new to the list, and I'm intereted in PostgreSQL replication (using WAL)
> As I didn't find any script to do that, I make mine, that seems to work.
>
> However, I wonder how can I "switch WAL logs", in order to have the standby
> database not too much late.
> The database actually generates few logs, and I would like one WAL to be
> generated once per hour.
>
> How Can I do that ?
You can't. What you can do is copy the most recently touched log file as
often as you'd like. That will limit your data loss should you need to
fail-over.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jnasby@pervasive.com, postgres@pivert.org
Subject: Re: Switch log (WAL)
In-Reply-To: <20060213174350.GA57845@pervasive.com>
References: <200602121147.11349.postgres@pivert.org> <20060213174350.GA57845@pervasive.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox