increase_hash_max_bitmaps_v1.patch
application/octet-stream
Filename: increase_hash_max_bitmaps_v1.patch
Type: application/octet-stream
Part: 1
Message:
Re: pgsql 10: hash indexes testing
Patch
Format: unified
Series: patch v1
| File | + | − |
|---|---|---|
| src/include/access/hash.h | 3 | 3 |
diff --git a/src/include/access/hash.h b/src/include/access/hash.h index 7fa868b..de86f31 100644 --- a/src/include/access/hash.h +++ b/src/include/access/hash.h @@ -182,10 +182,10 @@ typedef HashScanOpaqueData *HashScanOpaque; * after HASH_SPLITPOINT_GROUPS_WITH_ONE_PHASE). * * There is no particular upper limit on the size of mapp[], other than - * needing to fit into the metapage. (With 8K block size, 128 bitmaps - * limit us to 64 GB of overflow space...) + * needing to fit into the metapage. (With 8K block size, 1024 bitmaps + * limit us to 256 GB of overflow space...) */ -#define HASH_MAX_BITMAPS 128 +#define HASH_MAX_BITMAPS 1024 #define HASH_SPLITPOINT_PHASE_BITS 2 #define HASH_SPLITPOINT_PHASES_PER_GRP (1 << HASH_SPLITPOINT_PHASE_BITS)