Seeking advice on database replication. - Mailing list pgsql-general

From Demitri Muna
Subject Seeking advice on database replication.
Date
Msg-id 678D2CF8-71F8-490B-B2B7-C314E342BDAF@mac.com
Whole thread Raw
Responses Re: Seeking advice on database replication.
Re: Seeking advice on database replication.
List pgsql-general
Hello,

I am interested in sharing/replicating data between different databases, and I'd like to ask if what I'd like to do is
possiblein postgresql. I have read a fair amount of documentation and was looking forward to PostgreSQL 9, but I don't
thinkit will do for me what I want. 

I have an astronomical database at one site, let's call it A. At my own institution (across the country), I have
anotherdatabase, B. I want to replicate all of the tables of A into a read-only copy in B, in as close to real-time as
possible.The time isn't a critical factor here - if it's delayed by even an hour, I'm ok with that. Tables in B will
needto JOIN against tables from A. The total size of A is ~80MB and grows slowly. 

After reading the documentation for PG9's replication, it seems I cannot do this since it only supports replicating a
cluster.It appears that I'd want to put the tables in B into one schema, the tables from A into another schema in the
samedatabase (let's call it B.a), and replicate the tables from A into B.a. Is this at all possible? This promises to
bea very powerful tool for us, but I don't know how best to accomplish this. 

Further, I'd like A to be replicated to several institutions. Again, this is not a real-time operation, but something
thatdoesn't require user intervention is ideal. 

I tried to run Slony-I last year, but found it to be very frustrating and never got it to work. (In retrospect, I don't
evenknow if it supports schema-level replication). 

Any advice would be greatly appreciated!

Cheers,
Demitri

Center for Cosmology and Particle Physics
New York University

pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Schema tool
Next
From:
Date:
Subject: Instructions/status of modpglogger