Re: Mirroring databases in v8

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Mirroring databases in v8
Дата
Msg-id 25460.1097071576@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Mirroring databases in v8  (Glen Eustace <geustace@godzone.net.nz>)
Ответы Re: Mirroring databases in v8  (Glen Eustace <geustace@godzone.net.nz>)
Список pgsql-general
Glen Eustace <geustace@godzone.net.nz> writes:
> Having read this, it would seem I might be jumping the gun a bit.  The
> method given could be used to copy a running database to another system
> but I'm not sure how it would work if the mirrored database is required
> to be online at the same time.

It wouldn't.  You can have a "hot spare" database via log shipping, but
there is zero chance of allowing the backup to run any independent
transactions.  (If it did, its xact counter and pg_clog would get out of
sync with the master, causing all subsequently copied data to be
invalid.  AFAICS, even read-only transactions would be problematic.)

Not sure if you are familiar with the Slony project, but that is
probably your best bet for data propagation to a live slave at present.

            regards, tom lane

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

Предыдущее
От: Justin Wyer
Дата:
Сообщение: two digit years in inserts
Следующее
От: pginfo
Дата:
Сообщение: Re: lower/upper support and cyrillic