Re: pgsql: Avoid creation of the free space map for small heap relations.

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:57:58
Message-ID: CAA4eK1LNj9MZOngxdK3GYcPJJvs8DLmnWbSR3o0W-xshuafrTA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Mon, Jan 28, 2019 at 11:10 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> Yes, so this could be the cause of the problem. I think we need
> Amit> to change the tests added by the patch such that they don't rely
> Amit> on vacuum to remove dead-row versions? Do you or anybody else see
> Amit> any better way to fix this?
>
> Do you just need to create free space on a page that didn't have enough
> before? It might be worth tweaking the fillfactor rather than trying to
> delete anything.
>

No, it also depends on vacuum to remove rows and then truncate the
relation accordingly.

--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-01-28 06:01:10 Re: pgsql: Avoid creation of the free space map for small heap relations.
Previous Message Amit Kapila 2019-01-28 05:56:11 Re: pgsql: Avoid creation of the free space map for small heap relations.

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2019-01-28 05:59:01 Re: speeding up planning with partitions
Previous Message Michael Paquier 2019-01-28 05:57:02 Re: A few new options for vacuumdb