Re: pgsql: Avoid creation of the free space map for small heap relations. - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: pgsql: Avoid creation of the free space map for small heap relations.
Date
Msg-id 877eepjt3p.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: pgsql: Avoid creation of the free space map for small heap relations.  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: pgsql: Avoid creation of the free space map for small heap relations.  (Amit Kapila <amit.kapila16@gmail.com>)
Re: pgsql: Avoid creation of the free space map for small heap relations.  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
>>>>> "Amit" == Amit Kapila <amit.kapila16@gmail.com> writes:

 Amit> One possibility is that autovacuum has triggered to perform
 Amit> truncation of some other relation (remove pages at the end) which
 Amit> doesn't allow the FSM test to remove the rows/perform truncation
 Amit> and thus let to the failure. Can there be anything else which can
 Amit> start a transaction when a regression test is running? Still
 Amit> thinking, but inputs are welcome.

I've bumped into issues (cf. commit 64ae420b2) with regression tests of
this kind caused by concurrent (auto-)ANALYZE (not VACUUM); VACUUM's
snapshot is ignored for testing for whether row versions can be removed,
but ANALYZE's is not.

-- 
Andrew (irc:RhodiumToad)


pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: WIP: Avoid creation of the free space map for small tables
Next
From: Tatsuro Yamada
Date:
Subject: Re: Tab completion for ALTER INDEX|TABLE ALTER COLUMN SET STATISTICS