PostgreSQL Source Code git master
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 new_frozen_tuple_pages
 
BlockNumber vm_new_visible_pages
 
BlockNumber vm_new_visible_frozen_pages
 
BlockNumber vm_new_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 188 of file vacuumlazy.c.

Field Documentation

◆ aggressive

bool LVRelState::aggressive

◆ blkno

◆ bstrategy

◆ consider_bypass_optimization

bool LVRelState::consider_bypass_optimization

Definition at line 204 of file vacuumlazy.c.

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

◆ current_block

BlockNumber LVRelState::current_block

Definition at line 282 of file vacuumlazy.c.

Referenced by heap_vac_scan_next_block(), and lazy_scan_heap().

◆ cutoffs

◆ dbname

char* LVRelState::dbname

Definition at line 220 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

◆ indname

char* LVRelState::indname

◆ indrels

◆ indstats

◆ live_tuples

int64 LVRelState::live_tuples

Definition at line 277 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

◆ missed_dead_pages

BlockNumber LVRelState::missed_dead_pages

Definition at line 262 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_scan_noprune().

◆ missed_dead_tuples

int64 LVRelState::missed_dead_tuples

Definition at line 279 of file vacuumlazy.c.

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

◆ new_frozen_tuple_pages

BlockNumber LVRelState::new_frozen_tuple_pages

Definition at line 245 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_scan_prune().

◆ new_live_tuples

double LVRelState::new_live_tuples

Definition at line 267 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_scan_heap().

◆ new_rel_tuples

double LVRelState::new_rel_tuples

Definition at line 266 of file vacuumlazy.c.

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

◆ NewRelfrozenXid

TransactionId LVRelState::NewRelfrozenXid

Definition at line 215 of file vacuumlazy.c.

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

◆ NewRelminMxid

MultiXactId LVRelState::NewRelminMxid

Definition at line 216 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 278 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 244 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_truncate_heap().

◆ scanned_pages

BlockNumber LVRelState::scanned_pages

Definition at line 243 of file vacuumlazy.c.

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

◆ skippedallvis

bool LVRelState::skippedallvis

Definition at line 217 of file vacuumlazy.c.

Referenced by heap_vac_scan_next_block(), and heap_vacuum_rel().

◆ skipwithvm

bool LVRelState::skipwithvm

Definition at line 202 of file vacuumlazy.c.

Referenced by find_next_unskippable_block(), and heap_vacuum_rel().

◆ tuples_deleted

int64 LVRelState::tuples_deleted

Definition at line 274 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_scan_prune().

◆ tuples_frozen

int64 LVRelState::tuples_frozen

Definition at line 275 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_scan_prune().

◆ verbose

bool LVRelState::verbose

◆ vistest

GlobalVisState* LVRelState::vistest

Definition at line 213 of file vacuumlazy.c.

Referenced by heap_vacuum_rel(), and lazy_scan_prune().

◆ vm_new_frozen_pages

BlockNumber LVRelState::vm_new_frozen_pages

◆ vm_new_visible_frozen_pages

BlockNumber LVRelState::vm_new_visible_frozen_pages

◆ vm_new_visible_pages

BlockNumber LVRelState::vm_new_visible_pages

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