PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
LVRelState Struct Reference

Data Fields

Relation rel
 
Relationindrels
 
int nindexes
 
BufferAccessStrategy bstrategy
 
ParallelVacuumStatepvs
 
bool aggressive
 
bool skipwithvm
 
bool consider_bypass_optimization
 
bool do_index_vacuuming
 
bool do_index_cleanup
 
bool do_rel_truncate
 
struct VacuumCutoffs cutoffs
 
GlobalVisStatevistest
 
TransactionId NewRelfrozenXid
 
MultiXactId NewRelminMxid
 
bool skippedallvis
 
char * dbname
 
char * relnamespace
 
char * relname
 
char * indname
 
BlockNumber blkno
 
OffsetNumber offnum
 
VacErrPhase phase
 
bool verbose
 
TidStoredead_items
 
VacDeadItemsInfodead_items_info
 
BlockNumber rel_pages
 
BlockNumber scanned_pages
 
BlockNumber removed_pages
 
BlockNumber frozen_pages
 
BlockNumber lpdead_item_pages
 
BlockNumber missed_dead_pages
 
BlockNumber nonempty_pages
 
double new_rel_tuples
 
double new_live_tuples
 
IndexBulkDeleteResult ** indstats
 
int num_index_scans
 
int64 tuples_deleted
 
int64 tuples_frozen
 
int64 lpdead_items
 
int64 live_tuples
 
int64 recently_dead_tuples
 
int64 missed_dead_tuples
 
BlockNumber current_block
 
BlockNumber next_unskippable_block
 
bool next_unskippable_allvis
 
Buffer next_unskippable_vmbuffer
 

Detailed Description

Definition at line 134 of file vacuumlazy.c.

Field Documentation

◆ aggressive

bool LVRelState::aggressive

◆ blkno

◆ bstrategy

◆ consider_bypass_optimization

bool LVRelState::consider_bypass_optimization

Definition at line 150 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), lazy_scan_heap(), and lazy_vacuum().

◆ current_block

BlockNumber LVRelState::current_block

Definition at line 213 of file vacuumlazy.c.

Referenced by heap_vac_scan_next_block(), and lazy_scan_heap().

◆ cutoffs

◆ dbname

char* LVRelState::dbname

Definition at line 166 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_check_wraparound_failsafe().

◆ dead_items

◆ dead_items_info

◆ do_index_cleanup

◆ do_index_vacuuming

◆ do_rel_truncate

bool LVRelState::do_rel_truncate

◆ frozen_pages

BlockNumber LVRelState::frozen_pages

Definition at line 191 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_scan_prune().

◆ indname

char* LVRelState::indname

◆ indrels

◆ indstats

◆ live_tuples

int64 LVRelState::live_tuples

Definition at line 208 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), lazy_scan_heap(), lazy_scan_noprune(), and lazy_scan_prune().

◆ lpdead_item_pages

BlockNumber LVRelState::lpdead_item_pages

◆ lpdead_items

int64 LVRelState::lpdead_items

◆ missed_dead_pages

BlockNumber LVRelState::missed_dead_pages

Definition at line 193 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_scan_noprune().

◆ missed_dead_tuples

int64 LVRelState::missed_dead_tuples

Definition at line 210 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), lazy_scan_heap(), and lazy_scan_noprune().

◆ new_live_tuples

double LVRelState::new_live_tuples

Definition at line 198 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_scan_heap().

◆ new_rel_tuples

double LVRelState::new_rel_tuples

Definition at line 197 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), lazy_cleanup_all_indexes(), and lazy_scan_heap().

◆ NewRelfrozenXid

TransactionId LVRelState::NewRelfrozenXid

Definition at line 161 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), lazy_scan_noprune(), and lazy_scan_prune().

◆ NewRelminMxid

MultiXactId LVRelState::NewRelminMxid

Definition at line 162 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), lazy_scan_noprune(), and lazy_scan_prune().

◆ next_unskippable_allvis

bool LVRelState::next_unskippable_allvis

◆ next_unskippable_block

BlockNumber LVRelState::next_unskippable_block

◆ next_unskippable_vmbuffer

Buffer LVRelState::next_unskippable_vmbuffer

◆ nindexes

◆ nonempty_pages

◆ num_index_scans

◆ offnum

◆ phase

◆ pvs

◆ recently_dead_tuples

int64 LVRelState::recently_dead_tuples

Definition at line 209 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), lazy_scan_heap(), lazy_scan_noprune(), and lazy_scan_prune().

◆ rel

◆ rel_pages

◆ relname

◆ relnamespace

char* LVRelState::relnamespace

◆ removed_pages

BlockNumber LVRelState::removed_pages

Definition at line 190 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_truncate_heap().

◆ scanned_pages

BlockNumber LVRelState::scanned_pages

Definition at line 189 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), lazy_cleanup_all_indexes(), and lazy_scan_heap().

◆ skippedallvis

bool LVRelState::skippedallvis

Definition at line 163 of file vacuumlazy.c.

Referenced by heap_vac_scan_next_block(), and heap_vacuum_rel().

◆ skipwithvm

bool LVRelState::skipwithvm

Definition at line 148 of file vacuumlazy.c.

Referenced by find_next_unskippable_block(), and heap_vacuum_rel().

◆ tuples_deleted

int64 LVRelState::tuples_deleted

Definition at line 205 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_scan_prune().

◆ tuples_frozen

int64 LVRelState::tuples_frozen

Definition at line 206 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_scan_prune().

◆ verbose

bool LVRelState::verbose

◆ vistest

GlobalVisState* LVRelState::vistest

Definition at line 159 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_scan_prune().


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