Re: replication from multiple "master" servers to a single read-only slave - Mailing list pgsql-general

From David Fetter
Subject Re: replication from multiple "master" servers to a single read-only slave
Date
Msg-id 20100112000100.GM25810@fetter.org
Whole thread Raw
In response to replication from multiple "master" servers to a single read-only slave  (Omar Mehmood <omarmehmood@yahoo.com>)
List pgsql-general
On Mon, Jan 11, 2010 at 03:02:18PM -0800, Omar Mehmood wrote:
> I'm wondering if it's possible to have a setup with multiple
> "master" servers replicating to a single slave.  I can guarantee
> that each server will generate unique PK values for all tables and
> all the data is partitioned (logically by server) across the
> servers.  I would simply like to have a read-only slave that is a
> picture of all the servers' data (relatively up to date).  The
> individual "master" servers never need to know about each other's
> data (i.e. they do not _need_ to "sync" with each other, nor do I
> want them to be sync'd).
>
> Would it be possible to use PostgreSQL PITR feature to support this
> functionality ?

No, but you could use something like Slony to do this.

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

pgsql-general by date:

Previous
From: Omar Mehmood
Date:
Subject: replication from multiple "master" servers to a single read-only slave
Next
From: Omar Mehmood
Date:
Subject: Re: replication from multiple "master" servers to a single read-only slave