Re: Load Balancing and Backup

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: CS Wagner <wagnercs(at)musc(dot)edu>
Cc: <postgres-general(at)postgresql(dot)org>, "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Load Balancing and Backup
Date: 2004-05-05 17:58:09
Message-ID: Pine.LNX.4.33.0405051158040.1910-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 30 Apr 2004, CS Wagner wrote:

> I assume this issue has been solved repeatedly, but I cannot find any
> information on it...
>
> I have a website that runs reports on data from a postgres database. An
> average report takes about 10 minutes. I'd like to load balance it so I
> can have multiple people run reports without causing the login request
> to take forever. Also, it is rather important that data updated in the
> database be updated on all mirrors of it immediately - not with an
> hourly or daily update.
>
> What I would most desire is a program that pretends to be a postgres
> server. I can log into it with psql, a jdbc driver, or php's
> pg_connect. When I do a select (no update) command, it will send that
> off to the least loaded mirror. When I do an update/insert/delete, it
> hits all the mirrors. Also, it can designate one database (most likely
> local to this pretend server) as the master so I can easily clone it to
> make more mirrors.
>
> Does anything remotely similar to that exist?

http://sqlrelay.sourceforge.net/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Uwe C. Schroeder 2004-05-05 18:00:06 Re: Verhindern, dass im Mehrbenutzerbetrieb mit veralteten Daten gearbteitet wird
Previous Message Tom Lane 2004-05-05 17:56:41 Re: vacuumdb is failing with NUMBER OF INDEX TUPLES NOT THE SAME AS HEAP