From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Eduardo Morras <emorras(at)s21sec(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: WAL and master multi-slave replication |
Date: | 2009-06-24 17:05:46 |
Message-ID: | 20090624170546.GE16227@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Eduardo Morras wrote:
Hi,
> I'm currently building a Pg multiserver and have a question about the
> possibility of working with WAL in a multislave environment.
>
> I have few master servers (write only) and multiple slave servers (read
> only). I want to write the WAL files from masters in a central postgres
> and that the multiple slaves reads them from time to time and auto
> update.
Never heard of a "multiserver". I assume you mean there's a bunch (zero
or more) slaves for each master.
there's a suite to handle this kind of thing using pg_standby, including
cleanup of old logs; see
https://projects.commandprompt.com/public/pitrtools
Mind you, the WAL files are not stored in a database but in raw files.
I have never seen anyone advocating the use of a database to store them.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2009-06-24 17:17:24 | Re: PgDay Athens 2009: Call for Presentations |
Previous Message | Eduardo Morras | 2009-06-24 16:57:21 | WAL and master multi-slave replication |