PostgreSQL Source Code
git master
|
Definition at line 134 of file vacuumlazy.c.
bool LVRelState::aggressive |
Definition at line 146 of file vacuumlazy.c.
Referenced by find_next_unskippable_block(), heap_vacuum_rel(), lazy_scan_heap(), and lazy_scan_noprune().
BlockNumber LVRelState::blkno |
Definition at line 170 of file vacuumlazy.c.
Referenced by lazy_scan_heap(), lazy_truncate_heap(), lazy_vacuum_heap_rel(), restore_vacuum_error_info(), update_vacuum_error_info(), and vacuum_error_callback().
BufferAccessStrategy LVRelState::bstrategy |
Definition at line 142 of file vacuumlazy.c.
Referenced by count_nondeletable_pages(), dead_items_alloc(), heap_vacuum_rel(), lazy_check_wraparound_failsafe(), lazy_cleanup_one_index(), lazy_scan_heap(), lazy_vacuum_heap_rel(), and lazy_vacuum_one_index().
bool LVRelState::consider_bypass_optimization |
Definition at line 150 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), lazy_scan_heap(), and lazy_vacuum().
BlockNumber LVRelState::current_block |
Definition at line 213 of file vacuumlazy.c.
Referenced by heap_vac_scan_next_block(), and lazy_scan_heap().
struct VacuumCutoffs LVRelState::cutoffs |
Definition at line 155 of file vacuumlazy.c.
Referenced by heap_page_is_all_visible(), heap_vacuum_rel(), lazy_check_wraparound_failsafe(), lazy_scan_noprune(), and lazy_scan_prune().
char* LVRelState::dbname |
Definition at line 166 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), and lazy_check_wraparound_failsafe().
TidStore* LVRelState::dead_items |
Definition at line 185 of file vacuumlazy.c.
Referenced by dead_items_add(), dead_items_alloc(), dead_items_reset(), lazy_scan_heap(), lazy_vacuum(), lazy_vacuum_heap_rel(), and lazy_vacuum_one_index().
VacDeadItemsInfo* LVRelState::dead_items_info |
Definition at line 186 of file vacuumlazy.c.
Referenced by dead_items_add(), dead_items_alloc(), dead_items_reset(), lazy_scan_heap(), lazy_vacuum(), lazy_vacuum_all_indexes(), lazy_vacuum_heap_rel(), and lazy_vacuum_one_index().
bool LVRelState::do_index_cleanup |
Definition at line 154 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), lazy_check_wraparound_failsafe(), lazy_cleanup_all_indexes(), lazy_scan_heap(), lazy_vacuum(), lazy_vacuum_all_indexes(), lazy_vacuum_heap_rel(), and update_relstats_all_indexes().
bool LVRelState::do_index_vacuuming |
Definition at line 153 of file vacuumlazy.c.
Referenced by dead_items_alloc(), heap_vacuum_rel(), lazy_check_wraparound_failsafe(), lazy_scan_heap(), lazy_vacuum(), lazy_vacuum_all_indexes(), lazy_vacuum_heap_page(), and lazy_vacuum_heap_rel().
bool LVRelState::do_rel_truncate |
Definition at line 155 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), lazy_check_wraparound_failsafe(), and should_attempt_truncation().
BlockNumber LVRelState::frozen_pages |
Definition at line 191 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), and lazy_scan_prune().
char* LVRelState::indname |
Definition at line 169 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), lazy_cleanup_one_index(), lazy_vacuum_one_index(), and vacuum_error_callback().
Relation* LVRelState::indrels |
Definition at line 138 of file vacuumlazy.c.
Referenced by dead_items_alloc(), heap_vacuum_rel(), lazy_cleanup_all_indexes(), lazy_vacuum_all_indexes(), and update_relstats_all_indexes().
IndexBulkDeleteResult** LVRelState::indstats |
Definition at line 200 of file vacuumlazy.c.
Referenced by dead_items_cleanup(), heap_vacuum_rel(), lazy_cleanup_all_indexes(), lazy_vacuum_all_indexes(), and update_relstats_all_indexes().
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().
BlockNumber LVRelState::lpdead_item_pages |
Definition at line 192 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), lazy_scan_noprune(), lazy_scan_prune(), lazy_vacuum(), and lazy_vacuum_heap_rel().
int64 LVRelState::lpdead_items |
Definition at line 207 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), lazy_scan_noprune(), lazy_scan_prune(), lazy_vacuum(), lazy_vacuum_all_indexes(), and lazy_vacuum_heap_rel().
BlockNumber LVRelState::missed_dead_pages |
Definition at line 193 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), and lazy_scan_noprune().
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().
double LVRelState::new_live_tuples |
Definition at line 198 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), and lazy_scan_heap().
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().
TransactionId LVRelState::NewRelfrozenXid |
Definition at line 161 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), lazy_scan_noprune(), and lazy_scan_prune().
MultiXactId LVRelState::NewRelminMxid |
Definition at line 162 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), lazy_scan_noprune(), and lazy_scan_prune().
bool LVRelState::next_unskippable_allvis |
Definition at line 215 of file vacuumlazy.c.
Referenced by find_next_unskippable_block(), heap_vac_scan_next_block(), and lazy_scan_heap().
BlockNumber LVRelState::next_unskippable_block |
Definition at line 214 of file vacuumlazy.c.
Referenced by find_next_unskippable_block(), heap_vac_scan_next_block(), and lazy_scan_heap().
Buffer LVRelState::next_unskippable_vmbuffer |
Definition at line 216 of file vacuumlazy.c.
Referenced by find_next_unskippable_block(), heap_vac_scan_next_block(), and lazy_scan_heap().
int LVRelState::nindexes |
Definition at line 139 of file vacuumlazy.c.
Referenced by dead_items_alloc(), heap_vacuum_rel(), lazy_cleanup_all_indexes(), lazy_scan_heap(), lazy_scan_noprune(), lazy_scan_prune(), lazy_vacuum(), lazy_vacuum_all_indexes(), and update_relstats_all_indexes().
BlockNumber LVRelState::nonempty_pages |
Definition at line 194 of file vacuumlazy.c.
Referenced by count_nondeletable_pages(), heap_vacuum_rel(), lazy_scan_noprune(), lazy_scan_prune(), lazy_truncate_heap(), and should_attempt_truncation().
int LVRelState::num_index_scans |
Definition at line 203 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), lazy_check_wraparound_failsafe(), lazy_cleanup_all_indexes(), lazy_vacuum(), lazy_vacuum_all_indexes(), and lazy_vacuum_heap_rel().
OffsetNumber LVRelState::offnum |
Definition at line 171 of file vacuumlazy.c.
Referenced by heap_page_is_all_visible(), lazy_scan_noprune(), lazy_scan_prune(), restore_vacuum_error_info(), update_vacuum_error_info(), and vacuum_error_callback().
VacErrPhase LVRelState::phase |
Definition at line 172 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), restore_vacuum_error_info(), update_vacuum_error_info(), and vacuum_error_callback().
ParallelVacuumState* LVRelState::pvs |
Definition at line 143 of file vacuumlazy.c.
Referenced by dead_items_alloc(), dead_items_cleanup(), dead_items_reset(), lazy_cleanup_all_indexes(), and lazy_vacuum_all_indexes().
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().
Relation LVRelState::rel |
Definition at line 137 of file vacuumlazy.c.
Referenced by count_nondeletable_pages(), dead_items_alloc(), find_next_unskippable_block(), heap_page_is_all_visible(), heap_vacuum_rel(), lazy_cleanup_one_index(), lazy_scan_heap(), lazy_scan_new_or_empty(), lazy_scan_noprune(), lazy_scan_prune(), lazy_truncate_heap(), lazy_vacuum_all_indexes(), lazy_vacuum_heap_page(), lazy_vacuum_heap_rel(), and lazy_vacuum_one_index().
BlockNumber LVRelState::rel_pages |
Definition at line 188 of file vacuumlazy.c.
Referenced by count_nondeletable_pages(), find_next_unskippable_block(), heap_vac_scan_next_block(), heap_vacuum_rel(), lazy_cleanup_all_indexes(), lazy_scan_heap(), lazy_truncate_heap(), lazy_vacuum(), and should_attempt_truncation().
char* LVRelState::relname |
Definition at line 168 of file vacuumlazy.c.
Referenced by count_nondeletable_pages(), dead_items_alloc(), heap_vacuum_rel(), lazy_check_wraparound_failsafe(), lazy_scan_prune(), lazy_truncate_heap(), lazy_vacuum_heap_rel(), and vacuum_error_callback().
char* LVRelState::relnamespace |
Definition at line 167 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), lazy_check_wraparound_failsafe(), and vacuum_error_callback().
BlockNumber LVRelState::removed_pages |
Definition at line 190 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), and lazy_truncate_heap().
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().
bool LVRelState::skippedallvis |
Definition at line 163 of file vacuumlazy.c.
Referenced by heap_vac_scan_next_block(), and heap_vacuum_rel().
bool LVRelState::skipwithvm |
Definition at line 148 of file vacuumlazy.c.
Referenced by find_next_unskippable_block(), and heap_vacuum_rel().
int64 LVRelState::tuples_deleted |
Definition at line 205 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), and lazy_scan_prune().
int64 LVRelState::tuples_frozen |
Definition at line 206 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), and lazy_scan_prune().
bool LVRelState::verbose |
Definition at line 173 of file vacuumlazy.c.
Referenced by count_nondeletable_pages(), dead_items_alloc(), heap_vacuum_rel(), and lazy_truncate_heap().
GlobalVisState* LVRelState::vistest |
Definition at line 159 of file vacuumlazy.c.
Referenced by heap_vacuum_rel(), and lazy_scan_prune().