Re: Slony1 or DRBD for replication ?

Поиск
Список
Период
Сортировка
От Pierre LEBRECH
Тема Re: Slony1 or DRBD for replication ?
Дата
Msg-id 443FDF05.4060600@laposte.net
обсуждение исходный текст
Ответ на Re: Slony1 or DRBD for replication ?  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Slony1 or DRBD for replication ?  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-admin
Joshua D. Drake wrote:
> On Fri, 2006-04-14 at 14:56 +0200, Pierre LEBRECH wrote:
>
>>Hello,
>>
>>I want to replicate my PostgreSQL database at an other location. The
>>distance between the two locations should be around 10 miles. The link
>>should be a fast ethernet dedicated link.
>>
>>What would you suggest me to do? DRBD or slony1 for PostgreSQL replication?
>
>
> It depends on your needs.
>
> If you want to be able to use the slave postgresql instance (reporting,
> non replicated name spaces, materialized views etc...) Slony or Mammoth
> Replicator.
>
> If you want to also replicate users/groups, grant and revoke, Mammoth
> Replicator.
>
> If you just want a hot backup... DRBD.
>
> Joshua D. Drake
>

The second location should be used in case of emergency. So, if my first
machine/system becomes unreachable for whatever reason, I want to be
able to switch very quickly to the other machine. Of course, the goal is
to have no loss of data. That is the context.

Furthermore, I have experience with DRBD (not on databases) and I do not
know if DRBD would be the best way to solve this replication problem.

Thanks for any suggestions and explanations.

PS : my database is actualy in production in a critical environment

>
>
>>Thank you.
>>
>>---------------------------(end of broadcast)---------------------------
>>TIP 9: In versions below 8.0, the planner will ignore your desire to
>>       choose an index scan if your joining column's datatypes do not
>>       match
>>


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Slony1 or DRBD for replication ?
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: Slony1 or DRBD for replication ?