If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > PostgreSQL > Replication + Postgres

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-26-11, 15:28
abraao895 abraao895 is offline
Registered User
 
Join Date: Apr 2011
Posts: 4
Exclamation Replication + Postgres

Hi,

I have a program that works using the PostgreSQL 8.2.11. I try to use the Slony-I and this woks fine. The main problem is that it does not replicate DDL. I need of a replicator that have this feature. Thanks so much! Abraao
Reply With Quote
  #2 (permalink)  
Old 04-27-11, 02:35
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,408
You failed to mention what you need the slave for (backukp, standby, load balancing) so it's hard to tell what tool you need.

You can upgrade to 9.0 which has replication built in. Using streaming replication and hot standby you can do queries on the slave as well.

You should plan your upgrade anyway as the support for 8.2 will be stopped end of this year.
Reply With Quote
  #3 (permalink)  
Old 04-27-11, 07:33
abraao895 abraao895 is offline
Registered User
 
Join Date: Apr 2011
Posts: 4
Question Replication + Postgres

Hi Shammat,

I need of a backup of a database of a master to slave in real time. But it also must propagate DDL of master tables to slave tables.
I am going to think about the upgrade. Thanks very much! Abraćo
Reply With Quote
  #4 (permalink)  
Old 04-27-11, 07:56
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,408
Quote:
Originally Posted by abraao895 View Post
I need of a backup of a database of a master to slave in real time. But it also must propagate DDL of master tables to slave tables.
That's what 9.0 streaming replication does.
Reply With Quote
  #5 (permalink)  
Old 04-27-11, 08:14
abraao895 abraao895 is offline
Registered User
 
Join Date: Apr 2011
Posts: 4
Question Postgres + Replication

Thanks. Some suggestion to PostgreSQL 8.2? To try to resolve my problem quickly even i create some corrections to my program to upgrade.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On