|
PostgreSQL Source Code git master
|
#include "nodes/execnodes.h"#include "port/atomics.h"#include "storage/barrier.h"#include "storage/buffile.h"#include "storage/lwlock.h"#include "utils/dsa.h"#include "utils/sharedtuplestore.h"

Go to the source code of this file.
Data Structures | |
| struct | HashJoinTupleData |
| struct | HashSkewBucket |
| struct | HashMemoryChunkData |
| struct | ParallelHashJoinBatch |
| struct | ParallelHashJoinBatchAccessor |
| struct | ParallelHashJoinState |
| struct | HashJoinTableData |
Enumerations | |
| enum | ParallelHashGrowth { PHJ_GROWTH_OK , PHJ_GROWTH_NEED_MORE_BUCKETS , PHJ_GROWTH_NEED_MORE_BATCHES , PHJ_GROWTH_DISABLED } |
| #define EstimateParallelHashJoinBatch | ( | hashtable | ) |
Definition at line 204 of file hashjoin.h.
| #define HASH_CHUNK_DATA | ( | hc | ) | (((char *) (hc)) + HASH_CHUNK_HEADER_SIZE) |
Definition at line 163 of file hashjoin.h.
| #define HASH_CHUNK_HEADER_SIZE MAXALIGN(sizeof(HashMemoryChunkData)) |
Definition at line 162 of file hashjoin.h.
Definition at line 161 of file hashjoin.h.
| #define HASH_CHUNK_THRESHOLD (HASH_CHUNK_SIZE / 4) |
Definition at line 165 of file hashjoin.h.
| #define HJTUPLE_MINTUPLE | ( | hjtup | ) | ((MinimalTuple) ((char *) (hjtup) + HJTUPLE_OVERHEAD)) |
Definition at line 102 of file hashjoin.h.
| #define HJTUPLE_OVERHEAD MAXALIGN(sizeof(HashJoinTupleData)) |
Definition at line 101 of file hashjoin.h.
| #define INVALID_SKEW_BUCKET_NO (-1) |
Definition at line 131 of file hashjoin.h.
| #define NthParallelHashJoinBatch | ( | base, | |
| n | |||
| ) |
Definition at line 209 of file hashjoin.h.
Definition at line 193 of file hashjoin.h.
Definition at line 198 of file hashjoin.h.
| #define PHJ_BATCH_ALLOCATE 1 |
Definition at line 289 of file hashjoin.h.
| #define PHJ_BATCH_ELECT 0 |
Definition at line 288 of file hashjoin.h.
| #define PHJ_BATCH_FREE 5 |
Definition at line 293 of file hashjoin.h.
| #define PHJ_BATCH_LOAD 2 |
Definition at line 290 of file hashjoin.h.
| #define PHJ_BATCH_PROBE 3 |
Definition at line 291 of file hashjoin.h.
| #define PHJ_BATCH_SCAN 4 |
Definition at line 292 of file hashjoin.h.
| #define PHJ_BUILD_ALLOCATE 1 |
Definition at line 281 of file hashjoin.h.
| #define PHJ_BUILD_ELECT 0 |
Definition at line 280 of file hashjoin.h.
| #define PHJ_BUILD_FREE 5 |
Definition at line 285 of file hashjoin.h.
| #define PHJ_BUILD_HASH_INNER 2 |
Definition at line 282 of file hashjoin.h.
| #define PHJ_BUILD_HASH_OUTER 3 |
Definition at line 283 of file hashjoin.h.
| #define PHJ_BUILD_RUN 4 |
Definition at line 284 of file hashjoin.h.
| #define PHJ_GROW_BATCHES_DECIDE 3 |
Definition at line 299 of file hashjoin.h.
| #define PHJ_GROW_BATCHES_ELECT 0 |
Definition at line 296 of file hashjoin.h.
| #define PHJ_GROW_BATCHES_FINISH 4 |
Definition at line 300 of file hashjoin.h.
Definition at line 301 of file hashjoin.h.
| #define PHJ_GROW_BATCHES_REALLOCATE 1 |
Definition at line 297 of file hashjoin.h.
| #define PHJ_GROW_BATCHES_REPARTITION 2 |
Definition at line 298 of file hashjoin.h.
| #define PHJ_GROW_BUCKETS_ELECT 0 |
Definition at line 304 of file hashjoin.h.
Definition at line 307 of file hashjoin.h.
| #define PHJ_GROW_BUCKETS_REALLOCATE 1 |
Definition at line 305 of file hashjoin.h.
| #define PHJ_GROW_BUCKETS_REINSERT 2 |
Definition at line 306 of file hashjoin.h.
| #define SKEW_BUCKET_OVERHEAD MAXALIGN(sizeof(HashSkewBucket)) |
Definition at line 130 of file hashjoin.h.
| #define SKEW_HASH_MEM_PERCENT 2 |
Definition at line 132 of file hashjoin.h.
| #define SKEW_MIN_OUTER_FRACTION 0.01 |
Definition at line 133 of file hashjoin.h.
Definition at line 159 of file hashjoin.h.
| typedef struct HashSkewBucket HashSkewBucket |
| Enumerator | |
|---|---|
| PHJ_GROWTH_OK | |
| PHJ_GROWTH_NEED_MORE_BUCKETS | |
| PHJ_GROWTH_NEED_MORE_BATCHES | |
| PHJ_GROWTH_DISABLED | |
Definition at line 241 of file hashjoin.h.