Re: AW: AW: AW: [HACKERS] Postgres Replication

2001-06-13 Thread Darren Johnson
> > - only full replication possible > I do not understand that point, if it is trigger based, you > have all the flexibility you need. (only some tables, only some rows, > different rows to different targets ), > (or do you mean not all targets, that could also be achieved with triggers)

AW: AW: AW: [HACKERS] Postgres Replication

2001-06-13 Thread Zeugswetter Andreas SB
> Well as I read back the thread I see 2 different approaches to > replication: > > 1: tight integrated replication. > pro: > - bi-directional (or multidirectional): updates are possible everywhere > - A cluster of servers allways has the same state. > - it does not matter to which server you

Re: AW: AW: [HACKERS] Postgres Replication

2001-06-12 Thread Tom Lane
[EMAIL PROTECTED] (Reinoud van Leeuwen) writes: > Well as I read back the thread I see 2 different approaches to > replication: > ... > I can think of some scenarios where I would definitely want to > *choose* one of the options. Yes. IIRC, it looks to be possible to support a form of async repl

Re: AW: AW: [HACKERS] Postgres Replication

2001-06-12 Thread Reinoud van Leeuwen
On Tue, 12 Jun 2001 15:50:09 +0200, you wrote: > >> Here are some disadvantages to using a "trigger based" approach: >> >> 1) Triggers simply transfer individual data items when they >> are modified, they do not keep track of transactions. >> 2) The execution of triggers within a database impos

RE: AW: [HACKERS] Postgres Replication

2001-06-12 Thread Mikheev, Vadim
> Here are some disadvantages to using a "trigger based" approach: > > 1) Triggers simply transfer individual data items when they > are modified, they do not keep track of transactions. I don't know about other *async* replication engines but Rserv keeps track of transactions (if I understood

RE: AW: [HACKERS] Postgres Replication

2001-06-12 Thread Darren Johnson
> > Here are some disadvantages to using a "trigger based" approach: > > > > 1) Triggers simply transfer individual data items when they > > are modified, they do not keep track of transactions. > I don't know about other *async* replication engines but Rserv > keeps track of transactions (if I

Re: [Fwd: AW: [HACKERS] Postgres Replication]

2001-06-12 Thread Eric C. Newton
> > I would be very interested in hearing about your experiences with > > this... Well, Eric thinks it works just spiffy. 8-) Recall is written in C++, and is meant to be extensible. It was extended for perl and the DBI layer. Note that this hack for perl is not perfect, especially in the

Re: AW: AW: [HACKERS] Postgres Replication

2001-06-12 Thread Darren Johnson
> Imho an implementation that opens a separate client connection to the > replication target is only suited for async replication, and for that a WAL > based solution would probably impose less overhead. Yes there is significant overhead with opening a connection to a client, so Postgres-R c

Re: AW: [HACKERS] Postgres Replication

2001-06-12 Thread root
Hello I have hacked up a replication layer for Perl code accessing a database throught the DBI interface. It works pretty well with MySQL (I can run pre-bender slashcode replicated, haven't tried the more recent releases). Potentially this hack should also work with Pg but I haven't tried yet.

AW: AW: [HACKERS] Postgres Replication

2001-06-12 Thread Zeugswetter Andreas SB
> Here are some disadvantages to using a "trigger based" approach: > > 1) Triggers simply transfer individual data items when they > are modified, they do not keep track of transactions. > 2) The execution of triggers within a database imposes a performance > overhead to that database. > 3) Tr

Re: AW: [HACKERS] Postgres Replication

2001-06-12 Thread Darren Johnson
> which I believe is what the rserv implementation in contrib currently does > ... no? We tried rserv, PG Link (Joseph Conway), and PosrgreSQL Replicator. All these projects are trigger based asynchronous replication. They all have some advantages over the current functionality of Postgres-R

Re: AW: [HACKERS] Postgres Replication

2001-06-12 Thread The Hermit Hacker
which I believe is what the rserv implementation in contrib currently does ... no? its funny ... what is in contrib right now was developed in a weekend by Vadim, put in contrib, yet nobody has either used it *or* seen fit to submit patches to improve it ... ? On Tue, 12 Jun 2001, Zeugswetter A

AW: [HACKERS] Postgres Replication

2001-06-11 Thread Zeugswetter Andreas SB
> Although > Postgres-R is a synchronous approach, I believe it is the closest to > the goal mentioned above. Here is an abstract of the advantages. If you only want synchronous replication, why not simply use triggers ? All you would then need is remote query access and two phase commit, and