Skip to content

Commit 92ee8c5

Browse files
committed
Increase number of buckets in grace join& 32x2 -> 64x2
Increasing the number of buckets in grace join, because during TPCH10k two buckets no longer fit in memory commit_hash:1bf800015b4cf19f24f34bedbb52f1f809f569e8
1 parent cf924aa commit 92ee8c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yql/essentials/minikql/comp_nodes/mkql_grace_join_imp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TTableBucketSpiller;
1414
#define GRACEJOIN_DEBUG DEBUG
1515
#define GRACEJOIN_TRACE TRACE
1616

17-
const ui64 BitsForNumberOfBuckets = 5; // 2^5 = 32
17+
const ui64 BitsForNumberOfBuckets = 6; // 2^6 = 64
1818
const ui64 BucketsMask = (0x00000001 << BitsForNumberOfBuckets) - 1;
1919
const ui64 NumberOfBuckets = (0x00000001 << BitsForNumberOfBuckets); // Number of hashed keys buckets to distribute incoming tables tuples
2020
const ui64 DefaultTuplesNum = 101; // Default initial number of tuples in one bucket to allocate memory

0 commit comments

Comments
 (0)