pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
DBMirror - Replicating binary objects of type bytea ?
2+ messages / 2 participants
[nested] [flat]

* DBMirror - Replicating binary objects of type bytea ?
@ 2003-08-20 15:34 VanderLeeden <vanderleeden@logicunited.com>
  2003-08-21 14:53 ` Re: DBMirror - Replicating binary objects of type bytea ? Andrew Sullivan <andrew@libertyrms.info>
  0 siblings, 1 reply; 2+ messages in thread

From: VanderLeeden @ 2003-08-20 15:34 UTC (permalink / raw)
  To: pgsql-admin; +Cc: VanderLeeden <vanderleeden@t-online.de>

Anyone has a clue of why the replication using DBMirror (PostgreSQL 7.3.4) 
does not replicate correctly if the primary key is of type "bytea" ?
Error message from  DBMirror.pl  is e.g.   ERROR:  Cannot insert a duplicate key into unique index payment_pkey

Second question:  Is a "manual" failover setup possible and recommended using DBMirror?
Any experiences out there?

Thanks,
Rudolf VanderLeeden

Logic United GmbH, Munich, Germany
Phone +4980-249-2933
www.logicunited.com

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: DBMirror - Replicating binary objects of type bytea ?
  2003-08-20 15:34 DBMirror - Replicating binary objects of type bytea ? VanderLeeden <vanderleeden@logicunited.com>
@ 2003-08-21 14:53 ` Andrew Sullivan <andrew@libertyrms.info>
  0 siblings, 0 replies; 2+ messages in thread

From: Andrew Sullivan @ 2003-08-21 14:53 UTC (permalink / raw)
  To: pgsql-admin

On Wed, Aug 20, 2003 at 05:34:26PM +0200, VanderLeeden wrote:
> Second question:  Is a "manual" failover setup possible and
> recommended using DBMirror?

I haven't used dbmirror, but I would never[1] fail over automatically
from an asynchronous system.

Some suggestions on fail over:

1.	Make sure your sequences are up to date.  This is the sort of
thing you need to build a script for in advance.

2.	It's good to have a policy about how much data you can afford
to lose.  If the answer is, "none", you need to invest in some very
expensive hardware.

A
-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-08-21 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-08-20 15:34 DBMirror - Replicating binary objects of type bytea ? VanderLeeden <vanderleeden@logicunited.com>
2003-08-21 14:53 ` Andrew Sullivan <andrew@libertyrms.info>

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