Re: FAQ: Current state of replication ?

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: FAQ: Current state of replication ?
Дата
Msg-id 3AB6F038.ED6D7CF4@alumni.caltech.edu
обсуждение исходный текст
Ответ на FAQ: Current state of replication ?  ("Peter Galbavy" <peter.galbavy@knowledge.com>)
Ответы Re: Re: FAQ: Current state of replication ?  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-hackers
> What is the current state-of-the-art WRT replication of any sort ? If anyone
> has homebrew solutions that they can share, we would welcome tyring too.

There is some code in contrib/rserv for 7.1 which does table
replication. It has some restrictions, but does implement the basic
concept. I think a tarball to do the same for 7.0 and earlier is
available at www.pgsql.com (just Makefile differences).

We are currently working through the issues involved with multi-slave
replication and the ramifications for failover to (one of) the slaves.
It looks like the rserv code may assume too much independence between
slaves and replication sync information, and failover may be
not-quite-right in those cases.

Will be posting to the list when we know the answer (though
contributions and inputs are of course always welcome!). afaict changes
in rserv schema, if necessary, will not be available for 7.1, but we'll
be posting patches and updating the CVS tree.

btw, it looks like TODO.detail/replication predates the replication
implementation, and has no real relationship with the implementation.
There is some thought that WAL/BAR features can help support replication
at a different level than is done now, but that is work for the future
afaik.
                        - Thomas


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Patch application
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: src/test/regress/README duplicates SGML material