Re: PostgreSQL, clusters and load-balance

From: Rodrigo Gonzalez <rjgonzale(at)gmail(dot)com>
To: Bill Wordsworth <bill(dot)wordsworth(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL, clusters and load-balance
Date: 2008-03-25 20:31:41
Message-ID: 47E9612D.3090103@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bill Wordsworth escribió:
> On Tue, Mar 25, 2008 at 2:24 PM, Thomas Kellerer <spam_eater(at)gmx(dot)net
> <mailto:spam_eater(at)gmx(dot)net>> wrote:
>
> Bill Wordsworth wrote on 25.03.2008 19:16:
> > When traffic goes up, my webserver creates multiple instances of
> > postgresql.exe. At some basic level, aren't they similar to
> Oracle's RAC
> > "clusters", except that they are not aware of each other?
>
> No, absolutely not. Each client request is handled by a single
> postgres process
> which is spawned by the postmaster upon connection.
>
>
> Thanks Joshua and Thomas. I guess my ignorance is showing :). Anyway,
> is this spawning being done by postmaster or webserver or both? If
> postmaster, does an application-level persistent connection request
> communicate itself directly to the postmaster, and can the
> postmaster keep track of its spawning?
>
> Also, at some crude level, if I were to direct every alternate
> connection to a different install box of postgresql, won't that help
> with *some* load-balance?
> Cheers, Bill
I dont know the first answer, but maybe you are needing pgpool, check
it, I think that is what you are needing...

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2008-03-25 20:33:38 Re: PostgreSQL, clusters and load-balance
Previous Message Andrej Ricnik-Bay 2008-03-25 20:28:50 Re: Need help to migrate pqSQL db 8.0.3 to 8.2.6