Re: pgsql 10: hash indexes testing
AP <ap@zip.com.au>
From: AP <ap@zip.com.au>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-07-05T09:31:40Z
Lists: pgsql-hackers
On Tue, Jul 04, 2017 at 08:23:20PM -0700, Jeff Janes wrote: > On Tue, Jul 4, 2017 at 3:57 AM, AP <ap@zip.com.au> wrote: > > The data being indexed is BYTEA, (quasi)random and 64 bytes in size. > > The table has over 2 billion entries. The data is not unique. There's > > an average of 10 duplicates for every unique value. > > What is the number of duplicates for the most common value? Damn. Was going to collect this info as I was doing a fresh upload but it fell through the cracks of my mind. It'll probably take at least half a day to collect (a simple count(*) on the table takes 1.5-1.75 hours parallelised across 11 processes) so I'll probably have this in around 24 hours if all goes well. (and I don't stuff up the SQL :) ) AP.
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