pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael A Nachbaur <mike@nachbaur.com>
To: pgsql-sql@postgresql.org
Subject: Replication for a large database
Date: Mon, 5 May 2003 09:52:33 -0700
Message-ID: <200305050952.33688.mike@nachbaur.com> (raw)

Hello all,

I apologize if this has already been covered in the past, but I couldn't seem 
to find an adequate solution to my problem in the archives.

I have a database that is used for a bandwidth tracking system at a broadband 
ISP.  To make a long story short, I'm inserting over 800,000 records per day 
into this database.  Suffice to say, the uptime of this database is of 
paramount importance, so I would like to have a more up-to-date backup copy 
of my database in the event of a failure (more recent than my twice-per-day 
db_dump backup).

I have two servers, both Dual Xeon-2G with 4G of RAM, and would like to 
replicate between the two.  I would like to have "live" replication, but I 
couldn't seem to find a solution for that for PostgreSQL.  I tried RServ but, 
after attempting it, I saw a mailing list posting saying that it is 
more-or-less useless for databases that have a large number of inserts (like 
mine).

When I perform a replication after a batch of data is inserted, the query runs 
literally for hours before it returns.  I have never actually been present 
during the whole replication duration since it takes longer than my 8-12 hour 
days here at work.

Is there any replication solution that would fit my needs?  I'm taking 
advantage of some PG7.2 features so "downgrading" to the 6.x version of 
postgres that has replication support isn't an option.

Thanks.

--man




view thread (7+ messages)  latest in thread

Message-ID: <200305050952.33688.mike@nachbaur.com>
Permalink:  ../200305050952.33688.mike@nachbaur.com/
Also on:    postgresql.org/message-id/200305050952.33688.mike@nachbaur.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mike@nachbaur.com
  Subject: Re: Replication for a large database
  In-Reply-To: <200305050952.33688.mike@nachbaur.com>

* 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