pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: henk53 <henk53602@hotmail.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Replicating JDBC proxy
Date: Fri, 21 May 2004 07:13:34 -0400
Message-ID: <1085138014.1591.23.camel@localhost.localdomain> (raw)
In-Reply-To: <135a85f7.0405140438.7837b73c@posting.google.com>
References: <135a85f7.0405140438.7837b73c@posting.google.com>

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




view thread (2+ messages)

Message-ID: <1085138014.1591.23.camel@localhost.localdomain>
Permalink:  ../1085138014.1591.23.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1085138014.1591.23.camel@localhost.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pg@fastcrypt.com, henk53602@hotmail.com
  Subject: Re: Replicating JDBC proxy
  In-Reply-To: <1085138014.1591.23.camel@localhost.localdomain>
  References: <135a85f7.0405140438.7837b73c@posting.google.com> <1085138014.1591.23.camel@localhost.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox