Re: Slony v. DBMirror

Поиск
Список
Период
Сортировка
От Jeff -
Тема Re: Slony v. DBMirror
Дата
Msg-id BBB853EE-C3BA-49DD-8DB8-BA3AD69C2768@torgo.978.org
обсуждение исходный текст
Ответ на Re: Slony v. DBMirror  (Grant McLean <grant@catalyst.net.nz>)
Ответы Re: Slony v. DBMirror  (Andrew Sullivan <ajs@crankycanuck.ca>)
Список pgsql-general
On May 5, 2005, at 5:03 PM, Grant McLean wrote:
>
> Why would you need to take anything down to run pg_dump?  And surely
> bringing a slave up to speed using Slony would be much slower than
> dump/restore?
>

You'd need to stop client access to PG to prevent changes from
occuring between when you take the dump & when you restore on the
slave and hten fire up dbmirror.  Although it might work if you
install the dbmirror triggers, then dump & restore.

Slony uses the COPY interface to read/load data.  This is the same
method used by pg_dump so the only throttle will be the network.

--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/





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

Предыдущее
От: Vidya
Дата:
Сообщение: Cursor problem
Следующее
От: Nageshwar Rao
Дата:
Сообщение: Extracting date from timestamp