[GENERAL] pg_rewind copy so much data

Поиск
Список
Период
Сортировка
От Hung Phan
Тема [GENERAL] pg_rewind copy so much data
Дата
Msg-id CANHVDh2DEjNg5zmDttzZneKaY0pw94YuN6V6n3wbqfEDOKDrbw@mail.gmail.com
обсуждение исходный текст
Ответы Re: [GENERAL] pg_rewind copy so much data  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-general
Hi,

I have tested pg_rewind (ver 9.5) with the following scenario:

- one master and one slave (total size of each server is more than 4GB)
- set wal_log_hint=on and restart both
- stop master, promote slave
- start old master again (now two servers have diverged)
- stop old master, run pg_rewind with progress option

The pg_rewind ran successfully but I saw it copied more than 4GB (4265891 kB copied). So I wonder there was very minor difference between two servesr but why did pg_rewind copy almost all data of new master?

Regards,

Hung Phan

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [GENERAL] WAL & ready files retained after turning off log shipping
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [GENERAL] pg_rewind copy so much data