Re: FDW, connections, master v replica

Поиск
Список
Период
Сортировка
От Vijaykumar Jain
Тема Re: FDW, connections, master v replica
Дата
Msg-id CAM+6J95R6OT0pG-a39U7dPqLXtfKrLcxgcnuTi+Nxa8Hq1BgwQ@mail.gmail.com
обсуждение исходный текст
Ответ на FDW, connections, master v replica  ("Godfrin, Philippe E" <philippe.godfrin@nov.com>)
Список pgsql-admin
I guess we do not have any mechanism or proxy that parses query to redirect it to master or replica.
I was playing with crunchy proxy and read that if the application can provide *read hints*, it would redirect those queries to read replicas, else all go to primary.


On Tue, May 18, 2021, 7:28 PM Godfrin, Philippe E <philippe.godfrin@nov.com> wrote:

Greetings,

Does anyone know of a method to define a foreign server to point to a patroni cluster of 2 postgres cluster instances and be able to select between the master for RW and the replica for RO?

Thanks,

pg

 

Phil Godfrin | Database Administrator

NOV

NOV US | Engineering Data

9720 Beechnut St | Houston, Texas 77036

M  281.825.2311

E   Philippe.Godfrin@nov.com

 

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

Предыдущее
От: "Godfrin, Philippe E"
Дата:
Сообщение: FDW, connections, master v replica
Следующее
От: "Godfrin, Philippe E"
Дата:
Сообщение: RE: [EXTERNAL] Re: FDW, connections, master v replica