pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedReplicating JDBC proxy
2+ messages / 2 participants
[nested] [flat]
* Replicating JDBC proxy
@ 2004-05-14 12:38 henk53 <henk53602@hotmail.com>
2004-05-21 11:13 ` Re: Replicating JDBC proxy Dave Cramer <pg@fastcrypt.com>
0 siblings, 1 reply; 2+ messages in thread
From: henk53602@hotmail.com @ 2004-05-14 12:38 UTC (permalink / raw)
To: pgsql-jdbc
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?
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Replicating JDBC proxy
2004-05-14 12:38 Replicating JDBC proxy henk53 <henk53602@hotmail.com>
@ 2004-05-21 11:13 ` Dave Cramer <pg@fastcrypt.com>
0 siblings, 0 replies; 2+ messages in thread
From: Dave Cramer @ 2004-05-21 11:13 UTC (permalink / raw)
To: henk53 <henk53602@hotmail.com>; +Cc: pgsql-jdbc
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-05-21 11:13 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-14 12:38 Replicating JDBC proxy henk53 <henk53602@hotmail.com>
2004-05-21 11:13 ` Dave Cramer <pg@fastcrypt.com>
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