Re: Recommendations for a datasync scenario ?

From: Jorge Godoy <jgodoy(at)gmail(dot)com>
To: aarni(at)kymi(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Recommendations for a datasync scenario ?
Date: 2007-12-03 00:27:26
Message-ID: 200712022227.27347.jgodoy@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Em Friday 30 November 2007 05:02:25 Aarni Ruuhimäki escreveu:
>
> I followed the recent thread about 'replication in Postgres' but still any
> info on experience of similar circumstances and pointers / comments /
> recommendations are more than welcome.

You problem is not one where replication would help so much. You can design
your solution so that you *always* feed a local database and this local
database syncs, from time to time, with a central database.

What to use for syncs? Some script you can write easily.

All entries should have the location as part of their PK, so that there are no
clashes and you don't need to rely on sequences and the correct value being
used everywhere.

It is the same kind of problem that we have on supermarkets and POSs: the POS
has to sell even if the connection with the server is down.

--
Jorge Godoy <jgodoy(at)gmail(dot)com>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dragan Zubac 2007-12-03 00:34:20 Re: [HACKERS] Stored procedure issue
Previous Message Harvey, Allan AC 2007-12-03 00:25:18 Re: PostgresSQL vs Ingress