Re: Pgpool questions

Поиск
Список
Период
Сортировка
Искать
От
Joshua D. Drake
Тема
Re: Pgpool questions
Дата
Msg-id
426A6B9E.6060005@commandprompt.com
Ответ на
Pgpool questions (Brian Maguire)
Список
Дерево обсуждения
Pgpool questions "Brian Maguire" <bmaguire@vantage.com>
Re: Pgpool questions Tatsuo Ishii <t-ishii@sra.co.jp>
Re: Pgpool questions Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: Pgpool questions Scott Marlowe <smarlowe@g2switchworks.com>
Re: Pgpool questions Tatsuo Ishii <t-ishii@sra.co.jp>
Re: Pgpool questions "Joshua D. Drake" <jd@commandprompt.com>
Re: Pgpool questions Alvaro Herrera <alvherre@dcc.uchile.cl>
Brian Maguire wrote:
> I have a couple Pgpool questions regarding running pgpool as a load balancer with Sony as the replicator.
> 
>  
> 
> Is there anyway to load balance selects to more than 2 servers? ex.  1 master with 2 slaves?  Run multiple instances?

My understanding is that if you turn on the load balancing it will 
automatically do so for all servers.

> 
> Is there any way to tell a select (ex. with a function) to go only the master and not the slave?

Run it in a transaction with BEGIN;

> 
> Is there any way to tell a select query to only go to the slave?  

That i don't know.

Sincerely,

Joshua D. Drake
Command Prompt, Inc.

> 
>  
> 
> Thanks
> 
>  
> 
>  
> 
> 
> ---------------------------(end of broadcast)---------------------------TIP 5: Have you checked our extensive FAQ?
>                http://www.postgresql.org/docs/faq

В списке pgsql-general по дате отправления
От: Thomas F.O'Connell
Дата:
От: Joshua D. Drake
Дата:
Сообщение: Re: PRIMARY KEY and indexes
FAQ