|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Functions | |
| MemoizeState * | ExecInitMemoize (Memoize *node, EState *estate, int eflags) |
| void | ExecEndMemoize (MemoizeState *node) |
| void | ExecReScanMemoize (MemoizeState *node) |
| double | ExecEstimateCacheEntryOverheadBytes (double ntuples) |
| void | ExecMemoizeEstimate (MemoizeState *node, ParallelContext *pcxt) |
| void | ExecMemoizeInitializeDSM (MemoizeState *node, ParallelContext *pcxt) |
| void | ExecMemoizeInitializeWorker (MemoizeState *node, ParallelWorkerContext *pwcxt) |
| void | ExecMemoizeRetrieveInstrumentation (MemoizeState *node) |
|
extern |
Definition at line 1080 of file nodeMemoize.c.
References Assert, CACHE_TUPLE_BYTES, EMPTY_ENTRY_MEMORY_BYTES, ExecEndNode(), fb(), MemoizeState::hashtable, i, IsParallelWorker, MemoizeInstrumentation::mem_peak, MemoizeState::mem_used, MemoryContextDelete(), MemoizeTuple::next, outerPlanState, ParallelWorkerNumber, MemoizeState::shared_info, SharedMemoizeInfo::sinstrument, MemoizeState::stats, MemoizeState::tableContext, and MemoizeEntry::tuplehead.
Referenced by ExecEndNode().
Definition at line 1172 of file nodeMemoize.c.
Referenced by cost_memoize_rescan().
|
extern |
Definition at line 952 of file nodeMemoize.c.
References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, Assert, Memoize::binary_mode, CurrentMemoryContext, dlist_init(), elog, ERROR, EXEC_FLAG_BACKWARD, EXEC_FLAG_MARK, ExecAssignExprContext(), ExecBuildParamSetEqual(), ExecCreateScanSlotFromOuterPlan(), ExecInitExpr(), ExecInitNode(), ExecInitResultTupleSlotTL(), ExecMemoize(), ExecTypeFromExprList(), fb(), fmgr_info(), get_hash_memory_limit(), get_op_hash_functions(), get_opcode(), i, Memoize::keyparamids, list_nth(), makeNode, MakeSingleTupleTableSlot(), MEMO_CACHE_LOOKUP, Memoize::numKeys, outerPlan, outerPlanState, palloc(), Memoize::param_exprs, pfree(), Memoize::singlerow, TTSOpsMinimalTuple, and TTSOpsVirtual.
Referenced by ExecInitNode().
|
extern |
Definition at line 1190 of file nodeMemoize.c.
References add_size(), ParallelContext::estimator, fb(), PlanState::instrument, mul_size(), ParallelContext::nworkers, ScanState::ps, shm_toc_estimate_chunk, shm_toc_estimate_keys, and MemoizeState::ss.
Referenced by ExecParallelEstimate().
|
extern |
Definition at line 1211 of file nodeMemoize.c.
References fb(), PlanState::instrument, SharedMemoizeInfo::num_workers, ParallelContext::nworkers, PlanState::plan, Plan::plan_node_id, ScanState::ps, MemoizeState::shared_info, shm_toc_allocate(), shm_toc_insert(), MemoizeState::ss, and ParallelContext::toc.
Referenced by ExecParallelInitializeDSM().
|
extern |
Definition at line 1236 of file nodeMemoize.c.
References fb(), PlanState::plan, Plan::plan_node_id, ScanState::ps, MemoizeState::shared_info, shm_toc_lookup(), and MemoizeState::ss.
Referenced by ExecParallelInitializeWorker().
|
extern |
Definition at line 1249 of file nodeMemoize.c.
References fb(), SharedMemoizeInfo::num_workers, palloc(), and MemoizeState::shared_info.
Referenced by ExecParallelRetrieveInstrumentation().
|
extern |
Definition at line 1140 of file nodeMemoize.c.
References bms_nonempty_difference(), cache_purge_all(), MemoizeState::entry, ExecReScan(), fb(), MemoizeState::keyparamids, MemoizeState::last_tuple, MEMO_CACHE_LOOKUP, MemoizeState::mstatus, outerPlan, and outerPlanState.
Referenced by ExecReScan().