MySQL  8.0.19
Source Code Documentation
srv_stats_t Struct Reference

#include <srv0srv.h>

Public Types

typedef ib_counter_t< ulint, 64 > ulint_ctr_64_t
 
typedef ib_counter_t< lsn_t, 1, single_indexer_tlsn_ctr_1_t
 
typedef ib_counter_t< ulint, 1, single_indexer_tulint_ctr_1_t
 
typedef ib_counter_t< lint, 1, single_indexer_tlint_ctr_1_t
 
typedef ib_counter_t< int64_t, 1, single_indexer_tint64_ctr_1_t
 

Public Attributes

ulint_ctr_1_t data_written
 Count the amount of data written in total (in bytes) More...
 
ulint_ctr_1_t log_write_requests
 Number of the log write requests done. More...
 
ulint_ctr_1_t log_writes
 Number of physical writes to the log performed. More...
 
lsn_ctr_1_t os_log_written
 Amount of data written to the log files in bytes. More...
 
lint_ctr_1_t os_log_pending_writes
 Number of writes being done to the log files. More...
 
ulint_ctr_1_t log_waits
 We increase this counter, when we don't have enough space in the log buffer and have to flush it. More...
 
ulint_ctr_1_t dblwr_writes
 Count the number of times the doublewrite buffer was flushed. More...
 
ulint_ctr_1_t dblwr_pages_written
 Store the number of pages that have been flushed to the doublewrite buffer. More...
 
ulint_ctr_1_t buf_pool_write_requests
 Store the number of write requests issued. More...
 
ulint_ctr_1_t buf_pool_wait_free
 Store the number of times when we had to wait for a free page in the buffer pool. More...
 
ulint_ctr_1_t buf_pool_flushed
 Count the number of pages that were written from buffer pool to the disk. More...
 
ulint_ctr_1_t buf_pool_reads
 Number of buffer pool reads that led to the reading of a disk page. More...
 
ulint_ctr_1_t data_read
 Number of data read in total (in bytes) More...
 
int64_ctr_1_t n_lock_wait_time
 Wait time of database locks. More...
 
ulint_ctr_1_t n_lock_wait_count
 Number of database lock waits. More...
 
lint_ctr_1_t n_lock_wait_current_count
 Number of threads currently waiting on database locks. More...
 
ulint_ctr_64_t n_rows_read
 Number of rows read. More...
 
ulint_ctr_64_t n_rows_updated
 Number of rows updated. More...
 
ulint_ctr_64_t n_rows_deleted
 Number of rows deleted. More...
 
ulint_ctr_64_t n_rows_inserted
 Number of rows inserted. More...
 
ulint_ctr_64_t n_system_rows_read
 Number of system rows read. More...
 
ulint_ctr_64_t n_system_rows_updated
 Number of system rows updated. More...
 
ulint_ctr_64_t n_system_rows_deleted
 Number of system rows deleted. More...
 
ulint_ctr_64_t n_system_rows_inserted
 Number of system rows inserted. More...
 
ulint_ctr_64_t n_sampled_pages_read
 Number of sampled pages read. More...
 
ulint_ctr_64_t n_sampled_pages_skipped
 Number of sampled pages skipped. More...
 

Member Typedef Documentation

◆ int64_ctr_1_t

◆ lint_ctr_1_t

◆ lsn_ctr_1_t

◆ ulint_ctr_1_t

◆ ulint_ctr_64_t

Member Data Documentation

◆ buf_pool_flushed

ulint_ctr_1_t srv_stats_t::buf_pool_flushed

Count the number of pages that were written from buffer pool to the disk.

◆ buf_pool_reads

ulint_ctr_1_t srv_stats_t::buf_pool_reads

Number of buffer pool reads that led to the reading of a disk page.

◆ buf_pool_wait_free

ulint_ctr_1_t srv_stats_t::buf_pool_wait_free

Store the number of times when we had to wait for a free page in the buffer pool.

It happens when the buffer pool is full and we need to make a flush, in order to be able to read or create a page.

◆ buf_pool_write_requests

ulint_ctr_1_t srv_stats_t::buf_pool_write_requests

Store the number of write requests issued.

◆ data_read

ulint_ctr_1_t srv_stats_t::data_read

Number of data read in total (in bytes)

◆ data_written

ulint_ctr_1_t srv_stats_t::data_written

Count the amount of data written in total (in bytes)

◆ dblwr_pages_written

ulint_ctr_1_t srv_stats_t::dblwr_pages_written

Store the number of pages that have been flushed to the doublewrite buffer.

◆ dblwr_writes

ulint_ctr_1_t srv_stats_t::dblwr_writes

Count the number of times the doublewrite buffer was flushed.

◆ log_waits

ulint_ctr_1_t srv_stats_t::log_waits

We increase this counter, when we don't have enough space in the log buffer and have to flush it.

◆ log_write_requests

ulint_ctr_1_t srv_stats_t::log_write_requests

Number of the log write requests done.

◆ log_writes

ulint_ctr_1_t srv_stats_t::log_writes

Number of physical writes to the log performed.

◆ n_lock_wait_count

ulint_ctr_1_t srv_stats_t::n_lock_wait_count

Number of database lock waits.

◆ n_lock_wait_current_count

lint_ctr_1_t srv_stats_t::n_lock_wait_current_count

Number of threads currently waiting on database locks.

◆ n_lock_wait_time

int64_ctr_1_t srv_stats_t::n_lock_wait_time

Wait time of database locks.

◆ n_rows_deleted

ulint_ctr_64_t srv_stats_t::n_rows_deleted

Number of rows deleted.

◆ n_rows_inserted

ulint_ctr_64_t srv_stats_t::n_rows_inserted

Number of rows inserted.

◆ n_rows_read

ulint_ctr_64_t srv_stats_t::n_rows_read

Number of rows read.

◆ n_rows_updated

ulint_ctr_64_t srv_stats_t::n_rows_updated

Number of rows updated.

◆ n_sampled_pages_read

ulint_ctr_64_t srv_stats_t::n_sampled_pages_read

Number of sampled pages read.

◆ n_sampled_pages_skipped

ulint_ctr_64_t srv_stats_t::n_sampled_pages_skipped

Number of sampled pages skipped.

◆ n_system_rows_deleted

ulint_ctr_64_t srv_stats_t::n_system_rows_deleted

Number of system rows deleted.

◆ n_system_rows_inserted

ulint_ctr_64_t srv_stats_t::n_system_rows_inserted

Number of system rows inserted.

◆ n_system_rows_read

ulint_ctr_64_t srv_stats_t::n_system_rows_read

Number of system rows read.

◆ n_system_rows_updated

ulint_ctr_64_t srv_stats_t::n_system_rows_updated

Number of system rows updated.

◆ os_log_pending_writes

lint_ctr_1_t srv_stats_t::os_log_pending_writes

Number of writes being done to the log files.

◆ os_log_written

lsn_ctr_1_t srv_stats_t::os_log_written

Amount of data written to the log files in bytes.


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