MySQL 26.7.0
Source Code Documentation
mysql::csa::Statistics_map Class Reference

Supported statistics: More...

#include <statistics_map.h>

Static Public Member Functions

static bool init_statistics (std::size_t instance_id, std::size_t num_threads, bool enable_extended_statistics)
 

Static Public Attributes

static constexpr auto active_job_cnt = "active_job_cnt"
 
static constexpr auto active_trx_cnt = "active_trx_cnt"
 
static constexpr auto committed_cnt = "committed_cnt"
 
static constexpr auto trx_exec_time = "trx_exec_time"
 
static constexpr auto worker_session = "worker_session"
 
static constexpr auto session_worker = "session_worker"
 
static constexpr auto trx_provided_cnt = "trx_provided_cnt"
 
static constexpr auto trx_scheduled_cnt = "trx_scheduled_cnt"
 
static constexpr auto ap_queue_size = "ap_queue_size"
 
static constexpr auto applied_events_cnt = "applied_events_cnt"
 

Detailed Description

Supported statistics:

  • active_job_cnt - the number of currently executed jobs by thread pool workers (equal to active workers)
  • active_trx_cnt - the number of currently applied transactions (started transactions, active until "commit", regardless possible wait on commit order)
  • committed_cnt - transactions committted count
  • trx_exec_time - transactions execution time (all transactions executed for a particular instance id / channel id)
  • worker_session - session ids currently utilized by workers
  • session_worker - workers that currently work on a given session
  • trx_provided_cnt - provided transaction count (e.g. read)
  • trx_scheduled_cnt - scheduled transaction count
  • ap_queue_size - asynchronous provider queue size
  • applied_events_cnt - the overall, and ever-increasing, number of applied events

Member Function Documentation

◆ init_statistics()

bool mysql::csa::Statistics_map::init_statistics ( std::size_t  instance_id,
std::size_t  num_threads,
bool  enable_extended_statistics 
)
static

Member Data Documentation

◆ active_job_cnt

constexpr auto mysql::csa::Statistics_map::active_job_cnt = "active_job_cnt"
staticconstexpr

◆ active_trx_cnt

constexpr auto mysql::csa::Statistics_map::active_trx_cnt = "active_trx_cnt"
staticconstexpr

◆ ap_queue_size

constexpr auto mysql::csa::Statistics_map::ap_queue_size = "ap_queue_size"
staticconstexpr

◆ applied_events_cnt

constexpr auto mysql::csa::Statistics_map::applied_events_cnt = "applied_events_cnt"
staticconstexpr

◆ committed_cnt

constexpr auto mysql::csa::Statistics_map::committed_cnt = "committed_cnt"
staticconstexpr

◆ session_worker

constexpr auto mysql::csa::Statistics_map::session_worker = "session_worker"
staticconstexpr

◆ trx_exec_time

constexpr auto mysql::csa::Statistics_map::trx_exec_time = "trx_exec_time"
staticconstexpr

◆ trx_provided_cnt

constexpr auto mysql::csa::Statistics_map::trx_provided_cnt = "trx_provided_cnt"
staticconstexpr

◆ trx_scheduled_cnt

constexpr auto mysql::csa::Statistics_map::trx_scheduled_cnt = "trx_scheduled_cnt"
staticconstexpr

◆ worker_session

constexpr auto mysql::csa::Statistics_map::worker_session = "worker_session"
staticconstexpr

The documentation for this class was generated from the following files: