Re: Why we lost Uber as a user - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Why we lost Uber as a user
Date
Msg-id 20160729151625.GD17219@momjian.us
Whole thread Raw
In response to Re: Why we lost Uber as a user  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Why we lost Uber as a user  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On Fri, Jul 29, 2016 at 10:44:29AM -0400, Stephen Frost wrote:
> Another thought that was kicking around in my head related to that is if
> we could have indexes that only provide page-level information (similar
> to BRIN, but maybe a btree) and which also would allow HOT updates.
> Those indexes would typically be used in a bitmap index scan where we're
> going to be doing a bitmap heap scan with a recheck, of course, though I
> wonder if we could come up with a way to do an in-order bitmap index
> scan where we sort the tuples on the page and then perform some kind of
> mergejoin recheck (or just pull out whatever the lowest-not-seen each
> time we sort the tuples on the page).

So allow HOT updates if the updated row is on the same page, even if the
indexed column was changed, by scanning the page --- got it.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+                     Ancient Roman grave inscription +



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: sslmode=require fallback
Next
From: Peter Eisentraut
Date:
Subject: Re: sslmode=require fallback