Re: PostgreSQL clustering (shared disk)

Поиск
Список
Период
Сортировка
От Douglas McNaught
Тема Re: PostgreSQL clustering (shared disk)
Дата
Msg-id 87sl6jtuzj.fsf@suzuka.mcnaught.org
обсуждение исходный текст
Ответ на Re: PostgreSQL clustering (shared disk)  (Devrim GÜNDÜZ <devrim@CommandPrompt.com>)
Ответы Re: PostgreSQL clustering (shared disk)
Список pgsql-general
Devrim GÜNDÜZ <devrim@CommandPrompt.com> writes:

>> What I'm pondering here is that is the cluster able to keep the
>> postmasters synchronized at all times so that the database won't get
>> corrupted.
>
> Keep all the $PGDATA in the shared disk. That would minimize data loss
> (Of course, there is still a risk of data loss -- the postmasters are
> not aware of each other and they don't share each other's buffers, etc.)

It would be much better to have the cluster software only run one
postmaster at a time, starting up the secondary if the primary fails.
That's the usual practice with shared storage.

-Doug

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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: how to get id of currently executed query?
Следующее
От: Erik Jones
Дата:
Сообщение: Re: SELECT ... FOR UPDATE performance costs? alternatives?