Received: from mail.greatbridge.com (mail.greatbridge.com [65.196.68.36]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5CIVdE07561 for ; Tue, 12 Jun 2001 14:31:39 -0400 (EDT) (envelope-from djohnson@greatbridge.com) Received: from j2.us.greatbridge.com (djohnsonpc.us.greatbridge.com [65.196.69.70]) by mail.greatbridge.com (8.11.2/8.11.2) with SMTP id f5CIUfQ10080; Tue, 12 Jun 2001 14:30:41 -0400 From: Darren Johnson Date: Tue, 12 Jun 2001 18:29:20 GMT Message-ID: <20010612.18292000@j2.us.greatbridge.com> Subject: RE: AW: Postgres Replication To: "Mikheev, Vadim" CC: The Hermit Hacker , Zeugswetter Andreas SB , pgsql-hackers@postgresql.org Reply-To: Darren Johnson In-Reply-To: <3705826352029646A3E91C53F7189E32016670@sectorbase2.sectorbase.com> References: <3705826352029646A3E91C53F7189E32016670@sectorbase2.sectorbase.com> X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id f5CIVdE07562 X-Archive-Number: 200106/355 X-Sequence-Number: 9967 > > 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 you corectly). > Rserv transfers not individual modified data items but > *consistent* snapshot of changes to move slave database from > one *consistent* state (when all RI constraints satisfied) > to another *consistent* state. I thought Andreas did a good job of correcting me here. Transaction- based replication with triggers do not apply to points 1 and 4. I should have made a distinction between non-transaction and transaction based replication with triggers. I was not trying to single out rserv or any other project, and I can see how my wording implies this misinterpretation (my apologies). > > 4) The activation of triggers in a database cannot be easily > > rolled back or undone. > What do you mean? Once the trigger fires, it is not an easy task to abort that execution via rollback or undo. Again this is not an issue with a transaction-based trigger approach. Sincerely, Darren