Re: Per-database warm standby?

Поиск
Список
Период
Сортировка
От Nickolay
Тема Re: Per-database warm standby?
Дата
Msg-id 4A866DA2.6020408@zhukcity.ru
обсуждение исходный текст
Ответ на Re: Per-database warm standby?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
I also have a question about warm standby replication.
What'd be the best solution for the system with 2 db servers (nodes), 1
database and 10 seconds max to switch between them (ready to switch time).
Currently I'm using Slony, but it's kind of slow when doing subscribe
after failover on the failed node (database can be really huge and it
would take a few hours to COPY tables using Slony).
May be WAL replication would be better?

Best regards, Nick.

Tom Lane wrote:
> Craig James <craig_james@emolecules.com> writes:
>
>> 8.4 has vastly improved the warm-standby features, but it looks to me like this is still an installation-wide
backup,not a per-database backup.  That is, if you have (say) a couple hundred databases, and you only want warm-backup
onone of them, you can't do it (except using other solutions like Slony).  Is that right? 
>>
>
> Correct, and that's always going to be true of any WAL-based solution.
>
>             regards, tom lane
>


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Memory reporting on CentOS Linux
Следующее
От: "simon@2ndquadrant.com"
Дата:
Сообщение: Re: Scalability in postgres