PostgreSQL Source Code: HashJoinTableData Struct Reference (original) (raw)

#include <[hashjoin.h](hashjoin%5F8h%5Fsource.html)>

Data Fields
int nbuckets
int log2_nbuckets
int nbuckets_original
int nbuckets_optimal
int log2_nbuckets_optimal
union {
struct HashJoinTupleData ** unshared
dsa_pointer_atomic * shared
} buckets
bool skewEnabled
HashSkewBucket ** skewBucket
int skewBucketLen
int nSkewBuckets
int * skewBucketNums
int nbatch
int curbatch
int nbatch_original
int nbatch_outstart
bool growEnabled
double totalTuples
double partialTuples
double skewTuples
BufFile ** innerBatchFile
BufFile ** outerBatchFile
Size spaceUsed
Size spaceAllowed
Size spacePeak
Size spaceUsedSkew
Size spaceAllowedSkew
MemoryContext hashCxt
MemoryContext batchCxt
MemoryContext spillCxt
HashMemoryChunk chunks
HashMemoryChunk current_chunk
dsa_area * area
ParallelHashJoinState * parallel_state
ParallelHashJoinBatchAccessor * batches
dsa_pointer current_chunk_shared

Definition at line 298 of file hashjoin.h.

area

Definition at line 359 of file hashjoin.h.

Referenced by ExecHashTableCreate(), ExecHashTableDetach(), ExecHashTableDetachBatch(), ExecParallelHashEnsureBatchAccessors(), ExecParallelHashFirstTuple(), ExecParallelHashIncreaseNumBatches(), ExecParallelHashIncreaseNumBuckets(), ExecParallelHashJoinSetUpBatches(), ExecParallelHashNextTuple(), ExecParallelHashPopChunkQueue(), ExecParallelHashRepartitionFirst(), ExecParallelHashRepartitionRest(), ExecParallelHashTableAlloc(), ExecParallelHashTableSetCurrentBatch(), and ExecParallelHashTupleAlloc().

batchCxt

batches

Definition at line 361 of file hashjoin.h.

Referenced by ExecHashTableCreate(), ExecHashTableDetach(), ExecHashTableDetachBatch(), ExecParallelHashCloseBatchAccessors(), ExecParallelHashEnsureBatchAccessors(), ExecParallelHashIncreaseNumBatches(), ExecParallelHashIncreaseNumBuckets(), ExecParallelHashJoinNewBatch(), ExecParallelHashJoinOuterGetTuple(), ExecParallelHashJoinPartitionOuter(), ExecParallelHashJoinSetUpBatches(), ExecParallelHashMergeCounters(), ExecParallelHashRepartitionFirst(), ExecParallelHashRepartitionRest(), ExecParallelHashTableAlloc(), ExecParallelHashTableInsert(), ExecParallelHashTableSetCurrentBatch(), ExecParallelHashTupleAlloc(), ExecParallelHashTuplePrealloc(), ExecParallelPrepHashTableForUnmatched(), and MultiExecParallelHash().

union { ... } HashJoinTableData::buckets

Referenced by ExecHashIncreaseNumBatches(), ExecHashIncreaseNumBuckets(), ExecHashRemoveNextSkewBucket(), ExecHashTableCreate(), ExecHashTableInsert(), ExecHashTableReset(), ExecHashTableResetMatchFlags(), ExecParallelHashFirstTuple(), ExecParallelHashIncreaseNumBuckets(), ExecParallelHashRepartitionFirst(), ExecParallelHashTableInsert(), ExecParallelHashTableInsertCurrentBatch(), ExecParallelHashTableSetCurrentBatch(), ExecScanHashBucket(), and ExecScanHashTableForUnmatched().

chunks

curbatch

int HashJoinTableData::curbatch

Definition at line 323 of file hashjoin.h.

Referenced by ExecHashIncreaseNumBatches(), ExecHashJoinImpl(), ExecHashJoinNewBatch(), ExecHashJoinOuterGetTuple(), ExecHashRemoveNextSkewBucket(), ExecHashTableCreate(), ExecHashTableDetachBatch(), ExecHashTableInsert(), ExecParallelHashJoinNewBatch(), ExecParallelHashJoinOuterGetTuple(), ExecParallelHashTableInsertCurrentBatch(), ExecParallelHashTableSetCurrentBatch(), ExecParallelHashTupleAlloc(), ExecParallelPrepHashTableForUnmatched(), and MultiExecParallelHash().

current_chunk

current_chunk_shared

growEnabled

bool HashJoinTableData::growEnabled

hashCxt

innerBatchFile

BufFile** HashJoinTableData::innerBatchFile

log2_nbuckets

int HashJoinTableData::log2_nbuckets

log2_nbuckets_optimal

int HashJoinTableData::log2_nbuckets_optimal

nbatch

int HashJoinTableData::nbatch

Definition at line 322 of file hashjoin.h.

Referenced by ExecHashAccumInstrumentation(), ExecHashGetBucketAndBatch(), ExecHashIncreaseBatchSize(), ExecHashIncreaseNumBatches(), ExecHashJoinImpl(), ExecHashJoinNewBatch(), ExecHashTableCreate(), ExecHashTableDestroy(), ExecHashTableDetach(), ExecHashTableInsert(), ExecParallelHashCloseBatchAccessors(), ExecParallelHashEnsureBatchAccessors(), ExecParallelHashIncreaseNumBatches(), ExecParallelHashJoinNewBatch(), ExecParallelHashJoinOuterGetTuple(), ExecParallelHashJoinPartitionOuter(), ExecParallelHashJoinSetUpBatches(), ExecParallelHashMergeCounters(), ExecParallelHashRepartitionFirst(), ExecParallelHashTupleAlloc(), ExecReScanHashJoin(), and MultiExecParallelHash().

nbatch_original

int HashJoinTableData::nbatch_original

nbatch_outstart

int HashJoinTableData::nbatch_outstart

nbuckets

int HashJoinTableData::nbuckets

Definition at line 300 of file hashjoin.h.

Referenced by ExecHashAccumInstrumentation(), ExecHashGetBucketAndBatch(), ExecHashIncreaseNumBatches(), ExecHashIncreaseNumBuckets(), ExecHashTableCreate(), ExecHashTableDetachBatch(), ExecHashTableReset(), ExecHashTableResetMatchFlags(), ExecParallelHashIncreaseNumBatches(), ExecParallelHashTableSetCurrentBatch(), ExecParallelHashTupleAlloc(), ExecParallelPrepHashTableForUnmatched(), ExecParallelScanHashTableForUnmatched(), ExecScanHashTableForUnmatched(), MultiExecParallelHash(), and MultiExecPrivateHash().

nbuckets_optimal

int HashJoinTableData::nbuckets_optimal

nbuckets_original

int HashJoinTableData::nbuckets_original

nSkewBuckets

int HashJoinTableData::nSkewBuckets

outerBatchFile

BufFile** HashJoinTableData::outerBatchFile

parallel_state

Definition at line 360 of file hashjoin.h.

Referenced by ExecHashTableCreate(), ExecHashTableDetach(), ExecHashTableDetachBatch(), ExecParallelHashEnsureBatchAccessors(), ExecParallelHashFirstTuple(), ExecParallelHashIncreaseNumBatches(), ExecParallelHashIncreaseNumBuckets(), ExecParallelHashJoinNewBatch(), ExecParallelHashJoinSetUpBatches(), ExecParallelHashMergeCounters(), ExecParallelHashNextTuple(), ExecParallelHashPopChunkQueue(), ExecParallelHashRepartitionFirst(), ExecParallelHashRepartitionRest(), ExecParallelHashTableAlloc(), ExecParallelHashTableInsert(), ExecParallelHashTableSetCurrentBatch(), ExecParallelHashTupleAlloc(), ExecParallelHashTuplePrealloc(), and MultiExecParallelHash().

partialTuples

double HashJoinTableData::partialTuples

shared

skewBucket

skewBucketLen

int HashJoinTableData::skewBucketLen

skewBucketNums

int* HashJoinTableData::skewBucketNums

skewEnabled

bool HashJoinTableData::skewEnabled

skewTuples

double HashJoinTableData::skewTuples

spaceAllowed

Size HashJoinTableData::spaceAllowed

spaceAllowedSkew

Size HashJoinTableData::spaceAllowedSkew

spacePeak

Size HashJoinTableData::spacePeak

spaceUsed

Size HashJoinTableData::spaceUsed

spaceUsedSkew

Size HashJoinTableData::spaceUsedSkew

spillCxt

totalTuples

double HashJoinTableData::totalTuples

unshared


The documentation for this struct was generated from the following file: