| From: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> | 
|---|---|
| To: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> | 
| Cc: | Amit Kapila <akapila(at)postgresql(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, John Naylor <john(dot)naylor(at)2ndquadrant(dot)com>, pgsql-committers(at)lists(dot)postgresql(dot)org | 
| Subject: | Re: pgsql: Avoid creation of the free space map for small heap relations. | 
| Date: | 2019-01-28 05:37:11 | 
| Message-ID: | CAA4eK1LjXLFZ0Q1mXO5h8b6Smw=hsDvT3ZLcw5wcXbC7TSuwEA@mail.gmail.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers | 
On Mon, Jan 28, 2019 at 10:25 AM Andrew Gierth
<andrew(at)tao11(dot)riddles(dot)org(dot)uk> wrote:
>
> >>>>> "Amit" == Amit Kapila <amit(dot)kapila16(at)gmail(dot)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);
>
Yes, so this could be the cause of the problem.  I think we need to
change the tests added by the patch such that they don't rely on
vacuum to remove dead-row versions?  Do you or anybody else see any
better way to fix this?
-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Gierth | 2019-01-28 05:40:47 | Re: pgsql: Avoid creation of the free space map for small heap relations. | 
| Previous Message | Andrew Gierth | 2019-01-28 04:55:06 | Re: pgsql: Avoid creation of the free space map for small heap relations. | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Gierth | 2019-01-28 05:40:47 | Re: pgsql: Avoid creation of the free space map for small heap relations. | 
| Previous Message | Tom Lane | 2019-01-28 05:28:30 | Re: Emacs vs pg_indent's weird indentation for function declarations |