Re: replication in Postgres - Mailing list pgsql-general

From Alexander Staubo
Subject Re: replication in Postgres
Date
Msg-id 88daf38c0711251438x560abc4ena65baf0415708f7d@mail.gmail.com
Whole thread Raw
In response to replication in Postgres  (Glyn Astill <glynastill@yahoo.co.uk>)
Responses Re: replication in Postgres  (Simon Riggs <simon@2ndquadrant.com>)
Re: replication in Postgres  ("Jeff Larsen" <jlar310@gmail.com>)
List pgsql-general
On 11/25/07, Glyn Astill <glynastill@yahoo.co.uk> wrote:
> So far the only methods I see would be usable for us are Slony I and
> WAL log shipping.

WAL shipping probably does not work the way you think it does. The
secondary server that receives the log pieces is not actually able to
serve any queries; it only processes them as part of a sort of
indefinitely extended recovery procedure. Therefore, the current
shipping support is only good for maintaining a "warm standby" server.
The manual explains this in detail.

Someone is working on extending the current system to allow read-only
queries on a standby server [1], thus making it a "hot standby", but
this feature apparently won't be included until 8.4 [2].

[1] http://archives.postgresql.org/pgsql-hackers/2007-02/msg01390.php
[2] http://archives.postgresql.org/pgsql-general/2007-09/msg00752.php

Alexander.

pgsql-general by date:

Previous
From: Martin Gainty
Date:
Subject: Re: Error while compiling PostgreSQL with Java
Next
From: "Jeff Larsen"
Date:
Subject: Re: postgres schema printer