Details
-
Task
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
Description
It could be interresting to be able to reset some of the global statuts values in case some important changes has been made to the MariaDB configuration, on the OS or on the applications using the server and you want to monitor how MariaDB is behaving with the new settings without restarting MariaDB.
For example, these variables could be reset with a FLUSH GLOBAL STATUS : Bytes_received, Bytes_sent, Com_%, Connections, Created_tmp_%, Handler_%, Opened_%, Sort_%, Rows_%, queries, Questions, Select_%.
An old bug/feature request on MySQL for it : http://bugs.mysql.com/bug.php?id=22875.
Attachments
Issue Links
- is part of
-
MDEV-33145 Add FLUSH GLOBAL STATUS
-
- Closed
-
- links to
It would be great if every status variable that counts actions got flushed when running FLUSH GLOBAL STATUS, such as this sampling of status variables that are not flushed in 10.0.38, 10.1.38, 10.2.23, 10.3.13, 10.4.3:
Binlog_commits
Binlog_group_commits
Bytes_received
Bytes_sent
Innodb_buffer_pool_pages_flushed
Innodb_buffer_pool_read_ahead_evicted
Innodb_buffer_pool_read_requests
Innodb_buffer_pool_reads
Innodb_buffer_pool_write_requests
Innodb_data_read
Innodb_data_reads
Innodb_dblwr_pages_written
Innodb_dblwr_writes
Innodb_log_writes
Innodb_os_log_fsyncs
Innodb_os_log_written
Innodb_pages_created
Innodb_pages_read
Innodb_pages_written
Innodb_s_lock_os_waits
Innodb_s_lock_spin_waits
Innodb_x_lock_os_waits
Innodb_x_lock_spin_waits
Opened_files
Queries
Syncs
Threads_created