Re: Index Unqiueness - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Index Unqiueness
Date
Msg-id 20130308135809.GA24484@awork2.anarazel.de
Whole thread Raw
In response to Index Unqiueness  (abhinav batra <abbatra@gmail.com>)
Responses Re: Index Unqiueness  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 2013-03-06 09:11:38 +0530, abhinav batra wrote:
> Hey
> I want to work towards the follwing feature in TODO list:
> Prevent index uniqueness checks when UPDATE does not modify the
> columnUniqueness
> (index) checks are done when updating a column even if the column is not
> modified by the UPDATE. However, HOT already short-circuits this in common
> cases, so more work might not be helpful.

I'd be interested in something slightly related that is doing HOT on a
per-index basis. Currently we don't do hot if any index is updated even
though quite possibly most of the indexes don't change.
I think that might result in some quite nice speedups...

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Index Unqiueness
Next
From: Bruce Momjian
Date:
Subject: Re: Materialized views WIP patch