Merge a sharded master into a single read-only slave

Поиск
Список
Период
Сортировка
От Sébastien Lorion
Тема Merge a sharded master into a single read-only slave
Дата
Msg-id CAGa5y0PmQdgTkYOutA=UyeCFpr0FHj7bEUmOrbigBCCY=0DXyg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Merge a sharded master into a single read-only slave
Список pgsql-general
I have a master database sharded by user_id, with globally unique IDs for everything, except shared configuration data stored in global tables (resources strings, system parameters, etc).

What would be the best (ie both fast and reliable, simple to maintain as a bonus) to merge all shards into a single read-only slave that will then be replicated and used for read queries ? I took a look at Londiste and repmgr, and can see some ways to accomplish that, but would appreciate the advice of people here.

Thank you,

Sébastien

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

Предыдущее
От: Jerry Sievers
Дата:
Сообщение: Re: Postgresql 9.2.4 - timezone error
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Backups over slave instead master?