Re: heap_sync seems rather oblivious to partitioned tables (wal_level=minimal)

From: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: Steve Singer <steve(at)ssinger(dot)info>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: heap_sync seems rather oblivious to partitioned tables (wal_level=minimal)
Date: 2018-11-19 12:47:31
Message-ID: 64b2d53c-7c58-f052-32f1-38ce6e1cd0a5@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/17/18 4:53 PM, Alvaro Herrera wrote:
> Here are versions for branches 10 and 11. The main change is that the
> COPY test didn't have the partitioned table, because it was recently
> introduced (0d5f05cde011) so I backpatched that part also. It's a bit
> useless, but I'd rather backpatch the same thing rather than have
> different lines there ...
>

The patch seems fine to me.

It's a bit unfortunate that we simply disable the optimization on
partitioned tables instead of fixing it somehow, but I guess it's better
than nothing and no one has a very good idea how to make it work.

regards

--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Westermann 2018-11-19 13:05:59 Re: zheap: a new storage format for PostgreSQL
Previous Message Amit Kapila 2018-11-19 12:24:29 Re: WIP: Avoid creation of the free space map for small tables