Re: Load sharing question

From: "Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Load sharing question
Date: 2002-09-09 20:22:08
Message-ID: 73309C2FDD95D11192E60008C7B1D5BB04C73EE1@snt452.corp.bcbsm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

-- Thanks for the response.

-- Right now, all I want to do is some load balancing ( I'm
-- sorry ... I should have said this instead of sharing)
-- techniques (reviewing MOSIX docs http://www.mosix.cs.huji.ac.il/)
-- for PostgreSQL. I just want to spread the workload
-- from one machine to multiple machines and *not* run
-- duplicate versions of the database.

-- I must say, however, that Postgres-R sounds very interesting.

-X

On Mon, Sep 09, 2002 at 12:09:55PM -0400, Johnson, Shaunn wrote:
> Howdy:
>
> Running RedHat Linux 2.4.7-10 and PostgreSQL 7.2.1
> on an Intel box.
>
> Has anyone configured their machines to do load sharing
> (and to a greater extent, clustering) for PostgreSQL?

What, exactly, are you thinking of doing here? Is this "make a copy
of the database and use it for read-only queries?" In that case,
it's easy: use one of the myriad replication packages and catch
inbound SELECTs with your client; then just redirect them. Do 'whois
afilais.info' for a working example of exactly this.

If what you mean is sharing the read and write load across two
database machines, you can't really do that right now. When
Postgres-R is finished, it should be possible. But it isn't right
now.

A
--

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-09-09 20:37:07 Re: Creating tons of tables to support a query
Previous Message Tom Lane 2002-09-09 20:19:18 Re: Performance Tuning Question