Re: making update/delete of inheritance trees scale better

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: making update/delete of inheritance trees scale better
Date: 2021-02-04 06:22:29
Message-ID: CA+HiwqH8tk=b0m8rFQZJ8E50NxC=0fuBK6nXyuD32Aa1oR+SMQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jan 26, 2021 at 8:54 PM Amit Langote <amitlangote09(at)gmail(dot)com> wrote:
> On Fri, Nov 13, 2020 at 6:52 PM Amit Langote <amitlangote09(at)gmail(dot)com> wrote:
> > On Wed, Nov 11, 2020 at 9:11 PM Heikki Linnakangas <hlinnaka(at)iki(dot)fi> wrote:
> > > On 29/10/2020 15:03, Amit Langote wrote:
> > > > Rebased over the recent executor result relation related commits.
> > >
> > > ModifyTablePath didn't get the memo that a ModifyTable can only have one
> > > subpath after these patches. Attached patch, on top of your v5 patches,
> > > cleans that up.
> >
> > Ah, thought I'd taken care of that, thanks. Attached v6.
>
> This got slightly broken due to the recent batch insert related
> changes, so here is the rebased version. I also made a few cosmetic
> changes.

Broken again, so rebased.

--
Amit Langote
EDB: http://www.enterprisedb.com

Attachment Content-Type Size
v8-0001-Overhaul-how-updates-compute-new-tuple.patch application/octet-stream 76.7 KB
v8-0002-Revise-how-inherited-update-delete-are-handled.patch application/octet-stream 203.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2021-02-04 06:38:39 Re: Allow CLUSTER, VACUUM FULL and REINDEX to change tablespace on the fly
Previous Message Bharath Rupireddy 2021-02-04 06:03:06 Re: Can we have a new SQL callable function to get Postmaster PID?