Re: delta relations in AFTER triggers - Mailing list pgsql-hackers

From Adam Brusselback
Subject Re: delta relations in AFTER triggers
Date
Msg-id CAMjNa7ePipxKWZJosbVPQFff+jZEx4MJ4MjjGPTucKGZQ3=ASg@mail.gmail.com
Whole thread Raw
In response to Re: delta relations in AFTER triggers  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: delta relations in AFTER triggers
List pgsql-hackers
The delete of about one million rows from a "parent" table with no
matching rows in the "child" table, and no index on referencing
column in the child table, took 24:17.969 using current triggers
and 00:03.262 using the set-based triggers.  Yes, that reduces
current run time for that case by 99.78%

That is really incredible.  Gets rid of the need for an index on referencing columns for a ton of use cases. 

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Substantial bloat in postgres_fdw regression test runtime
Next
From: Jesper Pedersen
Date:
Subject: Re: pageinspect: Hash index support