Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Optimize MariaDB Server with system variables, configuring various parameters to fine-tune performance, manage resources, and adapt the database to your specific workload requirements.
MariaDB 5.3 and beyond have a number of features that are targeted at big queries and so are disabled by default.
This page describes recommended settings for IO-bound queries that shovel through lots of records.
First, turn on Batched Key Access:
# Turn on disk-ordered reads
optimizer_switch='mrr=on'
optimizer_switch='mrr_cost_based=off'
# Turn on Batched Key Access (BKA)
join_cache_level = 6Give BKA buffer space to operate on. Ideally, it should have enough space to fit all the data examined by the query.
# Size limit for the whole join
join_buffer_space_limit = 300M
# Limit for each individual table
join_buffer_size = 100MTurn on index_merge/sort-intersection:
optimizer_switch='index_merge_sort_intersection=on'If your queries examine big fraction of the tables (somewhere more than ~ 30%), turn on :
# Turn on both Hash Join and Batched Key Access
join_cache_level = 8This page is licensed: CC BY-SA / Gnu FDL
Discover system and status variables added by major MariaDB Server releases. This section helps you track new configuration options and monitoring metrics introduced in different versions.
Discover system and status variables added by major unmaintained MariaDB Server releases. This section provides insights into parameters from older versions, useful for understanding historical config
Systems that get too busy can return the too_many_connections error.
When the number of threads_connected exceeds the max_connections server variable, it's time to make a change. Viewing the threads_connected status variable shows only the current number of connections, but it's more useful to see what the value has peaked at, and this is shown by the max_used_connections status variable.
This error may be a symptom of slow queries and other bottlenecks, but if the system is running smoothly this can be addressed by increasing the value of max_connections.
This page is licensed: CC BY-SA / Gnu FDL
is a variable which determines the size of the index buffers held in memory, which affects the speed of index reads. Note that Aria tables by default make use of an alternative setting, .
A good rule of thumb for servers consisting particularly of MyISAM tables is for about 25% or more of the available server memory to be dedicated to the key buffer.
A good way to determine whether to adjust the value is to compare the value, which is the total value of requests to read an index, and the values, the total number of requests that had to be read from disk.
The ratio of key_reads to key_read_requests should be as low as possible, 1:100 is the highest acceptable, 1:1000 is better, and 1:10 is terrible.
The effective maximum size might be lower than what is set, depending on the server's available physical RAM and the per-process limit determined by the operating system.
If you don't make use of MyISAM tables at all, you can set this to a very low value, such as 64K.
This page is licensed: CC BY-SA / Gnu FDL
Place holder for sample my.cnf files, customized for different memory size and storage engines. In addition, we'd like to hear from you what works for you, so the knowledge can be crowd-sourced and shared.
This page is licensed: CC BY-SA / Gnu FDL
Description: Created when the OQGRAPH storage engine is installed, if set to 1 (0 is default), permits the latch field to be an integer (see OQGRAPH Overview). This deprecated feature was removed in .
Scope: Global
Dynamic: Yes
Data Type: boolean
Default Value: 0
Removed: .
Description: OQGRAPH boost version.
Scope: Global, Session
Data Type: string
Description: Whether or not legacy tables with integer latches are supported.
Scope: Global, Session
Data Type: string
Description: Whether or not verbose debugging is enabled. If it is, performance may be adversely impacted
Scope: Global, Session
Data Type: string
This page is licensed: CC BY-SA / Gnu FDL
Resizing the buffer pool is performed in chunks determined by the size of the innodb_buffer_pool_chunk_size variable.
The resize operation waits until all active transactions and operations are completed, and new transactions and operations that need to access the buffer pool must wait until the resize is complete (although when decreasing the size, access is permitted when defragmenting and withdrawing pages).
Nested transactions may fail if started after the buffer pool resize has begun.
The new buffer pool size must be a multiple of innodb_buffer_pool_chunk_size * innodb_buffer_pool_instances (note that innodb_buffer_pool_instances is ignored from , and removed in MariaDB 10.6, as the buffer pool is no longer split into multiple instances). If you attempt to set a different figure, the value is automatically adjusted to a multiple of at least the attempted size. Note that adjusting the innodb_buffer_pool_chunk_size setting can result in a change in the buffer pool size.
The number of chunks as calculated by innodb_buffer_pool_size / innodb_buffer_pool_chunk_size should not exceed 1000 in order to avoid performance issues.
A background thread performs the resizing operation. The Innodb_buffer_pool_resize_status status variable shows the progress of the resizing operation, for example:
SHOW STATUS LIKE 'Innodb_buffer_pool_resize_status';
+----------------------------------+----------------------------------+
| Variable_name | Value |
+----------------------------------+----------------------------------+
| Innodb_buffer_pool_resize_status | Resizing also other hash tables. |
+----------------------------------+----------------------------------+or
Progress is also logged in the .
This page is licensed: CC BY-SA / Gnu FDL
MariaDB contains many new options and optimizations which, for compatibility or other reasons, are not enabled in the default install. Enabling them helps you gain extra performance from the same hardware when upgrading from MySQL to MariaDB. This article contains information on options and settings which you should enable, or at least look in to, when making the switch.
aria-pagecache-buffer-size=##If you are using a log of on-disk temporary tables, increase the above to as much as you can afford. See Aria Storage Engine for more details.
key-cache-segments=8If you use/have a lot of MyISAM files, increase the above to 4 or 8. See Segmented Key Cache and for more information.
thread-handling=pool-of-threadsThreadpool is a great way to increase performance in situations where queries are relatively short and the load is CPU bound (e.g. OLTP workloads). To enable it, add the above to your my.cnf file. See Threadpool in 5.5 for more information.
This page is licensed: CC BY-SA / Gnu FDL
This is a list of system variables that have been added in the MariaDB 12.0 series.
This page is licensed: CC BY-SA / Gnu FDL
This is a list of system variables that have been added in the series.
This page is licensed: CC BY-SA / Gnu FDL
This is a list of system variables that have been added in the series.
This page is licensed: CC BY-SA / Gnu FDL
This is a list of status variables that were added in the series.
This page is licensed: CC BY-SA / Gnu FDL
For system variables added since the previous long-term release, MariaDB 11.4, see:
This page is licensed: CC BY-SA / Gnu FDL
This is a list of status variables that were added in the MariaDB 11.4 series.
For status variables added since the previous long-term release, MariaDB 10.11, see:
This page is licensed: CC BY-SA / Gnu FDL
The following status variables are associated with the . See for a complete list of status variables that can be viewed with .
See also the .
Spider_direct_aggregateDescription: Number of times direct aggregate has happened in spider. That is, in a partitioned spider table, instead of scanning individual rows in remote tables corresponding to partitions for aggregation functions like
This is a list of that have been added in the series.
This is a list of that have been added in the series.
This is a list of that have been added in the series.
For system variables that have been removed or deprecated, see .
This page is licensed: CC BY-SA / Gnu FDL
SUMCOUNTScope: Global, Session
Data Type: numeric
Description:
Scope: Global, Session
Data Type: numeric
Introduced:
Description:
Scope: Global, Session
Data Type: numeric
Description:
Scope: Global, Session
Data Type: numeric
Introduced:
Description: The version of the spider monitoring table cache, always less than or equal to Spider_mon_table_cache_version_req. If the inequality is strict, then the cache is refreshed when the spider udf spider_ping_table is called. When the cache is refreshed, the value of Spider_mon_table_cache_version is brought up to be the same value as Spider_mon_table_cache_version_req.
Scope: Global, Session
Initial value: 0
Data Type: numeric
Description: The required version of the spider monitoring table cache. A call to the spider udf spider_flush_table_mon_cache will cause its value to be incremented by one, thus ensuring a refresh of the cache will happen when needed.
Scope: Global, Session
Initial value: 1
Data Type: numeric
Description:
Scope: Global, Session
Data Type: numeric
Introduced:
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
SHOW STATUS LIKE 'Innodb_buffer_pool_resize_status';
+----------------------------------+----------------------------------------------------+
| Variable_name | Value |
+----------------------------------+----------------------------------------------------+
| Innodb_buffer_pool_resize_status | Completed resizing buffer pool at 161103 16:26:54. |
+----------------------------------+----------------------------------------------------+This is a list of system variables that have been added in the MariaDB 10.6 series. The list does not include variables that are not part of the default release.
For system variables that have been removed or deprecated, see .
This page is licensed: CC BY-SA / Gnu FDL
This is a list of status variables that were added in the series.
This page is licensed: CC BY-SA / Gnu FDL
This is a list of system variables that have been added in the series.
This page is licensed: CC BY-SA / Gnu FDL
This is a list of status variables that were added in the series.
This page is licensed: CC BY-SA / Gnu FDL
A segmented key cache is a collection of structures for regular key caches called key cache segments. Segmented key caches mitigate one of the major problems of the simple key cache: thread contention for key cache lock (mutex). With regular key caches, every call of a key cache interface function must acquire this lock. So threads compete for this lock even in the case when they have acquired shared locks for the file and the pages they want to read from are in the key cache buffers.
When working with a segmented key cache any key cache interface function that needs only one page has to acquire the key cache lock only for the segment the page is assigned to. This makes the chances for threads not having to compete for the same key cache lock better.
Any page from a file can be placed into a buffer of only one segment. The number of the segment is calculated from the file number and the position of the page in the file, and it's always the same for the page. Pages are evenly distributed among segments.
This is a list of that have been added in the series.
This is a list of that were added in the series.
The list excludes variables related to non-default storage engines and plugins that can be added to :
This is a list of that have been added in the series.
You can find some benchmark results comparing various settings on the page.
New global variable: key_cache_segments. This variable sets the number of segments in a key cache. Valid values for this variable are whole numbers between 0 and 64. If the number of segments is set to a number greater than 64 the number of segments will be truncated to 64 and a warning will be issued. A value of 0 means the key cache is a regular (i.e. non-segmented)
key cache. This is the default. If key_cache_segments is1 (or higher) then the new key cache segmentation code is used. In practice there is no practical use of a single-segment segmented key cache except for testing purposes, and settingkey_cache_segments = 1 should be slower than any other option and should not be used in production.
Other global variables used when working with regular key caches also apply to segmented key caches: key_buffer_size,key_cache_age_threshold, key_cache_block_size, and key_cache_division_limit.
Statistics about the key cache can be found by looking at the KEY_CACHES table in the INFORMATION_SCHEMA database. Columns in this table are:
KEY_CACHE_NAME
The name of the key cache
SEGMENTS
total number of segments (set to NULL for regular key caches)
SEGMENT_NUMBER
segment number (set to NULL for any regular key caches and for rows containing aggregation statistics for segmented key caches)
FULL_SIZE
memory for cache buffers/auxiliary structures
BLOCK_SIZE
size of the blocks
USED_BLOCKS
number of currently used blocks
This page is licensed: CC BY-SA / Gnu FDL
Data Type: numeric
Description: Number of acknowledgements received by the master from slaves.
Data Type: numeric
Description: Average time the master waited for a slave to reply, in microseconds.
Data Type: numeric
Description: Total time the master waited for slave replies, in microseconds.
Data Type: numeric
Description: Total number of times the master waited for slave replies.
Data Type: numeric
Description: Number of times the master turned off semisynchronous replication. The global value can be flushed by FLUSH STATUS.
Data Type: numeric
Description: Number of commits that have not been successfully acknowledged by a slave. The global value can be flushed by FLUSH STATUS.
Data Type: numeric
Description: Number of acknowledgement requests sent to slaves.
Data Type: numeric
Description: Whether or not semisynchronous replication is currently operating on the master. The value will be ON if both the plugin has been enabled and a commit acknowledgment has occurred. It will be OFF if either the plugin has not been enabled, or the master is replicating asynchronously due to a commit acknowledgment timeout.
Data Type: boolean
Description: Number of times the master failed when calling a time function, such as gettimeofday(). The global value can be flushed by FLUSH STATUS.
Data Type: numeric
Description: Average time the master waited for each transaction, in microseconds.
Data Type: numeric
Description: Total time the master waited for transactions, in microseconds.
Data Type: numeric
Description: Total number of times the master waited for transactions.
Data Type: numeric
Description: Total number of times the master waited for an event that had binary coordinates lower than previous events waited for. Occurs if the order in which transactions start waiting for a reply is different from the order in which their binary log events were written. The global value can be flushed by FLUSH STATUS.
Data Type: numeric
Description: Number of sessions that are currently waiting for slave replies.
Data Type: numeric
Description: Number of commits that have been successfully acknowledged by a slave. The global value can be flushed by FLUSH STATUS.
Data Type: numeric
Description: Whether or not semisynchronous replication is currently operating on the slave. ON if both semi-sync has been enabled for the replica (i.e. by setting the variable rpl_semi_sync_slave_enabled to TRUE) and the slave I/O thread is running.
Data Type: boolean
Description: Number of acknowledgements the slave sent to the master.
Data Type: numeric
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This page is licensed: CC BY-SA / Gnu FDL
This is a list of system variables that have been added in the MariaDB 10.11 series.
For system variables added since the previous long-term release, , see:
For system variables that have been removed or deprecated, see .
This page is licensed: CC BY-SA / Gnu FDL
This page documents system variables and options related to the SQL_Error_Log Plugin. See Server System Variables for a complete list of system variables and instructions on setting them.
See also the Full list of MariaDB options, system and status variables.
sql_error_logDescription: Controls how the server should treat the plugin when the server starts up.
Valid values are:
OFF - Disables the plugin without removing it from the table.
sql_error_log_filenameDescription: The name (and optionally path) of the logfile containing the errors. Rotation will use a naming convention such as sql_error_log_filename.001. If no path is specified, the log file will be written to the .
Command line: --sql-error-log-filename=value
Scope: Global
sql_error_log_rateDescription: The logging sampling rate. Setting to 10, for example, means that one in ten errors will be logged. If set to zero, logging is disabled. The default, 1, logs every error.
Command line: --sql-error-log-rate=#
Scope: Global
sql_error_log_rotateDescription: Setting to #1forces log rotation.
Command line: --sql-error-log-rate[={0|1}]
Scope: Global
Dynamic: Yes
sql_error_log_rotationsDescription: Number of rotations before the log is removed. When rotated, the current log file is stored and a new, empty, log is created. Any rotations older than this setting are removed.
Command line: --sql-error-log-rotations=#
Scope: Global
Dynamic: Yes
sql_error_log_size_limitDescription: The log file size limit in bytes. After reaching this size, the log file is rotated.
Command line: --sql-error-log-size-limit=#
Scope: Global
Dynamic: No
sql_error_log_warningsDescription: If set, log warnings in addition to errors.
Command line: --sql-error-log-warnings={0,1}
Scope: Global
Dynamic: Yes
sql_error_log_with_db_and_thread_infoDescription: If enabled, it prints the database name and the thread ID in the log in addition to already existing columns.
Command line: --sql-error-log-with-db-and-thread-info=value
Scope: Global
Dynamic: No
This page is licensed: CC BY-SA / Gnu FDL
This is a list of system variables that have been added in the MariaDB 11.4 series.
For system variables added since the previous long-term release, , see:
This page is licensed: CC BY-SA / Gnu FDL
This is a list of system variables that have been added in the series. The list does not include variables that are not part of the default release.
For system variables that have been removed or deprecated, see .
This page is licensed: CC BY-SA / Gnu FDL
This is a list of that were added in the series.
ON - Enables the plugin. If the plugin cannot be initialized, then the server will still continue starting up, but the plugin will be disabled.FORCE - Enables the plugin. If the plugin cannot be initialized, then the server will fail to start with an error.
FORCE_PLUS_PERMANENT - Enables the plugin. If the plugin cannot be initialized, then the server will fail to start with an error. In addition, the plugin cannot be uninstalled with UNINSTALL SONAME or UNINSTALL PLUGIN while the server is running.
See Plugin Overview: Configuring Plugin Activation at Server Startup for more information.
Command line: --sql-error-log=value
Data Type: enumerated
Default Value: ON
Valid Values: OFF, ON, FORCE, FORCE_PLUS_PERMANENT
Data Type: string
Default Value: sql_errors.log
Dynamic: Yes
Data Type: numeric
Default Value: 1
Data Type: boolean
Default Value: OFF
Data Type: numeric
Default Value: 9
Range: 1 to 999
Data Type: numeric
Default Value: 1000000
Range: 100 to 9223372036854775807
Data Type: boolean
Default Value: ON
Introduced:
Data Type: boolean
Default Value: OFF
Introduced: , , , ,
This page is licensed: CC BY-SA / Gnu FDL
UNUSED_BLOCKS
number of currently unused blocks
DIRTY_BLOCKS
number of currently dirty blocks
READ_REQUESTS
number of read requests
READS
number of actual reads from files into buffers
WRITE_REQUESTS
number of write requests
WRITES
number of actual writes from buffers into files
This is a list of that have been added in the series. The list does not include variables that are not part of the default release.
For system variables that have been removed or deprecated, see Upgrading from MariaDB 10.2 to MariaDB 10.3.
This page is licensed: CC BY-SA / Gnu FDL
This is a list of system variables that have been added in the series. The list does not include variables that are not part of the default release.
This page is licensed: CC BY-SA / Gnu FDL
This is a list of that were added in the series.
This is a list of that have been added in the series. The list does not include variables that are not part of the default release.
This is a list of that have been added in the series.
This page is licensed: CC BY-SA / Gnu FDL
For system variables that have been removed or deprecated, see Upgrading from MariaDB 10.4 to MariaDB 10.5.
This page is licensed: CC BY-SA / Gnu FDL
MariaDB 12.1.0
caching_sha2_password_public_key_path
MariaDB 12.1.0
MariaDB 12.1.0
MariaDB 12.1.0
MariaDB 12.1.0
This page is licensed: CC BY-SA / Gnu FDL
MariaDB 12.1.0
caching_sha2_password_auto_generate_rsa_keys
MariaDB 12.1.0
caching_sha2_password_digest_rounds
MariaDB 12.1.0
caching_sha2_password_private_key_path
This is a list of status variables that were added in the series.
The list excludes status related to the following storage engines included in :
This page is licensed: CC BY-SA / Gnu FDL
This is a list of that have been added in the series.
For system variables that have been removed or deprecated, see Upgrading from MariaDB 10.11 to MariaDB 11.0.
This page is licensed: CC BY-SA / Gnu FDL
This is a list of system variables that were added in the series.
The list excludes the following variables, related to storage engines and plugins included in :
This page is licensed: CC BY-SA / Gnu FDL
This is a list of that were added in the series.
The list excludes status related to the following storage engines included in :
can be a useful variable to adjust to improve performance.
Each concurrent session accessing the same table does so independently. This improves performance, although it comes at a cost of extra memory usage.
table_open_cache indicates the maximum number of tables the server can keep open in any one table cache instance. Ideally, you'd like this set so as to re-open a table as infrequently as possible.
However, note that this is not a hard limit. When the server needs to open a table, it evicts the least recently used closed table from the cache, and adds the new table. If all tables are used, the server adds the new table and does not evict any table. As soon as a table is not used anymore, it will be evicted from the list even if no table needs to be open, until the number of open tables will be equal to table_open_cache
table_open_cache has defaulted to 2000 since . Before that, the default was 400.
You can view the current setting in the my.cnf file, or by running:
To evaluate whether you could do with a higher table_open_cache, look at the number of opened tables, in conjunction with the server uptime ( and status variables):
This page is licensed: CC BY-SA / Gnu FDL
Make sure that your operating system can cope with the number of open file descriptors required by the table_open_cache setting. If table_open_cache is set too high, MariaDB may start to refuse connections as the operating system runs out of file descriptors. Also note that the MyISAM (and Aria?) storage engines need two file descriptors per open table.
It's possible that the open_table_cache can even be reduced.
If your number of open_tables has not yet reached the table_open_cache_size, and the server has been up a while, you can look at decreasing the value.
The open table cache can be emptied with FLUSH TABLES or with the flush-tables or refresh mariadb-admin commands.
MariaDB Server can create multiple instances of the table open cache. It initially creates just a single instance. However, whenever it detects contention on the existing instances, it will automatically create a new instance. When the number of instances has been increased due to contention, it does not decrease again.
When MariaDB Server creates a new instance, it prints a message like the following to the error log:
The maximum number of instances is defined by the table_open_cache_instances system variable. The default value of the table_open_cache_instances system variable is 8, which is expected to handle up to 100 CPU cores. If your system is larger than this, then you may benefit from increasing the value of this system variable.
Depending on the ratio of actual available file handles, and table_open_cache size, the max. instance count may be auto adjusted to a lower value on server startup.
The implementation and behavior of this feature is different than the same feature in MySQL 5.6.
This page is licensed: CC BY-SA / Gnu FDL
SELECT @@table_open_cache;
+--------------------+
| @@table_open_cache |
+--------------------+
| 400 |
+--------------------+SHOW global status LIKE 'opened_tables';
+---------------+--------+
| Variable_name | Value |
+---------------+--------+
| Opened_tables | 354858 |
+---------------+--------+SHOW global status LIKE 'open_tables';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| Open_tables | 354 |
+---------------+-------+[Note] Detected table cache mutex contention at instance 1: 25% waits. Additional
table cache instance activated. Number of instances after activation: 2.The status variables listed on this page relate to encrypting data during transfer with the Transport Layer Security (TLS) protocol. Often, the term Secure Socket Layer (SSL) is used interchangeably with TLS, although strictly speaking, the SSL protocol is a predecessor to TLS and is no longer considered secure.
For compatibility reasons, the TLS status variables in MariaDB still use the Ssl_ prefix, but MariaDB only supports its more secure successors. For more information on SSL/TLS in MariaDB, see Secure Connections Overview.
Some of these status values are not under the control of the server, but are reporting back settings of the underlying SSL library used by the server.
Ssl_accept_renegotiatesDescription: Number of negotiations needed to establish the TLS connection. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_acceptsDescription: Number of accepted TLS handshakes. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_callback_cache_hitsDescription: Number of sessions retrieved from the session cache. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_cipherDescription: The TLS cipher currently in use.
Scope: Global, Session
Data Type: string
Ssl_cipher_listDescription: List of the available TLS ciphers. This is not necessarily the list of ciphers the MariaDB server can actually accept, but rather the list of ciphers supported by the underlying SSL library in general. E.g. some of these may not be compatible with the servers SSL certificate and so can't be used to connect to that server.
Scope: Global, Session
Data Type: string
Ssl_client_connectsDescription: Number of TLS handshakes started in client mode. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_connect_renegotiatesDescription: Number of negotiations needed to establish the connection to a TLS-enabled master. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_ctx_verify_depthDescription: Number of tested TLS certificates in the chain. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_ctx_verify_modeDescription: Mode used for TLS context verification.The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_default_timeoutDescription: Default timeout for TLS, in seconds.
Scope: Global, Session
Data Type: numeric
Ssl_finished_acceptsDescription: Number of successful TLS sessions in server mode. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_finished_connectsDescription: Number of successful TLS sessions in client mode. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_server_not_afterDescription: Last valid date for the server TLS certificate.
Scope: Global, Session
Data Type: numeric
Introduced:
Ssl_server_not_beforeDescription: First valid date for the server TLS certificate.
Scope: Global, Session
Data Type: numeric
Introduced:
Ssl_session_cache_hitsDescription: Number of TLS sessions found in the session cache. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_session_cache_missesDescription: Number of TLS sessions not found in the session cache. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_session_cache_modeDescription: Mode used for TLS caching by the server.
Scope: Global
Data Type: string
Ssl_session_cache_overflowsDescription: Number of sessions removed from the session cache because it was full. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_session_cache_sizeDescription: Size of the session cache. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_session_cache_timeoutsDescription: Number of sessions which have timed out. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_sessions_reusedDescription: Number of sessions reused. The global value can be flushed by .
Scope: Global, Session
Data Type: numeric
Ssl_used_session_cache_entriesDescription: Current number of sessions in the session cache. The global value can be flushed by .
Scope: Global
Data Type: numeric
Ssl_verify_depthDescription: TLS verification depth. How many levels within the certificate signing chain the verification should cover. This is not set by the server itself but by the OpenSSL configuration, and will typically show a very large number like 18446744073709551615, basically meaning "always verify the full signing chain up to the root CA"
Scope: Global, Session
Data Type: numeric
Ssl_verify_modeDescription: TLS verification mode.
The OpenSSL verification mode flags in effect on the server side.
The value so far is always 5 when OpenSSL encryption is in effect, and 0 when not using encryption, or when the server is compiled against WolfSSL.
The value 5 is a combination of the SSL_VERIFY_PEER and SSL_VERIFY_CLIENT_ONCE flags, meaning that the client may send a certificate of its own connect, but will not be asked to send one again later for the duration of the encrypted connection.
The SSL_VERIFY_FAIL_IF_NO_PEER_CERT is not used at this point to enforce that the client sends a certificate if the database user was created with REQUIRE X509, REQUIRE ISSUER or REQUIRE SUBJECT, whether a client certificate was indeed sent, and whether it fits additional REQUIRE conditions, is checked by the server itself at a later state.
See also for a description of the OpenSSL verify mode flags.
Scope: Global, Session
Data Type: numeric
Ssl_versionDescription: TLS version in use by the current session, possible values are TLSv1.0, TLSv1.1, TLSv1.2 and TLSv1.3
Scope: Global, Session
Data Type: string
- complete list of status variables.
This page is licensed: CC BY-SA / Gnu FDL
This is a list of system variables that were added in the series.
The list excludes the following variables, related to storage engines and plugins included in :
This page is licensed: CC BY-SA / Gnu FDL
See Server Status Variables for a complete list of status variables that can be viewed with SHOW STATUS.
Much of the InnoDB information here can also be seen with a SHOW ENGINE INNODB STATUS statement.
See also the Full list of MariaDB options, system and status variables.
Innodb_adaptive_hash_cellsDescription: As shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Data Type: numeric
Introduced:
Removed:
Innodb_adaptive_hash_hash_searchesDescription: Hash searches as shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
Before the variable was introduced in , use the adaptive_hash_searches counter in the table instead.
Scope: Global
Innodb_adaptive_hash_heap_buffersDescription: As shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_adaptive_hash_non_hash_searchesDescription: Non-hash searches as shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output. From , not updated if is not enabled (the default).
In , , , and , this status variable is not present. Use the adaptive_hash_searches_btree counter in the table instead.
From , this status variable is present.
Innodb_async_reads_pendingDescription: Number of async read I/O operations currently in progress (from SUBMITTED to COMPLETED). See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_async_reads_queue_sizeDescription: Current size of the async I/O read queue. See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_async_reads_tasks_runningDescription: Number of async read I/O operations currently in the EXECUTING_COMPLETION_TASK state. See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_async_reads_total_countDescription: Total number of async read completion tasks that have finished execution. See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_async_reads_total_enqueuesDescription: Total number of async read operations that were queued. Includes those still waiting and making up . See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_async_reads_wait_slot_secDescription: Total wait time for a free I/O slot (see Waiting for IO Slots). See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_async_writes_pendingDescription: Number of async write I/O operations currently in progress (from SUBMITTED to COMPLETED). See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_async_writes_queue_sizeDescription: Current size of the async I/O write queue. See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_async_writes_tasks_runningDescription: Number of async write I/O operations currently in the EXECUTING_COMPLETION_TASK state. See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_async_writes_total_countDescription: Total number of async write completion tasks that have finished execution. See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_async_writes_total_enqueuesDescription: Total number of async write operations that were queued. Includes those still waiting and making up . See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_async_writes_wait_slot_secDescription: See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_available_undo_logsDescription: Total number available InnoDB . Differs from the system variable, which specifies the number of active undo logs.
Scope: Global
Data Type: numeric
Innodb_background_log_syncDescription: As shown in the BACKGROUND THREAD section of the output.
In , this status variable is present in XtraDB.
In , , , and , this status variable is not present.
In
Innodb_buffer_pool_bytes_dataDescription: Number of bytes contained in the , both dirty (modified) and clean (unmodified). See also , which can contain pages of different sizes in the case of compression.
Scope: Global
Data Type: numeric
Innodb_buffer_pool_bytes_dirtyDescription: Number of dirty (modified) bytes contained in the . See also , which can contain pages of different sizes in the case of compression.
Scope: Global
Data Type: numeric
Innodb_buffer_pool_dump_statusDescription: A text description of the progress or final status of the last Innodb buffer pool dump.
Scope: Global
Data Type: string
Introduced:
Innodb_buffer_pool_load_incompleteDescription: Whether or not the loaded buffer pool is incomplete, for example after a shutdown or abort during innodb buffer pool load from file caused an incomplete save.
Scope: Global
Data Type: boolean
Introduced:
Innodb_buffer_pool_load_statusDescription: A text description of the progress or final status of the last Innodb buffer pool load.
Scope: Global
Data Type: string
Introduced:
Innodb_buffer_pool_pages_dataDescription: Number of pages which contain data, both dirty (modified) and clean (unmodified). See also .
Scope: Global
Data Type: numeric
Innodb_buffer_pool_pages_dirtyDescription: Number of pages which contain dirty (modified) data. See also .
Scope: Global
Data Type: numeric
Innodb_buffer_pool_pages_flushedDescription: Number of pages which have been flushed.
Scope: Global
Data Type: numeric
Innodb_buffer_pool_pages_LRU_flushedDescription: Flush list as shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_buffer_pool_pages_LRU_freedDescription: Monitor the number of pages that were freed by a buffer pool LRU eviction scan, without flushing.
Scope: Global
Data Type: numeric
Introduced:
Innodb_buffer_pool_pages_freeDescription: Number of free pages.
Scope: Global
Data Type: numeric
Innodb_buffer_pool_pages_made_not_youngDescription: Pages not young as shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_buffer_pool_pages_made_youngDescription: Pages made young as shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_buffer_pool_pages_miscDescription: Number of pages set aside for internal use.
Scope: Global
Data Type: numeric
Innodb_buffer_pool_pages_oldDescription: Old database page, as shown in the BUFFER POOL AND MEMORY section of the output.
In and , this status variable is present for XtraDB.
In , , and , this status variable is not present.
In
Innodb_buffer_pool_pages_totalDescription: Total number of pages.
Scope: Global
Data Type: numeric
Innodb_buffer_pool_read_aheadDescription: Number of pages read into the by the read-ahead background thread.
Scope: Global
Data Type: numeric
Innodb_buffer_pool_read_ahead_evictedDescription: Number of pages read into the by the read-ahead background thread that were evicted without having been accessed by queries.
Scope: Global
Data Type: numeric
Innodb_buffer_pool_read_ahead_rndDescription: Number of random read-aheads.
Scope: Global
Data Type: numeric
Innodb_buffer_pool_read_requestsDescription: Number of requests to read from the .
Scope: Global
Data Type: numeric
Innodb_buffer_pool_readsDescription: Number of reads that could not be satisfied by the and had to be read from disk.
Scope: Global
Data Type: numeric
Innodb_buffer_pool_resize_statusDescription: Progress of the dynamic resizing operation. See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_buffer_pool_wait_freeDescription: Number of times InnoDB waited for a free page before reading or creating a page. Normally, writes to the happen in the background. When no clean pages are available, dirty pages are flushed first in order to free some up. This counts the numbers of wait for this operation to finish. If this value is not small, look at increasing .
Scope: Global
Data Type: numeric
Innodb_buffer_pool_write_requestsDescription: Number of requests to write to the .
Scope: Global
Data Type: numeric
Innodb_buffered_aio_submittedDescription:
Scope: Global
Data Type: numeric
Introduced:
Innodb_bulk_operationsDescription: Number of bulk insert operations to InnoDB tables.
Scope: Global
Data Type: numeric
Introduced: , , , ,
Innodb_checkpoint_ageDescription: The amount of data written to the InnoDB redo log since the last checkpoint, as shown in the LOG section of the output. (This is equivalent to subtracting "Last checkpoint at" from "Log sequence number", cf the ). Despite the name ("age"), the value is not a duration, but really an amount of data (in bytes) !
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
Innodb_checkpoint_max_ageDescription: Max checkpoint age, as shown in the LOG section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_checkpoint_target_ageDescription: Checkpoint age target, as shown in the LOG section of the output. XtraDB only. Removed in and replaced with MySQL 5.6's flushing implementation.
Scope: Global
Data Type: numeric
Introduced:
Innodb_current_row_locksDescription: Number of current row locks on InnoDB tables as shown in the TRANSACTIONS section of the output. Renamed from in XtraDB 5.5.8-20.1.
Scope: Global
Data Type: numeric
Introduced:
Innodb_data_fsyncsDescription: Number of InnoDB fsync (sync-to-disk) calls. fsync call frequency can be influenced by the configuration option.
Scope: Global
Data Type: numeric
Innodb_data_pending_fsyncsDescription: Number of pending InnoDB fsync (sync-to-disk) calls. fsync call frequency can be influenced by the configuration option.
Scope: Global
Data Type: numeric
Innodb_data_pending_readsDescription: Number of pending InnoDB reads.
Scope: Global
Data Type: numeric
Innodb_data_pending_writesDescription: Number of pending InnoDB writes.
Scope: Global
Data Type: numeric
Innodb_data_readDescription: Number of InnoDB bytes read since server startup (not to be confused with ).
Scope: Global
Data Type: numeric
Innodb_data_readsDescription: Number of InnoDB read operations (not to be confused with ).
Scope: Global
Data Type: numeric
Innodb_data_writesDescription: Number of InnoDB write operations.
Scope: Global
Data Type: numeric
Innodb_data_writtenDescription: Number of InnoDB bytes written since server startup. From , no longer includes writes to the redo log file ib_logfile0, which continue to be counted by . An error in counting was introduced in until , , , , and () in which writes via the doublewrite buffer started to be counted incorrectly, without multiplying them by innodb_page_size. A workaround for the error could be the following formulae: real_data_written = Innodb_data_written + (innodb_page_size - 1) * Innodb_dblwr_pages_writteninnodb_written = real_data_written + Innodb_os_log_written
Scope: Global
Data Type:
Innodb_dblwr_pages_writtenDescription: Number of pages written to the .
Scope: Global
Data Type: numeric
Innodb_dblwr_writesDescription: Number of writes to the .
Scope: Global
Data Type: numeric
Innodb_deadlocksDescription: Total number of InnoDB deadlocks. Deadlocks occur when at least two transactions are waiting for the other to finish, creating a circular dependency. InnoDB usually detects these quickly, returning an error.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
Innodb_defragment_compression_failuresDescription: Number of defragment re-compression failures. See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_defragment_countDescription: Number of defragment operations. See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_defragment_failuresDescription: Number of defragment failures. See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_dict_tablesDescription: Number of entries in the XtraDB data dictionary cache. This Percona XtraDB variable was removed in MariaDB 10/XtraDB 5.6 as it was replaced with MySQL 5.6's implementation.
Scope: Global
Data Type: numeric
Introduced: XtraDB 5.0.77-b13
Innodb_encryption_n_merge_blocks_decryptedDescription:
Scope: Global
Data Type: numeric
Introduced: , ,
Innodb_encryption_n_merge_blocks_encryptedDescription:
Scope: Global
Data Type: numeric
Introduced: , ,
Innodb_encryption_n_rowlog_blocks_decryptedDescription:
Scope: Global
Data Type: numeric
Introduced: , ,
Innodb_encryption_n_rowlog_blocks_encryptedDescription:
Scope: Global
Data Type: numeric
Introduced: , ,
Innodb_encryption_n_temp_blocks_decryptedDescription:
Scope: Global
Data Type: numeric
Introduced: , ,
Innodb_encryption_n_temp_blocks_encryptedDescription:
Scope: Global
Data Type: numeric
Introduced: , ,
Innodb_encryption_num_key_requestsDescription: Was not present in .
Scope: Global
Data Type: numeric
Introduced:
Innodb_encryption_rotation_estimated_iopsDescription: See .
Scope: Global
Data Type: numeric
Removed:
Innodb_encryption_rotation_pages_flushedDescription: See .
Scope: Global
Data Type: numeric
Removed:
Innodb_encryption_rotation_pages_modifiedDescription: See .
Scope: Global
Data Type: numeric
Removed:
Innodb_encryption_rotation_pages_read_from_cacheDescription: See .
Scope: Global
Data Type: numeric
Removed:
Innodb_encryption_rotation_pages_read_from_diskDescription: See .
Scope: Global
Data Type: numeric
Removed:
Innodb_have_atomic_builtinsDescription: Whether the server has been built with atomic instructions, provided by the CPU ensuring that critical low-level operations can't be interrupted. XtraDB only.
Scope: Global
Data Type: boolean
Innodb_have_bzip2Description: Whether the server has the bzip2 compression method available. See .
Scope: Global
Data Type: boolean
Introduced:
Innodb_have_lz4Description: Whether the server has the lz4 compression method available. See .
Scope: Global
Data Type: boolean
Introduced:
Innodb_have_lzmaDescription: Whether the server has the lzma compression method available. See .
Scope: Global
Data Type: boolean
Introduced:
Innodb_have_lzoDescription: Whether the server has the lzo compression method available. See .
Scope: Global
Data Type: boolean
Introduced:
Innodb_have_punch_holeDescription:
Scope: Global
Data Type: numeric
Introduced:
Innodb_have_snappyDescription: Whether the server has the snappy compression method available. See .
Scope: Global
Data Type: boolean
Introduced:
Innodb_history_list_lengthDescription: History list length as shown in the TRANSACTIONS section of the output. XtraDB only until introduced in .
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Innodb_ibuf_discarded_delete_marksDescription: As shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_ibuf_discarded_deletesDescription: As shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_ibuf_discarded_insertsDescription: As shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_ibuf_free_listDescription: As shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_ibuf_merged_delete_marksDescription: As shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_ibuf_merged_deletesDescription: As shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_ibuf_merged_insertsDescription: As shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_ibuf_mergesDescription: As shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_ibuf_segment_sizeDescription: As shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_ibuf_sizeDescription: As shown in the INSERT BUFFER AND ADAPTIVE HASH INDEX section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_instant_alter_columnDescription: See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_log_waitsDescription: Number of times InnoDB was forced to wait for log writes to be flushed due to the log buffer being too small.
Scope: Global
Data Type: numeric
Innodb_log_write_requestsDescription: Number of requests to write to the InnoDB redo log.
Scope: Global
Data Type: numeric
Innodb_log_writesDescription: Number of writes to the InnoDB redo log.
Scope: Global
Data Type: numeric
Innodb_lsn_currentDescription: Log sequence number as shown in the LOG section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_lsn_flushedDescription: Flushed up to log sequence number as shown in the LOG section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_lsn_last_checkpointDescription: Log sequence number last checkpoint as shown in the LOG section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_master_thread_1_second_loopsDescription: As shown in the BACKGROUND THREAD section of the output.
In , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_master_thread_10_second_loopsDescription: As shown in the BACKGROUND THREAD section of the output.
In , this status variable is present in XtraDB.
In and later, this status variable is not present
Scope: Global
Innodb_master_thread_active_loopsDescription: As shown in the BACKGROUND THREAD section of the output.
In , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In , this status variable was reintroduced.
Innodb_master_thread_background_loopsDescription: As shown in the BACKGROUND THREAD section of the output.
In , this status variable is present in XtraDB.
In and later, this status variable is not present
Scope: Global
Innodb_master_thread_idle_loopsDescription: As shown in the BACKGROUND THREAD section of the output.
In , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In , this status variable was reintroduced.
Innodb_master_thread_main_flush_loopsDescription: As shown in the BACKGROUND THREAD section of the output.
In , this status variable is present in XtraDB.
In and later, this status variable is not present
Scope: Global
Innodb_master_thread_sleepsDescription: As shown in the BACKGROUND THREAD section of the output. XtraDB only.
In , this status variable is present in XtraDB.
In , , , and , this status variable is not present. Use the innodb_master_thread_sleeps counter in the table instead.
Innodb_max_trx_idDescription: As shown in the TRANSACTIONS section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In , this status variable was reintroduced.
Innodb_mem_adaptive_hashDescription: As shown in the BUFFER POOL AND MEMORY section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_mem_dictionaryDescription: As shown in the BUFFER POOL AND MEMORY section of the output.
In and , this status variable is present in XtraDB.
In , , and , this status variable is not present.
In
Innodb_mem_totalDescription: As shown in the BUFFER POOL AND MEMORY section of the output.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_mutex_os_waitsDescription: Mutex OS waits as shown in the SEMAPHORES section of the output.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_mutex_spin_roundsDescription: Mutex spin rounds as shown in the SEMAPHORES section of the output.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_mutex_spin_waitsDescription: Mutex spin waits as shown in the SEMAPHORES section of the output.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_num_index_pages_writtenDescription:
Scope:
Data Type: numeric
Introduced:
Innodb_num_non_index_pages_writtenDescription:
Scope:
Data Type: numeric
Introduced:
Innodb_num_open_filesDescription: Number of open files held by InnoDB. InnoDB only.
Scope: Global
Data Type: numeric
Innodb_num_page_compressed_trim_opDescription: Number of trim operations performed.
Scope: Global
Data Type: numeric
Innodb_num_page_compressed_trim_op_savedDescription: Number of trim operations not done because of an earlier trim.
Scope: Global
Data Type: numeric
Innodb_num_pages_decryptedDescription: Number of pages page decrypted. See .
Scope: Global
Data Type: numeric
Innodb_num_pages_encryptedDescription: Number of pages page encrypted. See .
Scope: Global
Data Type: numeric
Innodb_num_pages_page_compressedDescription: Number of pages that are page compressed.
Scope: Global
Data Type: numeric
Innodb_num_pages_page_compression_errorDescription: Number of compression errors.
Scope: Global
Data Type: numeric
Innodb_num_pages_page_decompressedDescription: Number of pages compressed with page compression that are decompressed.
Scope: Global
Data Type: numeric
Innodb_num_pages_page_encryption_errorDescription: Number of page encryption errors. See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_oldest_view_low_limit_trx_idDescription: As shown in the TRANSACTIONS section of the output.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_onlineddl_pct_progressDescription: Shows the progress of in-place alter table. It might be not so accurate because in-place alter is highly dependent on disk and buffer pool status. See .
Scope: Global
Data Type: numeric
Innodb_onlineddl_rowlog_pct_usedDescription: Shows row log buffer usage in 5-digit integer (10000 means 100.00%). See .
Scope: Global
Data Type: numeric
Innodb_onlineddl_rowlog_rowsDescription: Number of rows stored in the row log buffer. See .
Scope: Global
Data Type: numeric
Innodb_os_log_fsyncsDescription: Number of InnoDB log fsync (sync-to-disk) requests.
Scope: Global
Data Type: numeric
Removed:
Innodb_os_log_pending_fsyncsDescription: Number of pending InnoDB log fsync (sync-to-disk) requests.
Scope: Global
Data Type: numeric
Removed:
Innodb_os_log_pending_writesDescription: Number of pending InnoDB log writes.
Scope: Global
Data Type: numeric
Removed:
Innodb_os_log_writtenDescription: Number of bytes written to the InnoDB log.
Scope: Global
Data Type: numeric
Innodb_page_compression_savedDescription: Number of bytes saved by page compression.
Scope:
Data Type:
Innodb_page_compression_trim_sect512Description: Number of TRIM operations performed for the page-compression/NVM Compression workload for the 512 byte block-size.
Scope:
Data Type: numeric
Introduced: , Fusion-io
Innodb_page_compression_trim_sect1024Description: Number of TRIM operations performed for the page-compression/NVM Compression workload for the 1K block-size.
Scope:
Data Type: numeric
Introduced: , Fusion-io
Innodb_page_compression_trim_sect2048Description: Number of TRIM operations performed for the page-compression/NVM Compression workload for the 2K block-size.
Scope:
Data Type: numeric
Introduced: , Fusion-io
Innodb_page_compression_trim_sect4096Description: Number of TRIM operations performed for the page-compression/NVM Compression workload for the 4K block-size.
Scope:
Data Type: numeric
Introduced: , Fusion-io
Innodb_page_compression_trim_sect8192Description: Number of TRIM operations performed for the page-compression/NVM Compression workload for the 8K block-size.
Scope:
Data Type: numeric
Introduced:, Fusion-io
Innodb_page_compression_trim_sect16384Description: Number of TRIM operations performed for the page-compression/NVM Compression workload for the 16K block-size.
Scope:
Data Type: numeric
Introduced: , Fusion-io
Innodb_page_compression_trim_sect32768Description: Number of TRIM operations performed for the page-compression/NVM Compression workload for the 32K block-size.
Scope:
Data Type: numeric
Introduced: , Fusion-io
Innodb_page_sizeDescription: Page size used by InnoDB. Defaults to 16KB, can be compiled with a different value.
Scope: Global
Data Type: numeric
Innodb_pages_createdDescription: Number of InnoDB pages created.
Scope: Global
Data Type: numeric
Innodb_pages_readDescription: Number of InnoDB pages read.
Scope: Global
Data Type: numeric
Innodb_pages0_readDescription: Counter for keeping track of reads of the first page of InnoDB data files, because the original implementation of data-at-rest-encryption for InnoDB introduced new code paths for reading the pages. Removed in as the extra reads of the first page were removed, and the encryption subsystem will be initialized whenever we first read the first page of each data file, in fil_node_open_file().
Scope: Global
Data Type: numeric
Innodb_pages_writtenDescription: Number of InnoDB pages written.
Scope: Global
Data Type: numeric
Innodb_purge_trx_idDescription: Purge transaction id as shown in the TRANSACTIONS section of the output.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_purge_undo_noDescription: As shown in the TRANSACTIONS section of the output.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_read_views_memoryDescription: As shown in the BUFFER POOL AND MEMORY section of the output. Shows the total of memory in bytes allocated for the InnoDB read view.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_row_lock_current_waitsDescription: Number of pending row lock waits on InnoDB tables.
Scope: Global
Data Type: numeric
Innodb_row_lock_numbersDescription: Number of current row locks on InnoDB tables as shown in the TRANSACTIONS section of the output. Renamed to in XtraDB 5.5.10-20.1.
Scope: Global
Data Type: numeric
Introduced: / XtraDB 5.5.8-20
Innodb_row_lock_timeDescription: Total time in milliseconds spent getting InnoDB row locks.
Scope: Global
Data Type: numeric
Innodb_row_lock_time_avgDescription: Average time in milliseconds spent getting an InnoDB row lock.
Scope: Global
Data Type: numeric
Innodb_row_lock_time_maxDescription: Maximum time in milliseconds spent getting an InnoDB row lock.
Scope: Global
Data Type: numeric
Innodb_row_lock_waitsDescription: Number of times InnoDB had to wait before getting a row lock.
Scope: Global
Data Type: numeric
Innodb_rows_deletedDescription: Number of rows deleted from InnoDB tables that where not system tables. Almost equivalent to which does include system tables.
Scope: Global
Data Type: numeric
Removed:
Innodb_rows_insertedDescription: Number of rows inserted into InnoDB tables that where not system tables. No direct equivalent in status variables.
Scope: Global
Data Type: numeric
Removed:
Innodb_rows_readDescription: Number of rows read from InnoDB tables that where not system tables. Almost equivalent to the sum of status variables which do include system tables.
Scope: Global
Data Type: numeric
Removed:
Innodb_rows_updatedDescription: Number of rows updated in InnoDB tables that where not system tables. Almost equivalent to which does include system tables.
Scope: Global
Data Type: numeric
Removed:
Innodb_s_lock_os_waitsDescription: As shown in the SEMAPHORES section of the output.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_s_lock_spin_roundsDescription: As shown in the SEMAPHORES section of the output.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_s_lock_spin_waitsDescription: As shown in the SEMAPHORES section of the output.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_scrub_background_page_reorganizationsDescription: See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_scrub_background_page_split_failures_missing_indexDescription: See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_scrub_background_page_split_failures_out_of_filespaceDescription: See .
Scope: Global
Data Type: numeric
Introduced:
Innodb_scrub_background_page_split_failures_underflowDescription: See .
Scope: Global
Data Type: numeric
Removed:
Innodb_scrub_background_page_split_failures_unknownDescription: See .
Scope: Global
Data Type: numeric
Removed:
Innodb_scrub_background_page_splitsDescription: See .
Scope: Global
Data Type: numeric
Removed:
Innodb_scrub_logDescription:
Scope: Global
Data Type: numeric
Introduced:
Innodb_secondary_index_triggered_cluster_readsDescription: Used to track the effectiveness of the Prefix Index Queries Optimization (). Removed in as the optimization is now always enabled.
Scope: Global
Data Type: numeric
Removed:
Innodb_secondary_index_triggered_cluster_reads_avoidedDescription: Used to track the effectiveness of the Prefix Index Queries Optimization (). Removed in as the optimization is now always enabled.
Scope: Global
Data Type: numeric
Removed:
Innodb_system_rows_deletedDescription: Number of rows deleted on system tables.
Scope: Global
Data Type: numeric
Removed:
Innodb_system_rows_insertedDescription: Number of rows inserted on system tables.
Scope: Global
Data Type: numeric
Removed:
Innodb_system_rows_readDescription: Number of rows read on system tables.
Scope: Global
Data Type: numeric
Removed:
Innodb_system_rows_updatedDescription: Number of rows updated on system tables.
Scope: Global
Data Type: numeric
Removed:
Innodb_truncated_status_writesDescription: Number of times output from has been truncated.
Scope: Global
Data Type: numeric
Innodb_undo_truncationsDescription: Number of undo tablespace truncation operations.
Scope: Global
Data Type: numeric
Introduced:
Innodb_x_lock_os_waitsDescription: As shown in the SEMAPHORES section of the output.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_x_lock_spin_roundsDescription: As shown in the SEMAPHORES section of the output.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
Innodb_x_lock_spin_waitsDescription: As shown in the SEMAPHORES section of the output.
In and , this status variable is present in XtraDB.
In and later, this status variable is not present.
Scope: Global
This page is licensed: CC BY-SA / Gnu FDL
numericIntroduced:
Data Type: numeric
Introduced:
Removed:
Scope: Global
Data Type: numeric
Introduced: ,
Scope: Global
Data Type: numeric
Introduced: (XtraDB only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
In , this status variable was reintroduced.
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Removed:
numericScope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Removed:
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Data Type: numeric
Introduced:
Removed:
Data Type: numeric
Introduced:
Removed:
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only), :
Data Type: numeric
Introduced:
Removed:
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only), :
Data Type: numeric
Introduced:
Removed:
In , this status variable was reintroduced.
Scope: Global
Data Type: numeric
Introduced:
Removed:
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Scope: Global
Data Type: numeric
Introduced: (XtraDB-only),
Data Type: numeric
Introduced:
Data Type: numeric
Introduced:
Data Type: numeric
Introduced:
Data Type: numeric
Introduced:
Removed:
Data Type: numeric
Introduced:
Removed:
Removed:
Removed:
Removed:
Removed:
Removed:
Removed:
Removed:
Removed:
Data Type: numeric
Introduced:
Removed:
Data Type: numeric
Introduced:
Removed:
Data Type: numeric
Introduced:
Removed:
Removed: / XtraDB 5.5.10-20.1
Data Type: numeric
Introduced:
Removed:
Data Type: numeric
Introduced:
Removed:
Data Type: numeric
Introduced:
Removed:
Removed:
Removed:
Removed:
Removed:
Data Type: numeric
Introduced:
Removed:
Data Type: numeric
Introduced:
Removed:
Data Type: numeric
Introduced:
Removed:
This page documents status variables related to the Sphinx storage engine. See Server Status Variables for a complete list of status variables that can be viewed with SHOW STATUS.
See also the Full list of MariaDB options, system and status variables.
Sphinx_errorDescription: See SHOW ENGINE SPHINX STATUS.
Scope: Global, Session
Data Type: numeric
Sphinx_timeDescription: See .
Scope: Global, Session
Data Type: numeric
Sphinx_totalDescription: See .
Scope: Global, Session
Data Type: numeric
Sphinx_total_foundDescription: See .
Scope: Global, Session
Data Type: numeric
Sphinx_word_countDescription: See .
Scope: Global, Session
Data Type: numeric
Sphinx_wordsDescription: See .
Scope: Global, Session
Data Type: numeric
This page is licensed: CC BY-SA / Gnu FDL