pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: weigelt@metux.de
To: pgsql-admin@postgresql.org
Subject: Re: replication/redundancy
Date: Mon, 30 Jun 2003 18:17:04 +0200
Message-ID: <20030630161704.GG6956@metux.de> (raw)
In-Reply-To: <200306300831.10498.jgardner@jonathangardner.net>
References: <DBEIKNMKGOBGNDHAAKGNIEJABNAC.dave@hawk-systems.com>
	<20030628214232.GA9075@metux.de>
	<3EFEA338.7000307@schlichting.net>
	<200306300831.10498.jgardner@jonathangardner.net>

On Mon, Jun 30, 2003 at 08:31:09AM -0700, Jonathan Gardner wrote:

<snip>
> The really cool thing about pgreplication will be that it is 
> hot-swappable. If one of the servers goes down, the whole thing will 
> still work. You can also add databases to the system on-the-fly. 
> That way, you can always keep one (or two or three) extra stand-by databases.

This is also provided by my system, but with some strict limitations:

* all tables must have the same first three fields: inode_id, mtime, attr
  (im using inherited tables, perhaps thats not needed)
* on each write operation, the mtime field must be set accurately
  (im currently not using an rule, since i dont know if there's an 
  way to disabled this within an query -- perhaps someone can help here)
* currently only an explicit sync-out is supported - from time to time
  evry table has to be scanned for new records
* currently no real conflict handling

perhaps we can improve this a little bit.

cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux ITS 
 Webhosting ab 5 EUR/Monat.          UUCP, rawIP und vieles mehr.

 phone:     +49 36207 519931         www:       http://www.metux.de/     
 fax:       +49 36207 519932         email:     contact@metux.de
 cellphone: +49 174 7066481	     smsgate:   sms.weigelt@metux.de
---------------------------------------------------------------------
 Diese Mail wurde mit UUCP versandt.      http://www.metux.de/uucp/



view thread (7+ messages)  latest in thread

Message-ID: <20030630161704.GG6956@metux.de>
Permalink:  ../20030630161704.GG6956@metux.de/
Also on:    postgresql.org/message-id/20030630161704.GG6956@metux.de

 · 

reply

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: weigelt@metux.de
  Subject: Re: replication/redundancy
  In-Reply-To: <20030630161704.GG6956@metux.de>
  References: <DBEIKNMKGOBGNDHAAKGNIEJABNAC.dave@hawk-systems.com> <20030628214232.GA9075@metux.de> <3EFEA338.7000307@schlichting.net> <200306300831.10498.jgardner@jonathangardner.net> <20030630161704.GG6956@metux.de>

* 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