![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I would need to be able to put forth a replication solution that is somewhat simple to maintain, as well as able to deal with unexpected failovers and have what amounts to essentially a dual-master server configuration, where the servers are each masters and slaves of each other in terms of replication. So, what I need to know is whether or not there is a replication system for PostgreSQL that would match what the MySQL server's replication system provides at present (including the ability to add new application servers). |
#3
| |||
| |||
|
|
Michael Trausch <"mike|s/\\x40/\\./g;s/|.*|/\\x40/g;|trausch"@us> wrote: I would need to be able to put forth a replication solution that is somewhat simple to maintain, as well as able to deal with unexpected failovers and have what amounts to essentially a dual-master server configuration, where the servers are each masters and slaves of each other in terms of replication. So, what I need to know is whether or not there is a replication system for PostgreSQL that would match what the MySQL server's replication system provides at present (including the ability to add new application servers). As far as I know, there is no Free Software solution for this. |
|
The Austrian Company Cybertec advertises a solution that you could buy: http://www.postgresql.at/en/index.html but I have never seen it - you'd have to investigate. Another option I can think of is to write your poor man's implementation yourself using the dblink contrib module: When an insert, update or delete is performed against the table on one of the servers, a trigger modifies to table on the other server via dblink. Of course you'd also have to worry about what to do when one of the servers is not available, how to reconcile afterwards, etc. And adding a new server would not be straightforward. Yours, Laurenz Albe |
#4
| |||
| |||
|
|
Laurenz Albe schrieb: Michael Trausch <"mike|s/\\x40/\\./g;s/|.*|/\\x40/g;|trausch"@us> wrote: I would need to be able to put forth a replication solution that is somewhat simple to maintain, as well as able to deal with unexpected failovers and have what amounts to essentially a dual-master server configuration, where the servers are each masters and slaves of each other in terms of replication. So, what I need to know is whether or not there is a replication system for PostgreSQL that would match what the MySQL server's replication system provides at present (including the ability to add new application servers). As far as I know, there is no Free Software solution for this. Isn't pgpool suitable for this? http://pgpool.projects.postgresql.org/ |
#5
| |||
| |||
|
|
Laurenz Albe schrieb: Michael Trausch <"mike|s/\\x40/\\./g;s/|.*|/\\x40/g;|trausch"@us> wrote: I would need to be able to put forth a replication solution that is somewhat simple to maintain, as well as able to deal with unexpected failovers and have what amounts to essentially a dual-master server configuration, where the servers are each masters and slaves of each other in terms of replication. So, what I need to know is whether or not there is a replication system for PostgreSQL that would match what the MySQL server's replication system provides at present (including the ability to add new application servers). As far as I know, there is no Free Software solution for this. Isn't pgpool suitable for this? http://pgpool.projects.postgresql.org/ |
#6
| |||
| |||
|
|
Stefan Braumeister, on 09/10/2007 05:23 AM said: Laurenz Albe schrieb: Michael Trausch <"mike|s/\\x40/\\./g;s/|.*|/\\x40/g;|trausch"@us> wrote: I would need to be able to put forth a replication solution that is somewhat simple to maintain, as well as able to deal with unexpected failovers and have what amounts to essentially a dual-master server configuration, where the servers are each masters and slaves of each other in terms of replication. So, what I need to know is whether or not there is a replication system for PostgreSQL that would match what the MySQL server's replication system provides at present (including the ability to add new application servers). As far as I know, there is no Free Software solution for this. Isn't pgpool suitable for this? http://pgpool.projects.postgresql.org/ It doesn't look like it would be; diaster recovery is manual and requires downtime from the live database, which isn't an option in this situation. |
|
Other than this one blockage, PostgreSQL is perfect. I've used it many times in the past on smaller projects that didn't need to be distributed geographically, and everything was happy. Perhaps something will come out of the woodwork on this at some point? Are there any projects in progress that seek to achieve this, or is PostgreSQL itself looking at adding replication to the database server itself maybe in the future? -- Mike |
#7
| |||
| |||
|
|
Perhaps something will come out of the woodwork on this at some point? Are there any projects in progress that seek to achieve this, or is PostgreSQL itself looking at adding replication to the database server itself maybe in the future? |
#8
| |||
| |||
|
|
I thought Slony was the standard replication product for PG: http://main.slony.info/ It's mentioned all over the PG boards. |
#9
| |||
| |||
|
|
Stefan Braumeister wrote: Perhaps something will come out of the woodwork on this at some point? Are there any projects in progress that seek to achieve this, or is PostgreSQL itself looking at adding replication to the database server itself maybe in the future? I thought Slony was the standard replication product for PG: http://main.slony.info/ It's mentioned all over the PG boards. |
![]() |
| Thread Tools | |
| Display Modes | |
| |