CUBRID Engine  latest
vacuum_data Struct Reference
Collaboration diagram for vacuum_data:
Collaboration graph

Public Member Functions

 vacuum_data ()
 
bool is_empty () const
 
bool has_one_page () const
 
VACUUM_LOG_BLOCKID get_last_blockid () const
 
VACUUM_LOG_BLOCKID get_first_blockid () const
 
void set_last_blockid (VACUUM_LOG_BLOCKID blockid)
 
void update ()
 
void set_oldest_unvacuumed_on_boot ()
 

Public Attributes

VFID vacuum_data_file
 
LOG_PAGEID keep_from_log_pageid
 
MVCCID oldest_unvacuumed_mvccid
 
VACUUM_DATA_PAGEfirst_page
 
VACUUM_DATA_PAGElast_page
 
int page_data_max_count
 
int log_block_npages
 
bool is_loaded
 
vacuum_shutdown_sequence shutdown_sequence
 
bool is_archive_removal_safe
 
LOG_LSA recovery_lsa
 
bool is_restoredb_session
 

Private Member Functions

const VACUUM_DATA_ENTRYget_first_entry () const
 
void upgrade_oldest_unvacuumed (MVCCID mvccid)
 

Private Attributes

VACUUM_LOG_BLOCKID m_last_blockid
 

Detailed Description

Definition at line 360 of file vacuum.c.

Constructor & Destructor Documentation

vacuum_data::vacuum_data ( )
inline

Definition at line 388 of file vacuum.c.

References vacuum_data_entry::blockid.

Member Function Documentation

VACUUM_LOG_BLOCKID vacuum_data::get_first_blockid ( ) const
const VACUUM_DATA_ENTRY & vacuum_data::get_first_entry ( ) const
private

Definition at line 7933 of file vacuum.c.

References assert.

bool vacuum_data::has_one_page ( ) const

Definition at line 7911 of file vacuum.c.

bool vacuum_data::is_empty ( ) const

Definition at line 7905 of file vacuum.c.

Referenced by vacuum_job_cursor::readjust_to_vacuum_data_changes(), set_oldest_unvacuumed_on_boot(), update(), and xvacuum().

Here is the caller graph for this function:

void vacuum_data::set_oldest_unvacuumed_on_boot ( )

Definition at line 7985 of file vacuum.c.

References assert, log_header::does_block_need_vacuum, log_global::hdr, is_empty(), log_Gl, log_header::mvcc_next_id, and log_header::oldest_visible_mvccid.

Referenced by vacuum_data_load_and_recover().

Here is the caller graph for this function:

void vacuum_data::update ( )
void vacuum_data::upgrade_oldest_unvacuumed ( MVCCID  mvccid)
private

Definition at line 8006 of file vacuum.c.

References assert.

Member Data Documentation

bool vacuum_data::is_archive_removal_safe
bool vacuum_data::is_restoredb_session

Definition at line 382 of file vacuum.c.

Referenced by vacuum_initialize(), and vacuum_sa_reflect_last_blockid().

LOG_PAGEID vacuum_data::keep_from_log_pageid

Definition at line 364 of file vacuum.c.

Referenced by vacuum_min_log_pageid_to_keep(), and vacuum_update_keep_from_log_pageid().

int vacuum_data::log_block_npages
VACUUM_LOG_BLOCKID vacuum_data::m_last_blockid
private

Definition at line 424 of file vacuum.c.

LOG_LSA vacuum_data::recovery_lsa

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