Re: Request for replication advice

Поиск
Список
Период
Сортировка
От Chris Browne
Тема Re: Request for replication advice
Дата
Msg-id 60k623f30s.fsf@dba2.int.libertyrms.com
обсуждение исходный текст
Ответ на Request for replication advice  ("Brendan Jurd" <direvus@gmail.com>)
Список pgsql-general
tgl@sss.pgh.pa.us (Tom Lane) writes:
> Brad Nicholson <bnichols@ca.afilias.info> writes:
>> On Fri, 2006-11-10 at 15:07 -0500, Tom Lane wrote:
>>> Those are two different methods: you'd use one or the other, not both.
>
>> Slony has its own log shipping, I think that was what he was referring
>> to.
>
> Oh, OK, I was thinking of the trigger-driven version.

Slony-I is /always/ trigger-driven...

The "extra" that "log shipping" offers is that you can configure a
subscriber to serialize queries into a file as well as applying them
to the subscriber.  (It would be nice to have the option of not
bothering with the subscriber, but that hasn't been tried yet.)

Thus, you have a series of "log files" that contain Plain Ordinary
SQL.  (There's a *little* bit of Slony-I-specific stuff in them, that
could be trivially trimmed out.)

Those log files get spooled in a directory; you could do just about
anything you like with them, such as FTPing them somewhere, burning
them onto a DVD, or copying them onto a little USB key like
<http://www.kingmaxdigi.com/product/superstick.htm> this one, and
attach that to the leg of a bird, to implement some "avian data
transfer protocol" :-).
--
let name="cbbrowne" and tld="acm.org" in String.concat "@" [name;tld];;
http://linuxdatabases.info/info/logshipping.html
Why  are  there  flotation   devices  under  plane  seats  instead  of
parachutes?

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

Предыдущее
От: Brad Nicholson
Дата:
Сообщение: Re: Request for replication advice
Следующее
От: "Olexandr Melnyk"
Дата:
Сообщение: Re: FK pointing to a VIEW