Re: Chronic performance issue with Replication Failover and FSM. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Chronic performance issue with Replication Failover and FSM.
Date
Msg-id 4805.1346335504@sss.pgh.pa.us
Whole thread Raw
In response to Re: Chronic performance issue with Replication Failover and FSM.  (Daniel Farina <daniel@heroku.com>)
List pgsql-hackers
Daniel Farina <daniel@heroku.com> writes:
> but just today we promoted another system via streaming replication to
> pick up the planner fix in 9.1.5 (did you know: that planner bug seems
> to make GIN FTS indexes un-used in non-exotic cases, and one goes to
> seqscan?), and then a 40MB GIN index bloated to two gigs on a 1.5GB
> table over the course of maybe six hours.

I think this is probably unrelated to what Josh was griping about:
even granting that the system forgot any free space that had been
available within the original 40MB, that couldn't in itself lead
to eating more than another 40MB, no?  My guess is something is
broken about the oldest-xmin-horizon mechanism, such that VACUUM
is failing to recover space.  Can you put together a self-contained
test case that exhibits similar growth?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Query plan optimization for CHECK NO INHERIT and single table?
Next
From: Miroslav Šimulčík
Date:
Subject: rows modified in current transaction