PostgreSQL Source Code  git master
HashJoinTableData Struct Reference

#include <hashjoin.h>

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 keepNulls
 
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
 
FmgrInfoouter_hashfunctions
 
FmgrInfoinner_hashfunctions
 
boolhashStrict
 
Oidcollations
 
Size spaceUsed
 
Size spaceAllowed
 
Size spacePeak
 
Size spaceUsedSkew
 
Size spaceAllowedSkew
 
MemoryContext hashCxt
 
MemoryContext batchCxt
 
MemoryContext spillCxt
 
HashMemoryChunk chunks
 
HashMemoryChunk current_chunk
 
dsa_areaarea
 
ParallelHashJoinStateparallel_state
 
ParallelHashJoinBatchAccessorbatches
 
dsa_pointer current_chunk_shared
 

Detailed Description

Definition at line 298 of file hashjoin.h.

Field Documentation

◆ area

◆ batchCxt

MemoryContext HashJoinTableData::batchCxt

◆ batches

◆ 

◆ chunks

◆ collations

Oid* HashJoinTableData::collations

Definition at line 354 of file hashjoin.h.

Referenced by ExecHashBuildSkewHash(), ExecHashGetHashValue(), and ExecHashTableCreate().

◆ curbatch

◆ current_chunk

HashMemoryChunk HashJoinTableData::current_chunk

◆ current_chunk_shared

dsa_pointer HashJoinTableData::current_chunk_shared

Definition at line 374 of file hashjoin.h.

Referenced by ExecParallelHashTableSetCurrentBatch(), and ExecParallelHashTupleAlloc().

◆ growEnabled

bool HashJoinTableData::growEnabled

Definition at line 330 of file hashjoin.h.

Referenced by ExecHashIncreaseNumBatches(), and ExecHashTableCreate().

◆ hashCxt

MemoryContext HashJoinTableData::hashCxt

Definition at line 362 of file hashjoin.h.

Referenced by ExecHashTableCreate(), and ExecHashTableDestroy().

◆ hashStrict

bool* HashJoinTableData::hashStrict

Definition at line 353 of file hashjoin.h.

Referenced by ExecHashGetHashValue(), and ExecHashTableCreate().

◆ inner_hashfunctions

FmgrInfo* HashJoinTableData::inner_hashfunctions

Definition at line 352 of file hashjoin.h.

Referenced by ExecHashGetHashValue(), and ExecHashTableCreate().

◆ innerBatchFile

◆ keepNulls

bool HashJoinTableData::keepNulls

Definition at line 316 of file hashjoin.h.

Referenced by ExecHashTableCreate(), MultiExecParallelHash(), and MultiExecPrivateHash().

◆ log2_nbuckets

◆ log2_nbuckets_optimal

int HashJoinTableData::log2_nbuckets_optimal

◆ nbatch

◆ nbatch_original

int HashJoinTableData::nbatch_original

◆ nbatch_outstart

int HashJoinTableData::nbatch_outstart

Definition at line 328 of file hashjoin.h.

Referenced by ExecHashJoinImpl(), ExecHashJoinNewBatch(), and ExecHashTableCreate().

◆ nbuckets

◆ nbuckets_optimal

int HashJoinTableData::nbuckets_optimal

◆ nbuckets_original

int HashJoinTableData::nbuckets_original

Definition at line 303 of file hashjoin.h.

Referenced by ExecHashAccumInstrumentation(), and ExecHashTableCreate().

◆ nSkewBuckets

◆ outer_hashfunctions

FmgrInfo* HashJoinTableData::outer_hashfunctions

Definition at line 351 of file hashjoin.h.

Referenced by ExecHashBuildSkewHash(), ExecHashGetHashValue(), and ExecHashTableCreate().

◆ outerBatchFile

◆ parallel_state

◆ partialTuples

double HashJoinTableData::partialTuples

◆ shared

◆ skewBucket

◆ skewBucketLen

int HashJoinTableData::skewBucketLen

Definition at line 320 of file hashjoin.h.

Referenced by ExecHashBuildSkewHash(), ExecHashGetSkewBucket(), and ExecHashTableCreate().

◆ skewBucketNums

◆ skewEnabled

bool HashJoinTableData::skewEnabled

◆ skewTuples

double HashJoinTableData::skewTuples

Definition at line 334 of file hashjoin.h.

Referenced by ExecHashTableCreate(), ExecHashTableInsert(), and MultiExecPrivateHash().

◆ spaceAllowed

Size HashJoinTableData::spaceAllowed

Definition at line 357 of file hashjoin.h.

Referenced by ExecHashSkewTableInsert(), ExecHashTableCreate(), and ExecHashTableInsert().

◆ spaceAllowedSkew

Size HashJoinTableData::spaceAllowedSkew

Definition at line 360 of file hashjoin.h.

Referenced by ExecHashSkewTableInsert(), and ExecHashTableCreate().

◆ spacePeak

◆ spaceUsed

◆ spaceUsedSkew

Size HashJoinTableData::spaceUsedSkew

◆ spillCxt

◆ totalTuples

double HashJoinTableData::totalTuples

◆ unshared


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