Re: pgsql 10: hash indexes testing
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: AP <ap@zip.com.au>
Cc: Robert Haas <robertmhaas@gmail.com>,
Alvaro Herrera <alvherre@2ndquadrant.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-08-11T02:05:48Z
Lists: pgsql-hackers
On Fri, Aug 11, 2017 at 5:01 AM, AP <ap@zip.com.au> wrote: > On Thu, Aug 10, 2017 at 01:12:25PM -0400, Robert Haas wrote: >> On Thu, Aug 10, 2017 at 6:41 AM, AP <ap@zip.com.au> wrote: >> > The index is 135GB rather than 900GB (from memory/give or take). >> >> Whoa. Big improvement. > > > As an aside, btree for the above is around 2.5x bigger than hash v4 so > chances are much better that a hash index will fit into ram which has > its own benefits. :) > Yeah, that's exactly one of the benefit hash indexes can provide over btree indexes. -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com
Commits
-
pgstatindex: Insert some casts to prevent overflow.
- 0b7ba3d6474b 10.0 cited
-
hash: Immediately after a bucket split, try to clean the old bucket.
- ff98a5e1e49d 10.0 landed
-
hash: Increase the number of possible overflow bitmaps by 8x.
- 620b49a16d2a 10.0 landed
-
BRIN auto-summarization
- 7526e10224f0 10.0 cited