MySQL 8.0.40
Source Code Documentation
|
The buffer pool statistics structure. More...
#include <buf0buf.h>
Public Types | |
using | Shards = Counter::Shards< 64 > |
Public Member Functions | |
void | reset () |
Static Public Member Functions | |
static void | copy (buf_pool_stat_t &dst, const buf_pool_stat_t &src) noexcept |
Public Attributes | |
Shards | m_n_page_gets |
Number of page gets performed; also successful searches through the adaptive hash index are counted as page gets; this field is NOT protected by the buffer pool mutex. More... | |
std::atomic< uint64_t > | n_pages_read |
Number of read operations. More... | |
std::atomic< uint64_t > | n_pages_written |
Number of write operations. More... | |
std::atomic< uint64_t > | n_pages_created |
number of pages created in the pool with no read. More... | |
std::atomic< uint64_t > | n_ra_pages_read_rnd |
Number of pages read in as part of random read ahead. More... | |
std::atomic< uint64_t > | n_ra_pages_read |
Number of pages read in as part of read ahead. More... | |
uint64_t | n_ra_pages_evicted |
Number of read ahead pages that are evicted without being accessed. More... | |
uint64_t | n_pages_made_young |
Number of pages made young, in calls to buf_LRU_make_block_young(). More... | |
uint64_t | n_pages_not_made_young |
Number of pages not made young because the first access was not long enough ago, in buf_page_peek_if_too_old(). More... | |
uint64_t | LRU_bytes |
LRU size in bytes. More... | |
uint64_t | flush_list_bytes |
Flush_list size in bytes. More... | |
The buffer pool statistics structure.
using buf_pool_stat_t::Shards = Counter::Shards<64> |
|
inlinestaticnoexcept |
|
inline |
uint64_t buf_pool_stat_t::flush_list_bytes |
Flush_list size in bytes.
Protected by flush_list_mutex
uint64_t buf_pool_stat_t::LRU_bytes |
LRU size in bytes.
Protected by LRU_list_mutex.
Shards buf_pool_stat_t::m_n_page_gets |
Number of page gets performed; also successful searches through the adaptive hash index are counted as page gets; this field is NOT protected by the buffer pool mutex.
std::atomic<uint64_t> buf_pool_stat_t::n_pages_created |
number of pages created in the pool with no read.
uint64_t buf_pool_stat_t::n_pages_made_young |
Number of pages made young, in calls to buf_LRU_make_block_young().
Protected by LRU_list_mutex.
uint64_t buf_pool_stat_t::n_pages_not_made_young |
Number of pages not made young because the first access was not long enough ago, in buf_page_peek_if_too_old().
Not protected.
std::atomic<uint64_t> buf_pool_stat_t::n_pages_read |
Number of read operations.
std::atomic<uint64_t> buf_pool_stat_t::n_pages_written |
Number of write operations.
uint64_t buf_pool_stat_t::n_ra_pages_evicted |
Number of read ahead pages that are evicted without being accessed.
Protected by LRU_list_mutex.
std::atomic<uint64_t> buf_pool_stat_t::n_ra_pages_read |
Number of pages read in as part of read ahead.
std::atomic<uint64_t> buf_pool_stat_t::n_ra_pages_read_rnd |
Number of pages read in as part of random read ahead.