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
 
HashMemoryChunk chunks
 
HashMemoryChunk current_chunk
 
dsa_areaarea
 
ParallelHashJoinStateparallel_state
 
ParallelHashJoinBatchAccessorbatches
 
dsa_pointer current_chunk_shared
 

Detailed Description

Definition at line 284 of file hashjoin.h.

Field Documentation

◆ area

◆ batchCxt

MemoryContext HashJoinTableData::batchCxt

◆ batches

◆ buckets

◆ chunks

◆ collations

Oid* HashJoinTableData::collations

Definition at line 340 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 359 of file hashjoin.h.

Referenced by ExecParallelHashTableSetCurrentBatch(), and ExecParallelHashTupleAlloc().

◆ growEnabled

bool HashJoinTableData::growEnabled

Definition at line 316 of file hashjoin.h.

Referenced by ExecHashIncreaseNumBatches(), and ExecHashTableCreate().

◆ hashCxt

◆ hashStrict

bool* HashJoinTableData::hashStrict

Definition at line 339 of file hashjoin.h.

Referenced by ExecHashGetHashValue(), and ExecHashTableCreate().

◆ inner_hashfunctions

FmgrInfo* HashJoinTableData::inner_hashfunctions

Definition at line 338 of file hashjoin.h.

Referenced by ExecHashGetHashValue(), and ExecHashTableCreate().

◆ innerBatchFile

◆ keepNulls

bool HashJoinTableData::keepNulls

Definition at line 302 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 314 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 289 of file hashjoin.h.

Referenced by ExecHashGetInstrumentation(), and ExecHashTableCreate().

◆ nSkewBuckets

◆ outer_hashfunctions

FmgrInfo* HashJoinTableData::outer_hashfunctions

Definition at line 337 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 306 of file hashjoin.h.

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

◆ skewBucketNums

◆ skewEnabled

bool HashJoinTableData::skewEnabled

◆ skewTuples

double HashJoinTableData::skewTuples

Definition at line 320 of file hashjoin.h.

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

◆ spaceAllowed

Size HashJoinTableData::spaceAllowed

Definition at line 343 of file hashjoin.h.

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

◆ spaceAllowedSkew

Size HashJoinTableData::spaceAllowedSkew

Definition at line 346 of file hashjoin.h.

Referenced by ExecHashSkewTableInsert(), and ExecHashTableCreate().

◆ spacePeak

◆ spaceUsed

◆ spaceUsedSkew

Size HashJoinTableData::spaceUsedSkew

◆ totalTuples

double HashJoinTableData::totalTuples

◆ unshared


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