Go to the source code of this file.
◆ EstimateParallelHashJoinBatch
#define EstimateParallelHashJoinBatch |
( |
|
hashtable | ) |
|
Value:
MAXALIGN(
sts_estimate((hashtable)->parallel_state->nparticipants)) * 2)
size_t sts_estimate(int participants)
Definition at line 193 of file hashjoin.h.
◆ HASH_CHUNK_DATA
◆ HASH_CHUNK_HEADER_SIZE
◆ HASH_CHUNK_SIZE
#define HASH_CHUNK_SIZE (32 * 1024L) |
◆ HASH_CHUNK_THRESHOLD
◆ HJTUPLE_MINTUPLE
◆ HJTUPLE_OVERHEAD
◆ INVALID_SKEW_BUCKET_NO
#define INVALID_SKEW_BUCKET_NO (-1) |
◆ NthParallelHashJoinBatch
#define NthParallelHashJoinBatch |
( |
|
base, |
|
|
|
n |
|
) |
| |
Value:
((char *) (base) + \
#define EstimateParallelHashJoinBatch(hashtable)
Definition at line 198 of file hashjoin.h.
◆ ParallelHashJoinBatchInner
#define ParallelHashJoinBatchInner |
( |
|
batch | ) |
|
◆ ParallelHashJoinBatchOuter
#define ParallelHashJoinBatchOuter |
( |
|
batch, |
|
|
|
nparticipants |
|
) |
| |
Value:
#define ParallelHashJoinBatchInner(batch)
Definition at line 187 of file hashjoin.h.
◆ PHJ_BATCH_ALLOCATE
#define PHJ_BATCH_ALLOCATE 1 |
◆ PHJ_BATCH_ELECT
#define PHJ_BATCH_ELECT 0 |
◆ PHJ_BATCH_FREE
◆ PHJ_BATCH_LOAD
◆ PHJ_BATCH_PROBE
#define PHJ_BATCH_PROBE 3 |
◆ PHJ_BATCH_SCAN
◆ PHJ_BUILD_ALLOCATE
#define PHJ_BUILD_ALLOCATE 1 |
◆ PHJ_BUILD_ELECT
#define PHJ_BUILD_ELECT 0 |
◆ PHJ_BUILD_FREE
◆ PHJ_BUILD_HASH_INNER
#define PHJ_BUILD_HASH_INNER 2 |
◆ PHJ_BUILD_HASH_OUTER
#define PHJ_BUILD_HASH_OUTER 3 |
◆ PHJ_BUILD_RUN
◆ PHJ_GROW_BATCHES_DECIDE
#define PHJ_GROW_BATCHES_DECIDE 3 |
◆ PHJ_GROW_BATCHES_ELECT
#define PHJ_GROW_BATCHES_ELECT 0 |
◆ PHJ_GROW_BATCHES_FINISH
#define PHJ_GROW_BATCHES_FINISH 4 |
◆ PHJ_GROW_BATCHES_PHASE
#define PHJ_GROW_BATCHES_PHASE |
( |
|
n | ) |
((n) % 5) /* circular phases */ |
◆ PHJ_GROW_BATCHES_REALLOCATE
#define PHJ_GROW_BATCHES_REALLOCATE 1 |
◆ PHJ_GROW_BATCHES_REPARTITION
#define PHJ_GROW_BATCHES_REPARTITION 2 |
◆ PHJ_GROW_BUCKETS_ELECT
#define PHJ_GROW_BUCKETS_ELECT 0 |
◆ PHJ_GROW_BUCKETS_PHASE
#define PHJ_GROW_BUCKETS_PHASE |
( |
|
n | ) |
((n) % 3) /* circular phases */ |
◆ PHJ_GROW_BUCKETS_REALLOCATE
#define PHJ_GROW_BUCKETS_REALLOCATE 1 |
◆ PHJ_GROW_BUCKETS_REINSERT
#define PHJ_GROW_BUCKETS_REINSERT 2 |
◆ SKEW_BUCKET_OVERHEAD
◆ SKEW_HASH_MEM_PERCENT
#define SKEW_HASH_MEM_PERCENT 2 |
◆ SKEW_MIN_OUTER_FRACTION
#define SKEW_MIN_OUTER_FRACTION 0.01 |
◆ HashJoinTableData
◆ HashJoinTupleData
◆ HashMemoryChunk
◆ HashMemoryChunkData
◆ HashSkewBucket
◆ ParallelHashGrowth
◆ ParallelHashJoinBatch
◆ ParallelHashJoinBatchAccessor
◆ ParallelHashJoinState
◆ ParallelHashGrowth
Enumerator |
---|
PHJ_GROWTH_OK | |
PHJ_GROWTH_NEED_MORE_BUCKETS | |
PHJ_GROWTH_NEED_MORE_BATCHES | |
PHJ_GROWTH_DISABLED | |
Definition at line 230 of file hashjoin.h.
@ PHJ_GROWTH_NEED_MORE_BUCKETS
@ PHJ_GROWTH_NEED_MORE_BATCHES