better architecture?

Поиск
Список
Период
Сортировка
От zach cruise
Тема better architecture?
Дата
Msg-id CAL8icXwKyF3SiM+k+LCELqKmoQYYya9eNZPLNt-j7B1a_7qWzA@mail.gmail.com
обсуждение исходный текст
Ответы Re: better architecture?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
i need some advice:

1. for our small business, i have a master (dev) - slave (prod) setup.
i develop using the master. i get data from other people's dev (mssql) databases. i also get data from their prod (mssql) databases. i replicate everything on slave.

apps using the master can connect only to dev databases, and apps using the slave can connect only to prod databases. so when it's time to go from dev to prod, i simply change that connection. no restart.

comments?

2. what happens if master-slave are rebooted at different times?

3. i also need to auto-promote slave to master if master fails (without using repmgr or postgres-r or even postgres-xl). how?


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

Предыдущее
От: John Smith
Дата:
Сообщение: Re: how to delay sync by a set time, hour or day?
Следующее
От: Sameer Kumar
Дата:
Сообщение: Re: how to delay sync by a set time, hour or day?