Re: Chronic performance issue with Replication Failover and FSM.

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Chronic performance issue with Replication Failover and FSM.
Date: 2012-03-20 21:41:56
Message-ID: 4F68F9A4.3080802@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki,

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

Oh? Hmmmm. In that case, the issue I'm seeing in production is
something else. Unless that was a change for 9.1?

> 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.

Thanks.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2012-03-20 22:01:15 Re: patch for parallel pg_dump
Previous Message Neil Conway 2012-03-20 21:12:45 Re: Gsoc2012 Idea --- Social Network database schema