From: | CS DBA <cs_dba(at)consistentstate(dot)com> |
---|---|
To: | Gabriele Bartolini <gabriele(dot)bartolini(at)2ndQuadrant(dot)it> |
Cc: | "Rangi, Jai" <jrangi(at)automotive(dot)com>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Postgres Replication Options |
Date: | 2011-02-09 16:53:24 |
Message-ID: | 4D52C684.1070808@consistentstate.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
One of the main considerations per Hot Standby vs SLONY is replication
scope. With Hot Standby you get everything that occurs in the cluster,
across all databases. With SLONY you are limited to at most a single
database per "SLONY Cluster", and you can define replication sets which
only contain a sub-set of the tables in the database. So, IMHO I'd go
with Hot Standby if I wanted to replicate the full cluster and SLONY if
I wanted to "slice & dice" tables and target slaves (i.e. replicate all
tables for a single db to slave 1, only 50 tables to slave 2, etc...)
--hope this helps
/Kevin
> 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 Italia
> PostgreSQL Training, Services and Support
> gabriele(dot)bartolini(at)2ndQuadrant(dot)it |www.2ndQuadrant.it
From | Date | Subject | |
---|---|---|---|
Next Message | Prabhjot S. Sheena | 2011-02-09 18:57:15 | Intallation of postgres 9.0.3 gives an error on already installed postgres 8.4 on the same machine |
Previous Message | Ray Stell | 2011-02-09 16:25:45 | Re: PostgreSQL 9.0.3 streaming replication failure |