Re: WAL and master multi-slave replication

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: WAL and master multi-slave replication
Дата
Msg-id 20090624175112.GF16227@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: WAL and master multi-slave replication  (Eduardo Morras <emorras@s21sec.com>)
Ответы Re: WAL and master multi-slave replication  (Scott Marlowe <scott.marlowe@gmail.com>)
Re: WAL and master multi-slave replication  ("Scot Kreienkamp" <SKreien@la-z-boy.com>)
Список pgsql-general
Eduardo Morras escribió:
> At 19:25 24/06/2009, you wrote:
>> On Wed, Jun 24, 2009 at 11:22 AM, Eduardo Morras<emorras@s21sec.com> wrote:
>> > Yes, there will be 3 masters recolleting data (doing updates, inserts and
>> > deletes) for now and 5 slaves where we will do the searches. The
>> slaves must
>> > have all the data recollected by the 3 masters and the system must be
>> easily
>> > upgradable, adding new masters and new slaves.
>>
>> You know you can't push WAL files from > 1 server into a slave, right?
>
> No, i didn't know that.

I guess you don't know either that you can't query a slave while it is
on recovery (so it's only a "warm" standby, not hot).  And if you bring
it up you can't afterwards continue applying more segments later.

What you can do is grab a filesystem snapshot before bringing it online,
and then restoring that snapshot when you want to apply some more
segments to bring it up to date (so from Postgres' point of view it
seems like it was never brought up in the first place).

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Jorge Vidal - Disytel
Дата:
Сообщение: Re: 8.4 RC1 on ubuntu 9.04 jaunty, problems after install
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: WAL and master multi-slave replication