Re: Chronic performance issue with Replication Failover and FSM.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Chronic performance issue with Replication Failover and FSM.
Дата
Msg-id 4F6045D0.6020403@enterprisedb.com
обсуждение исходный текст
Ответ на Chronic performance issue with Replication Failover and FSM.  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Chronic performance issue with Replication Failover and FSM.
Список pgsql-hackers
On 14.03.2012 01:53, Josh Berkus wrote:
> 1. The Free Space Map is not replicated between servers.
>
> 2. Thus, when we fail over to a replica, it starts with a blank FSM.

The FSM is included in the base backup, and it is updated when VACUUM 
records are replayed.

It is also updated when insert/update/delete records are replayed, 
athough there's some fuzziness there: records with full page images 
don't update the FSM, and the FSM is only updated when the page has less 
than 20% of free space left. But that would cause an error in the other 
direction, with the FSM claiming that some pages have more free space 
than they do in reality.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Joachim Wieland
Дата:
Сообщение: Re: patch for parallel pg_dump
Следующее
От: Vivek Singh Raghuwanshi
Дата:
Сообщение: Keystone auth in PostgreSQL