Re: Postgres Replication Options - Mailing list pgsql-admin

From Gabriele Bartolini
Subject Re: Postgres Replication Options
Date
Msg-id 4D523E22.5000106@2ndQuadrant.it
Whole thread Raw
In response to Postgres Replication Options  ("Rangi, Jai" <jrangi@automotive.com>)
Responses Re: Postgres Replication Options  (CS DBA <cs_dba@consistentstate.com>)
List pgsql-admin
Hi,

Il 09/02/11 01:34, Rangi, Jai ha scritto:

Hello,

I am looking for a replication solution for PG 9.x. Idea is to have one master replication server and multiple (around 20) slave servers read only. I see PG 9 has inbuilt Streaming replication. Is this the best replication solution. How about slony? Which option will keep the slave nodes in closest sync to master and which is more stable. 

With PostgreSQL 9.0 in terms of builtin replication you can take advantage of Hot Standby based on either WAL shipping or on Streaming Replication. I would personally stick with builtin solutions if you plan to have full replicas of your databases, even in terms of maintenance and upgrades later on (in the long term). Some tools, including replication manager (repmgr) are coming out in order to manage HA clusters (for more info: http://blog.2ndquadrant.com/en/2011/01/easier-postgresql-90-clusters.html).

Cheers,
Gabriele
-- Gabriele Bartolini - 2ndQuadrant ItaliaPostgreSQL Training, Services and Supportgabriele.bartolini@2ndQuadrant.it | www.2ndQuadrant.it

pgsql-admin by date:

Previous
From: Rosser Schwarz
Date:
Subject: Re: Postgres Replication Options
Next
From: Ray Stell
Date:
Subject: PostgreSQL 9.0.3 streaming replication failure