X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 72D32D1B297 for ; Fri, 21 May 2004 08:13:56 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 05192-08 for ; Fri, 21 May 2004 08:13:36 -0300 (ADT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 56589D1B18A for ; Fri, 21 May 2004 08:13:33 -0300 (ADT) Received: (qmail 9474 invoked from network); 21 May 2004 11:13:34 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 21 May 2004 11:13:34 -0000 Subject: Re: Replicating JDBC proxy From: Dave Cramer Reply-To: pg@fastcrypt.com To: henk53 Cc: "pgsql-jdbc@postgresql.org" In-Reply-To: <135a85f7.0405140438.7837b73c@posting.google.com> References: <135a85f7.0405140438.7837b73c@posting.google.com> Content-Type: text/plain Organization: Cramer Consulting Message-Id: <1085138014.1591.23.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 21 May 2004 07:13:34 -0400 Content-Transfer-Encoding: 7bit X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/147 X-Sequence-Number: 10157 check out c-jdbc http://c-jdbc.objectweb.org/ It does all you want and more.. Dave On Fri, 2004-05-14 at 08:38, henk53 wrote: > I would like to have a constantly updated copy of my DB. In order to > realize this I have though of the following scheme: > > A server is equiped with 3 NICs and is running a special 'proxy' JDBC > implementation. > The only thing this JDBC proxy does is: > > 1) Forwarding every update request on both ports. On each port a > server is running a JDBC compliant DB (in my case, postgresql) > > 2) Forwarding every select request on only 1 port. > > Theoretically, this would give me a total synchronized DB, wouldn't > it? However, this sounds relative simple to implement. I've seen a > couple of replication efforts undertaken for postgresql that seems to > take forever to finish. > > Am I overlooking something? > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match > > > > !DSPAM:40ad9632179968186840688! > > -- Dave Cramer 519 939 0336 ICQ # 14675561