Re: replication from multiple "master" servers to a single read-only slave

From: David Fetter <david(at)fetter(dot)org>
To: Omar Mehmood <omarmehmood(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: replication from multiple "master" servers to a single read-only slave
Date: 2010-01-12 00:01:00
Message-ID: 20100112000100.GM25810@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Omar Mehmood 2010-01-12 00:18:30 Re: replication from multiple "master" servers to a single read-only slave
Previous Message Craig Ringer 2010-01-11 23:27:38 Re: Database size