|
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"

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 193 of file hashjoin.h.
| #define HASH_CHUNK_DATA | ( | hc | ) | (((char *) (hc)) + HASH_CHUNK_HEADER_SIZE) |
Definition at line 152 of file hashjoin.h.
| #define HASH_CHUNK_HEADER_SIZE MAXALIGN(sizeof(HashMemoryChunkData)) |
Definition at line 151 of file hashjoin.h.
Definition at line 150 of file hashjoin.h.
| #define HASH_CHUNK_THRESHOLD (HASH_CHUNK_SIZE / 4) |
Definition at line 154 of file hashjoin.h.
| #define HJTUPLE_MINTUPLE | ( | hjtup | ) | ((MinimalTuple) ((char *) (hjtup) + HJTUPLE_OVERHEAD)) |
Definition at line 91 of file hashjoin.h.
| #define HJTUPLE_OVERHEAD MAXALIGN(sizeof(HashJoinTupleData)) |
Definition at line 90 of file hashjoin.h.
| #define INVALID_SKEW_BUCKET_NO (-1) |
Definition at line 120 of file hashjoin.h.
| #define NthParallelHashJoinBatch | ( | base, | |
| n | |||
| ) |
Definition at line 198 of file hashjoin.h.
Definition at line 182 of file hashjoin.h.
Definition at line 187 of file hashjoin.h.
| #define PHJ_BATCH_ALLOCATE 1 |
Definition at line 278 of file hashjoin.h.
| #define PHJ_BATCH_ELECT 0 |
Definition at line 277 of file hashjoin.h.
| #define PHJ_BATCH_FREE 5 |
Definition at line 282 of file hashjoin.h.
| #define PHJ_BATCH_LOAD 2 |
Definition at line 279 of file hashjoin.h.
| #define PHJ_BATCH_PROBE 3 |
Definition at line 280 of file hashjoin.h.
| #define PHJ_BATCH_SCAN 4 |
Definition at line 281 of file hashjoin.h.
| #define PHJ_BUILD_ALLOCATE 1 |
Definition at line 270 of file hashjoin.h.
| #define PHJ_BUILD_ELECT 0 |
Definition at line 269 of file hashjoin.h.
| #define PHJ_BUILD_FREE 5 |
Definition at line 274 of file hashjoin.h.
| #define PHJ_BUILD_HASH_INNER 2 |
Definition at line 271 of file hashjoin.h.
| #define PHJ_BUILD_HASH_OUTER 3 |
Definition at line 272 of file hashjoin.h.
| #define PHJ_BUILD_RUN 4 |
Definition at line 273 of file hashjoin.h.
| #define PHJ_GROW_BATCHES_DECIDE 3 |
Definition at line 288 of file hashjoin.h.
| #define PHJ_GROW_BATCHES_ELECT 0 |
Definition at line 285 of file hashjoin.h.
| #define PHJ_GROW_BATCHES_FINISH 4 |
Definition at line 289 of file hashjoin.h.
Definition at line 290 of file hashjoin.h.
| #define PHJ_GROW_BATCHES_REALLOCATE 1 |
Definition at line 286 of file hashjoin.h.
| #define PHJ_GROW_BATCHES_REPARTITION 2 |
Definition at line 287 of file hashjoin.h.
| #define PHJ_GROW_BUCKETS_ELECT 0 |
Definition at line 293 of file hashjoin.h.
Definition at line 296 of file hashjoin.h.
| #define PHJ_GROW_BUCKETS_REALLOCATE 1 |
Definition at line 294 of file hashjoin.h.
| #define PHJ_GROW_BUCKETS_REINSERT 2 |
Definition at line 295 of file hashjoin.h.
| #define SKEW_BUCKET_OVERHEAD MAXALIGN(sizeof(HashSkewBucket)) |
Definition at line 119 of file hashjoin.h.
| #define SKEW_HASH_MEM_PERCENT 2 |
Definition at line 121 of file hashjoin.h.
| #define SKEW_MIN_OUTER_FRACTION 0.01 |
Definition at line 122 of file hashjoin.h.
Definition at line 148 of file hashjoin.h.
| 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.