From: Jean-Christophe ARNU (JX) <jc.arnu@free.fr>
To: pgsql-admin@postgresql.org
Subject: mirorring databases with small time gaps
Date: Mon, 25 Feb 2002 03:21:25 -0500
Message-ID: <20020225032125.6c073677.jc.arnu@free.fr> (raw)
Hi all pg admins,
here is the problem we're encountering now. We've got a pgsql database server, logging informations (such as alarms, week-events and so on) for a measure system. This database is mainly fed by a collect daemon which inserts/update values in tables and generates alarms (inserts).
The alarms are ack'ed by differents programs (Java though JDBC or python).
The problem is that this database server only holds 7 days datas then drop then.
A second server with more disk space, is running pg and measure and generated alarms are "inserted" into its tables by the daemon (duplicating inserts).
The problem, is that we would like to avoid to modify each client program which updates alarms (for acknoledgement) but we would like to sync 7 days database with the bigger one.
The constraint is that data difference time gap should be reduced under 5 minutes.
So I wondered if replication server will work (but we should replicate only update/inserts not delete from the 7 days to bigger database). What about the server load with such a replication?
Is there a trivial way to "log & replicate" insert/update on a given table? Do we have to modify all the client application in order to make them ack alarms in 7 days database and in bigger one also?
By advance, thank you.
--
Jean-Christophe ARNU
s/w developer
Paratronic France
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-admin@postgresql.org
Cc: jc.arnu@free.fr
Subject: Re: mirorring databases with small time gaps
In-Reply-To: <20020225032125.6c073677.jc.arnu@free.fr>
References: <20020225032125.6c073677.jc.arnu@free.fr>
* 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