Re: Splitting queries across servers

From: John Sidney-Woollett <johnsw(at)wardbrook(dot)com>
To: Max <maxdl(at)adelphia(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Splitting queries across servers
Date: 2005-01-26 19:57:34
Message-ID: 41F7F62E.5000402@wardbrook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

We configured a slony1 cluster with a master and slave (both 7.4.6), and
used the slave to serve read-only queries thereby offloading some of the
work from the master database.

This worked well for us.

You could also take a look at pg_pool to distribute your load - but I
haven't actually used it, so can't give any advice...

Hope that helps.

John Sidney-Woollett

Max wrote:
> Hello,
>
> Our postgresql database is getting too big to be handled by one server. We
> need the database to be in RAM and cannot afford swapping. At the moment,
> we're using only 3GB or RAM, however our business growth is going to drive
> this number into the double digits zone, maybe triple digits.
>
> What are our options ?
>
> I am a little bit ignorant in this part of RDBM. Can we distribute our
> tables across multiple servers (read server+postgres) and perform
> distributed SQL queries ? If so, how does that work ? I am totally
> resourceless!
>
> Thank you in advance
>
> Max.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-01-26 20:01:28 Re: Lower case
Previous Message Fabio Esposito 2005-01-26 19:51:57 Re: PostgreSQL 8.0 for RH AS