Re: dbmirror revisions

From: nolan(at)celery(dot)tssi(dot)com
To: pgsql-general(at)postgresql(dot)org (pgsql list)
Subject: Re: dbmirror revisions
Date: 2003-04-04 22:41:05
Message-ID: 20030404224105.29281.qmail@celery.tssi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I think a consistent view on the slave during active replication is not
> quite guaranteed with this approach. Sequence updates are not
> transactional, we really don't know how to order them with respect to tuple
> updates. So someone reading the slave DB might possibly not see sequence
> changes appear in the order in which they occurred on the master. For our
> warm spare/slave needs, it appears adequate.

Aside from problems dealing with the loss of the communications link,
wouldn't it be better to implement a function call from the slave(s) to
the master to query the master's sequence? This can be done with pgperlu.

If there are INDEPENDENT sequences on the master and the slave, what's to
guarantee uniqueness?
--
Mike Nolan

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Stover 2003-04-04 22:46:32 vacuum by non-owner
Previous Message Tom Lane 2003-04-04 22:40:26 Re: Getting consecutive sequence values