Re: PostgreSQL, clusters and load-balance

Поиск
Список
Период
Сортировка
От Bill Wordsworth
Тема Re: PostgreSQL, clusters and load-balance
Дата
Msg-id 1e07a2bd0803251304q23a1b18ar412017dca4f6654d@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PostgreSQL, clusters and load-balance  (Thomas Kellerer <spam_eater@gmx.net>)
Ответы Re: PostgreSQL, clusters and load-balance
Re: PostgreSQL, clusters and load-balance
Re: PostgreSQL, clusters and load-balance
Список pgsql-general
On Tue, Mar 25, 2008 at 2:24 PM, Thomas Kellerer <spam_eater@gmx.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Charles Simard
Дата:
Сообщение: Re: Converting mysql "on update" to postgres "rule"
Следующее
От: Keaton Adams
Дата:
Сообщение: PostgreSQL Replication with read-only access to standby DB