Re: Replication with PostgreSQL

From: Christopher Browne <cbbrowne(at)acm(dot)org>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Replication with PostgreSQL
Date: 2005-03-21 03:33:10
Message-ID: m3eke9brm1.fsf@knuth.knuth.cbbrowne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

After a long battle with technology, prakash(at)ritvi(dot)com (prakash sompura), an earthling, wrote:
> Can any one tell me how do I replicate my PostgreSql database from
> one server to another server?

One method involves using pg_dump to dump the state out, and load it
onto the other server. Certainly this is the simplest way to do a one
point in time replication.

Another involves using the PG 8.0 "PITR" (Point In Time Recovery)
facility.

If you want the replica to be relatively up to date and usable more or
less continuously as a queryable replica, then you should look into
one or another of the replication systems. Slony-I is the "hot name"
at this point...
--
wm(X,Y):-write(X),write('@'),write(Y). wm('cbbrowne','gmail.com').
http://linuxdatabases.info/info/slony.html
"If a word in the dictionary were misspelled, how would we know?"
-- Steven Wright

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Weiping 2005-03-21 03:40:04 Re: Performance Question
Previous Message Tom Lane 2005-03-21 03:00:52 Re: psql: FATAL: invalid value for parameter "datestyle": "SQL US"