Re: Doubt on pgbouncer

Поиск
Список
Период
Сортировка
От Ben Chobot
Тема Re: Doubt on pgbouncer
Дата
Msg-id a869189f-37bd-d12e-f3b6-de988a88719e@silentmedia.com
обсуждение исходный текст
Ответ на Doubt on pgbouncer  (Rama Krishnan <raghuldrag@gmail.com>)
Ответы Re: Doubt on pgbouncer  (Rama Krishnan <raghuldrag@gmail.com>)
Список pgsql-general
Rama Krishnan wrote on 7/3/21 8:35 AM:

Hi Team,

How can I split read and write queries using pgbouncer

You do it with your application. Make a pgbouncer database for read/write queries and point it at your postgresql primary, and then make a second pgbouncer database for read-only queries and point it at a replica. Have your application connect to the proper database, depending upon its needs.

It's not transparent, but it is effective.

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

Предыдущее
От: Rama Krishnan
Дата:
Сообщение: Re: Doubt on pgbouncer
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Overlapping timestamptz ranges with priority