Re: Replication

Поиск
Список
Период
Сортировка
От Russ Brown
Тема Re: Replication
Дата
Msg-id 4326F406.7010402@gmail.com
обсуждение исходный текст
Ответ на Re: Replication  ("Simon Riggs" <simon@2ndquadrant.com>)
Ответы Re: Replication  (Csaba Nagy <nagy@ecircle-ag.com>)
Re: Replication  (Scott Marlowe <smarlowe@g2switchworks.com>)
Re: Replication  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-general
Simon Riggs wrote:
> Barry,
>
> You can use PITR to archive transaction logs to a second server that is
> kept in standby mode.
>
> This will cope with any number of tables and cope with dynamic changes
> to tables.
>
> This is fairly straightforward and very low overhead.
> Set archive_command to a program that transfers xlog files to second
> server.
> Then set restore_command on the second server to a program that loops
> until the next file is available.
> Switchover time is low.
>

Apologies for going slighly off topic, but isn't this basically how
MySQL does replication? I ask because one of the arguments against
moving to PostgreSQL in my organisation is 'no replication out of the
box'. But if the above is true it seems that all that is required are a
couple of scripts to handle log transfer and you have a form of
replication out of the box right there.

Or am I missing something?

--

Russ

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Replication
Следующее
От: Csaba Nagy
Дата:
Сообщение: Re: Replication