pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adile Abbadi <adile@minitdrugs.com>
To: m <postgres@markreid.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: Load Balancing/Multiple Postgres Machines
Date: Tue, 30 Nov 2004 14:26:51 -0700
Message-ID: <NDEDLIMJNEEMMAFHLEEGGEECCJAA.adile@minitdrugs.com> (raw)
In-Reply-To: <41ACC41B.3050206@markreid.org>

Thanx a ton - I will look into it when I get a moment.

Cheers

Adile


-----Original Message-----
From: m [mailto:postgres@markreid.org]
Sent: November 30, 2004 12:04 PM
To: Adile Abbadi
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Load Balancing/Multiple Postgres Machines


Adile Abbadi wrote:

> Hi all,
>  
> Not sure if this has been asked before - it probably has been - but I 
> figure its probably just easier if I ask so my question is this:
>  
> How easy is it - or rather is it possible to create multiple instances 
> of the same db on multiple machines?
>  
> We are currently running a very highly used postgres db (Ver 7.2) that 
> eats up a lot of cpu time when its heavily used. We recently bought 
> some very powerful equipment to accommodate this high use, (currently 
> its on a single CPU, 1GB of Ram SCSI server - upgraded to a dual CPU, 
> 4GB of ram SCSI server) but my fear is over time this issue is going 
> to haunt me again and hardware can only be upgraded so much.
>  
> So is it possible to do some level of load balancing in postgres - I 
> would love a situation where I could have multiple machines running 
> multiple instances of the same db (that are all synced in real-time), 
> where there is some smart level of load balancing happening.
>  
> So if it is possible is there some instruction info out there to help 
> me along my way. Any help or insight would be greatly appreciated.
>  
> All the best
>  
> Adile
>  

Hello,

I read an interesting paper on this a while ago, you can find it here:
http://www.cnds.jhu.edu/pub/papers/cnds-2003-3.pdf

It's called "On the Performance of Consistent Wide-Area Database 
Replication", and presents an analysis of a Postgres-based replication 
system.

Unfortunately, the implementation wasn't made available, but the ideas 
may be worth investigating for someone with more free time than myself.

-Mark.
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.801 / Virus Database: 544 - Release Date: 11/24/04

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.801 / Virus Database: 544 - Release Date: 11/24/04




view thread (11+ messages)  latest in thread

Message-ID: <NDEDLIMJNEEMMAFHLEEGGEECCJAA.adile@minitdrugs.com>
Permalink:  ../NDEDLIMJNEEMMAFHLEEGGEECCJAA.adile@minitdrugs.com/
Also on:    postgresql.org/message-id/NDEDLIMJNEEMMAFHLEEGGEECCJAA.adile@minitdrugs.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 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: adile@minitdrugs.com, postgres@markreid.org
  Subject: Re: Load Balancing/Multiple Postgres Machines
  In-Reply-To: <NDEDLIMJNEEMMAFHLEEGGEECCJAA.adile@minitdrugs.com>
  References: <41ACC41B.3050206@markreid.org> <NDEDLIMJNEEMMAFHLEEGGEECCJAA.adile@minitdrugs.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