Re: [GENERAL] Regarding WAL

From: "Alexander Staubo" <alex(at)purefiction(dot)net>
To: Mageshwaran <j_mageshwaran(at)sifycorp(dot)com>, pgsql-general(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Re: [GENERAL] Regarding WAL
Date: 2007-04-24 09:31:11
Message-ID: 88daf38c0704240231s347ae29du220fec6443a59d88@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On 4/24/07, Mageshwaran <j_mageshwaran(at)sifycorp(dot)com> wrote:
> I want to do replication using WAL , please tell the methods by which
> log shipping is done ie moving the wal files to slaves and executing it.

Not possible at the moment: the log shipping facility that was
introduced in 8.2 only lets you set up a so-called warm standby, which
cannot be queried; it's not live replication.

The warm standby system is a fairly crude hack that relies on WAL
files being copied from the main server to the standby and then
starting the standby in recovery mode when you want to bring it up. At
this point the standby is your main database, and it can no longer WAL
files. Documented here:

http://www.postgresql.org/docs/8.2/static/warm-standby.html

Alexander.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sorin N. Ciolofan 2007-04-24 10:04:16 pg_buffercache view
Previous Message Muhammad Isnaini 2007-04-24 07:35:37 Replication Multi Master Asyncronous

Browse pgsql-general by date

  From Date Subject
Next Message Sorin N. Ciolofan 2007-04-24 10:04:16 pg_buffercache view
Previous Message Felix Kater 2007-04-24 09:13:45 Re: PQerrorMessage: suppress trailing new line?