# System Variable Differences Between MariaDB 10.1 and MySQL 5.7

The following is a comparison of variables that either appear only in [MariaDB 10.1](/docs/release-notes/community-server/old-releases/10.1/changes-improvements-in-mariadb-10-1.md) or MySQL 5.7, or have different default settings in [MariaDB 10.1](/docs/release-notes/community-server/old-releases/10.1/changes-improvements-in-mariadb-10-1.md), and MySQL 5.7. [MariaDB 10.1.13](/docs/release-notes/community-server/old-releases/10.1/10.1.13.md) and MySQL 5.7.9, with only default plugins enabled, were used for the comparison.

The most notable differences are that MariaDB includes, by default, the [Aria](/docs/server/server-usage/storage-engines/aria.md) storage engine (resulting in extra memory allocation), [Galera Cluster](https://github.com/mariadb-corporation/docs-release-notes/blob/test/kb/en/galera/README.md), uses [Percona's XtraDB instead of Oracle's InnoDB](/docs/server/server-usage/storage-engines/innodb.md), and has a different [thread pool implementation](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-in-mariadb.md). For this reason, a default implementation of [MariaDB 10.1](/docs/release-notes/community-server/old-releases/10.1/changes-improvements-in-mariadb-10-1.md) will use more memory than MySQL 5.7. [MariaDB 10.1](/docs/release-notes/community-server/old-releases/10.1/changes-improvements-in-mariadb-10-1.md) and MySQL 5.7 also have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).

MariaDB's extra memory usage can be handled with the following rules of thumb:

* If you are not using [MyISAM](/docs/server/server-usage/storage-engines/myisam-storage-engine.md) and don't plan to use [Aria](/docs/server/server-usage/storage-engines/aria.md):
  * Set [key\_buffer\_size](/docs/server/server-usage/storage-engines/myisam-storage-engine/myisam-system-variables.md#key_buffer_size) to something very low (16K) as it's not used.
  * Set [aria\_pagecache\_buffer\_size](/docs/server/server-usage/storage-engines/aria/aria-system-variables.md#aria_pagecache_buffer_size) to what you think you need for handling internal tmp tables that didn't fit in memory.
  * Normally this is what before you had set for [key\_buffer\_size](/docs/server/server-usage/storage-engines/myisam-storage-engine/myisam-system-variables.md#key_buffer_size) (at least 1M).
* If you are using [MyISAM](/docs/server/server-usage/storage-engines/myisam-storage-engine.md) and not planning to use [Aria](/docs/server/server-usage/storage-engines/aria.md):
  * Set [aria\_pagecache\_buffer\_size](/docs/server/server-usage/storage-engines/aria/aria-system-variables.md#aria_pagecache_buffer_size) to what you think you need for handling internal tmp tables that didn't fit in memory.
* If you are planning to use [Aria](/docs/server/server-usage/storage-engines/aria.md), you should set [aria\_pagecache\_buffer\_size](/docs/server/server-usage/storage-engines/aria/aria-system-variables.md#aria_pagecache_buffer_size) to something that fits a big part of your normal data + overflow temporary tables.

The large number of differences between MySQL's and MariaDB's default innodb\* variables (based upon InnoDB/XtraDB differences) are not listed here. Details can be found on the [MariaDB versus MySQL - Compatibility](/docs/release-notes/community-server/about/compatibility-and-differences/mariadb-vs-mysql-compatibility.md) page.

## Comparison Table

| Variable                                                                                                                                                             | [MariaDB 10.1](/docs/release-notes/community-server/old-releases/10.1/changes-improvements-in-mariadb-10-1.md)                  | MySQL 5.7                                                                                                                                                          | Notes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [aria\_\*](/docs/server/server-usage/storage-engines/aria/aria-system-variables.md)                                                                                  | \*                                                                                                                              | -                                                                                                                                                                  | The Aria storage engine is only available in MariaDB.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| avoid\_temporal\_upgrade                                                                                                                                             | -                                                                                                                               | OFF                                                                                                                                                                | MySQL-only variable for determining whether ALTER TABLE implicitly upgrades temporal columns.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [bind\_address](/docs/server/server-management/variables-and-modes/server-system-variables.md#bind_address)                                                          | -                                                                                                                               | 127.0.0.1                                                                                                                                                          | MySQL has the value of the bind-address option as a variable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [binlog-annotate-row-events](/docs/server/clients-and-utilities/logging-tools/mariadb-binlog/annotate_rows_log_event.md#master-option-binlog-annotate-row-events)    | OFF                                                                                                                             | -                                                                                                                                                                  | Introduced in [MariaDB 5.3](/docs/release-notes/community-server/old-releases/5.3/changes-improvements-in-mariadb-5-3.md) for [replicating](/docs/release-notes/community-server/about/compatibility-and-differences/replication-compatibility-between-mariadb-and-mysql.md#replicating-from-mysql-to-mariadb) between [MariaDB 5.3](/docs/release-notes/community-server/old-releases/5.3/changes-improvements-in-mariadb-5-3.md) and MySQL/[MariaDB 5.1](/docs/release-notes/community-server/old-releases/5.1/changes-improvements-in-mariadb-5-1.md). |
| [binlog\_checksum](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                              | NONE                                                                                                                            | CRC32                                                                                                                                                              | Specifies the type of BINLOG\_CHECKSUM\_ALG for log events in the [binary log](/docs/server/server-management/server-monitoring-logs/binary-log.md).                                                                                                                                                                                                                                                                                                                                                                                                      |
| [binlog\_commit\_wait\_count](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                   | 0                                                                                                                               | -                                                                                                                                                                  | For use in MariaDB's [parallel replication](/docs/server/ha-and-performance/standard-replication/parallel-replication.md).                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [binlog\_commit\_wait\_usec](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                    | 100000                                                                                                                          | -                                                                                                                                                                  | For use in MariaDB's [parallel replication](/docs/server/ha-and-performance/standard-replication/parallel-replication.md).                                                                                                                                                                                                                                                                                                                                                                                                                                |
| binlog\_error\_action                                                                                                                                                |                                                                                                                                 | ABORT\_SERVER                                                                                                                                                      | MySQL-only variable for controlling what happens when the server cannot write to the binary log.                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [binlog\_format](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                                | STATEMENT                                                                                                                       | ROW                                                                                                                                                                | MySQL 5.7 has changed the default binary log format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| binlog\_group\_commit\_sync\_delay                                                                                                                                   |                                                                                                                                 | 0                                                                                                                                                                  | MySQL-only variable for controlling the wait time before synchronizing the binary log file to disk.                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| binlog\_group\_commit\_sync\_no\_delay\_count                                                                                                                        |                                                                                                                                 | 0                                                                                                                                                                  | MySQL-only variable for setting the maximum number of transactions to wait for before aborting the current binlog\_group\_commit\_sync\_delay delay.                                                                                                                                                                                                                                                                                                                                                                                                      |
| binlog\_gtid\_simple\_recovery                                                                                                                                       | -                                                                                                                               | ON                                                                                                                                                                 | MySQL-only GTID variable. MariaDB's [GTID](/docs/server/ha-and-performance/standard-replication/gtid.md) implementation is different.                                                                                                                                                                                                                                                                                                                                                                                                                     |
| binlog\_max\_flush\_queue\_time                                                                                                                                      | -                                                                                                                               | 0                                                                                                                                                                  | MySQL-only variable specifying a timeout for reading transactions from the flush queue before continuing with group commit and syncing log to disk.                                                                                                                                                                                                                                                                                                                                                                                                       |
| [binlog\_optimize\_thread\_scheduling](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                          | ON                                                                                                                              | -                                                                                                                                                                  | For optimized kernel thread scheduling.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| binlog\_order\_commits                                                                                                                                               | -                                                                                                                               | ON                                                                                                                                                                 | MySQL-only variable for determining whether transactions may be committed in parallel.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| binlog\_rows\_query\_log\_events                                                                                                                                     | -                                                                                                                               | OFF                                                                                                                                                                | MySQL-only variable for logging extra information in row-based logging.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| block\_encryption\_mode                                                                                                                                              | -                                                                                                                               | aes-128-ecb                                                                                                                                                        | MySQL-only variable for controlling the block encryption mode for block-based algorithms.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| check\_proxy\_users                                                                                                                                                  |                                                                                                                                 | OFF                                                                                                                                                                | MySQL-only variable for controlling whether the server performs proxy user mapping for authentication plugins.                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| core\_file                                                                                                                                                           | -                                                                                                                               | OFF                                                                                                                                                                | MySQL-only variable indicating whether a core file will be written in case of a crash.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [deadlock\_search\_depth\_long](/docs/server/server-usage/storage-engines/aria/aria-system-variables.md#deadlock_search_depth_long)                                  | 15                                                                                                                              | -                                                                                                                                                                  | The Aria storage engine is only available in MariaDB.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [deadlock\_search\_depth\_short](/docs/server/server-usage/storage-engines/aria/aria-system-variables.md#deadlock_search_depth_short)                                | 4                                                                                                                               | -                                                                                                                                                                  | The Aria storage engine is only available in MariaDB.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [deadlock\_timeout\_long](/docs/server/server-usage/storage-engines/aria/aria-system-variables.md#deadlock_timeout_long)                                             | 50000000                                                                                                                        | -                                                                                                                                                                  | The Aria storage engine is only available in MariaDB.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [deadlock\_timeout\_short](/docs/server/server-usage/storage-engines/aria/aria-system-variables.md#deadlock_timeout_short)                                           | 10000                                                                                                                           | -                                                                                                                                                                  | The Aria storage engine is only available in MariaDB.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [debug\_no\_thread\_alarm](/docs/server/server-management/variables-and-modes/server-system-variables.md#debug_no_thread_alarm)                                      | OFF                                                                                                                             | -                                                                                                                                                                  | Disable system thread alarm calls, for debugging or testing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| default\_authentication\_plugin                                                                                                                                      |                                                                                                                                 | mysql\_native\_password                                                                                                                                            | MySQL's default authentication plugin.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [default\_master\_connection](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                   | empty                                                                                                                           | -                                                                                                                                                                  | For use with MariaDB's [multi-source replication](/docs/server/ha-and-performance/standard-replication/multi-source-replication.md).                                                                                                                                                                                                                                                                                                                                                                                                                      |
| default\_password\_lifetime                                                                                                                                          |                                                                                                                                 | 360                                                                                                                                                                | MySQL-only variable determining how long passwords are valid for before expiring.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [default\_regex\_flags](/docs/server/server-management/variables-and-modes/server-system-variables.md#default_regex_flags)                                           | empty                                                                                                                           | -                                                                                                                                                                  | For handling incompatibilities between MariaDB's [PCRE](/docs/server/reference/sql-functions/string-functions/regular-expressions-functions/pcre.md) and the old regex library.                                                                                                                                                                                                                                                                                                                                                                           |
| [default\_tmp\_storage\_engine](/docs/server/server-management/variables-and-modes/server-system-variables.md#default_tmp_storage_engine)                            | empty                                                                                                                           | InnoDB                                                                                                                                                             | Default storage engine used for tables created with [CREATE TEMPORARY TABLE](/docs/server/server-usage/tables/create-table.md).                                                                                                                                                                                                                                                                                                                                                                                                                           |
| disabled\_storage\_engines                                                                                                                                           |                                                                                                                                 | empty                                                                                                                                                              | MySQL-only variable for disabling specific storage engines.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| disconnect\_on\_expired\_password                                                                                                                                    | -                                                                                                                               | ON                                                                                                                                                                 | MySQL permits passwords to be expired.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [encrypt\_binlog](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md#encrypt_binlog)                                | OFF                                                                                                                             | -                                                                                                                                                                  | MariaDB enables [table and tablespace encryption](broken://spaces/SsmexDFPv2xG2OTyO5yV/pages/oH1AAxPLSc6Wq96yMJ2N).                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [encrypt\_tmp\_files](/docs/server/server-management/variables-and-modes/server-system-variables.md#encrypt_tmp_files)                                               | OFF                                                                                                                             | -                                                                                                                                                                  | MariaDB enables [table and tablespace encryption](broken://spaces/SsmexDFPv2xG2OTyO5yV/pages/oH1AAxPLSc6Wq96yMJ2N).                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [encrypt\_tmp\_disk\_tables](/docs/server/server-management/variables-and-modes/server-system-variables.md#encrypt_tmp_disk_tables)                                  | OFF                                                                                                                             | -                                                                                                                                                                  | MariaDB enables [table and tablespace encryption](broken://spaces/SsmexDFPv2xG2OTyO5yV/pages/oH1AAxPLSc6Wq96yMJ2N).                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| end\_markers\_in\_json                                                                                                                                               | -                                                                                                                               | OFF                                                                                                                                                                | MySQL-only variable for adding end markers to JSON output.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| enforce\_gtid\_consistency                                                                                                                                           | -                                                                                                                               | OFF                                                                                                                                                                | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [enforce\_storage\_engine](/docs/server/server-management/variables-and-modes/server-system-variables.md#enforce_storage_engine)                                     | none                                                                                                                            |                                                                                                                                                                    | Forces the use of a particular storage engine for new tables.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| eq\_range\_index\_dive\_limit                                                                                                                                        | -                                                                                                                               | 200                                                                                                                                                                | MySQL-only variable for tuning when the optimizer should switch from using index dives to index statistics for qualifying rows estimation.                                                                                                                                                                                                                                                                                                                                                                                                                |
| [expensive\_subquery\_limit](/docs/server/server-management/variables-and-modes/server-system-variables.md#expensive_subquery_limit)                                 | 100                                                                                                                             | -                                                                                                                                                                  | Used for determining expensive queries for optimization.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [extra\_max\_connections](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-system-status-variables.md)     | 1                                                                                                                               | -                                                                                                                                                                  | Introduced in the [MariaDB 5.1 threadpool](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-in-mariadb-51-53.md).                                                                                                                                                                                                                                                                                                                                                                               |
| [extra\_port](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-system-status-variables.md)                 | 0                                                                                                                               | -                                                                                                                                                                  | Introduced in the [MariaDB 5.1 threadpool](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-in-mariadb-51-53.md).                                                                                                                                                                                                                                                                                                                                                                               |
| [gtid\_binlog\_pos](/docs/server/ha-and-performance/standard-replication/gtid.md)                                                                                    | empty                                                                                                                           | -                                                                                                                                                                  | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [gtid\_binlog\_state](/docs/server/ha-and-performance/standard-replication/gtid.md)                                                                                  | empty                                                                                                                           | -                                                                                                                                                                  | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [gtid\_current\_pos](/docs/server/ha-and-performance/standard-replication/gtid.md)                                                                                   | empty                                                                                                                           | -                                                                                                                                                                  | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [gtid\_domain\_id](/docs/server/ha-and-performance/standard-replication/gtid.md)                                                                                     | 0                                                                                                                               | -                                                                                                                                                                  | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gtid\_executed                                                                                                                                                       | -                                                                                                                               | empty                                                                                                                                                              | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gtid\_executed\_compression\_period                                                                                                                                  | -                                                                                                                               | 1000                                                                                                                                                               | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [gtid\_ignore\_duplicates](/docs/server/ha-and-performance/standard-replication/gtid.md)                                                                             | OFF                                                                                                                             | -                                                                                                                                                                  | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gtid\_mode                                                                                                                                                           | -                                                                                                                               | OFF                                                                                                                                                                | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gtid\_next                                                                                                                                                           | -                                                                                                                               | AUTOMATIC                                                                                                                                                          | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gtid\_owned                                                                                                                                                          | -                                                                                                                               | empty                                                                                                                                                              | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| gtid\_purged                                                                                                                                                         | -                                                                                                                               | empty                                                                                                                                                              | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [gtid\_seq\_no](/docs/server/ha-and-performance/standard-replication/gtid.md)                                                                                        | 0                                                                                                                               | -                                                                                                                                                                  | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [gtid\_slave\_pos](/docs/server/ha-and-performance/standard-replication/gtid.md)                                                                                     | empty                                                                                                                           | -                                                                                                                                                                  | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [gtid\_strict\_mode](/docs/server/ha-and-performance/standard-replication/gtid.md)                                                                                   | OFF                                                                                                                             | -                                                                                                                                                                  | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [have\_openssl](/docs/server/security/encryption/data-in-transit-encryption/ssltls-system-variables.md)                                                              |                                                                                                                                 |                                                                                                                                                                    | MariaDB's version indicates whether YaSSL or openssl was used. MySQL's is a synonym for have\_ssl.                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| have\_statement\_timeout                                                                                                                                             | -                                                                                                                               |                                                                                                                                                                    | MySQL's statement execution timeout feature is available.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [histogram\_size](/docs/server/server-management/variables-and-modes/server-system-variables.md#histogram_size)                                                      | 0                                                                                                                               | -                                                                                                                                                                  | MariaDB introduced [Histogram-based Statistics](/docs/server/ha-and-performance/optimization-and-tuning/query-optimizations/statistics-for-optimizing-queries/histogram-based-statistics.md).                                                                                                                                                                                                                                                                                                                                                             |
| [histogram\_type](/docs/server/server-management/variables-and-modes/server-system-variables.md#histogram_type)                                                      | SINGLE\_PREC\_HB                                                                                                                | -                                                                                                                                                                  | MariaDB introduced [Histogram-based Statistics](/docs/server/ha-and-performance/optimization-and-tuning/query-optimizations/statistics-for-optimizing-queries/histogram-based-statistics.md).                                                                                                                                                                                                                                                                                                                                                             |
| [in\_transaction](/docs/server/server-management/variables-and-modes/server-system-variables.md#in_transaction)                                                      | 0                                                                                                                               | -                                                                                                                                                                  | Set to 1 if you are in a transaction, and 0 if not.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [innodb\_\*](/docs/server/server-usage/storage-engines/innodb/innodb-system-variables.md)                                                                            | \*                                                                                                                              | \*                                                                                                                                                                 | The large number of differences between MySQL's and MariaDB's default innodb\* variables (based upon InnoDB/XtraDB differences) are not listed here. Details can be found on the [MariaDB versus MySQL - Compatibility](https://github.com/mariadb-corporation/docs-server/blob/test/release-notes/compatibility-and-differences/system-variable-differences-between-mariadb-and-mysql/system-variable-differences-between-mariadb-and-mysql-unmaintained-series/broken-reference/README.md) page.                                                        |
| internal\_tmp\_disk\_storage\_engine                                                                                                                                 | -                                                                                                                               | INNODB                                                                                                                                                             | MySQL uses this variable to set the storage engine for on-disk internal temporary tables.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [join\_buffer\_space\_limit](/docs/server/server-management/variables-and-modes/server-system-variables.md#join_buffer_space_limit)                                  | 2097152                                                                                                                         | -                                                                                                                                                                  | Maximum size in bytes of the query buffer. See [block-based join algorithms](broken://spaces/WCInJQ9cmGjq1lsTG91E/pages/VWjZF4UcCaSJJtdMzBO2).                                                                                                                                                                                                                                                                                                                                                                                                            |
| [join\_cache\_level](/docs/server/server-management/variables-and-modes/server-system-variables.md#join_cache_level)                                                 | 2                                                                                                                               | -                                                                                                                                                                  | For determining the join algorithms. See [block-based join algorithms](broken://spaces/WCInJQ9cmGjq1lsTG91E/pages/VWjZF4UcCaSJJtdMzBO2).                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [key\_buffer\_size](/docs/server/server-usage/storage-engines/myisam-storage-engine/myisam-system-variables.md#key_buffer_size)                                      | 134217728                                                                                                                       | 8388608                                                                                                                                                            | Size of the buffer for the index blocks used by MyISAM tables and shared for all threads.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [key\_cache\_file\_hash\_size](/docs/server/server-usage/storage-engines/myisam-storage-engine/myisam-system-variables.md#key_cache_file_hash_size)                  | 512                                                                                                                             | -                                                                                                                                                                  | Number of hash buckets for open and changed files.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [key\_cache\_segments](/docs/server/server-usage/storage-engines/myisam-storage-engine/myisam-system-variables.md#key_cache_segments)                                | 0                                                                                                                               | -                                                                                                                                                                  | The number of segments in a key cache. See [Segmented Key Cache](/docs/server/ha-and-performance/optimization-and-tuning/system-variables/segmented-key-cache.md).                                                                                                                                                                                                                                                                                                                                                                                        |
| [last\_gtid](/docs/server/ha-and-performance/standard-replication/gtid.md#last_gtid)                                                                                 | -                                                                                                                               | empty                                                                                                                                                              | MariaDB and MySQL have different [GTID implementations](/docs/server/ha-and-performance/standard-replication/gtid.md).                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| log\_bin\_use\_v1\_row\_events                                                                                                                                       | -                                                                                                                               | OFF                                                                                                                                                                | MySQL-only variable showing whether or not MySQL's version 2 binary logging format is being used.                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| log\_builtin\_as\_identified\_by\_password                                                                                                                           | -                                                                                                                               | OFF                                                                                                                                                                | MySQL variable for use with binary logging of user-management statements,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| log\_error\_verbosity                                                                                                                                                | -                                                                                                                               | 3                                                                                                                                                                  | MySQL variable for setting verbosity of error, warning, and note messages in the error log.                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [log\_slow\_filter](/docs/server/server-management/variables-and-modes/server-system-variables.md#log_slow_filter)                                                   | admin, filesort, filesort\_on\_disk, full\_join, full\_scan, query\_cache, query\_cache\_miss, tmp\_table, tmp\_table\_on\_disk | -                                                                                                                                                                  | For slow query log filtering.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [log\_slow\_rate\_limit](/docs/server/server-management/variables-and-modes/server-system-variables.md#log_slow_rate_limit)                                          | 1                                                                                                                               | -                                                                                                                                                                  | Limits the number of queries logged to the [slow query log](/docs/server/server-management/server-monitoring-logs/slow-query-log.md).                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [log\_slow\_verbosity](/docs/server/server-management/variables-and-modes/server-system-variables.md#log_slow_verbosity)                                             | empty                                                                                                                           | -                                                                                                                                                                  | Controls information to be added to the [slow query log](/docs/server/server-management/server-monitoring-logs/slow-query-log.md). See also [Slow Query Log Extended Statistics](/docs/server/ha-and-performance/optimization-and-tuning/query-optimizations/statistics-for-optimizing-queries/slow-query-log-extended-statistics.md).                                                                                                                                                                                                                    |
| log\_syslog\*                                                                                                                                                        | platform-dependent                                                                                                              | -                                                                                                                                                                  | MySQL variables with settings for writing to syslog.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [log\_tc\_size](/docs/server/server-management/variables-and-modes/server-system-variables.md#log_tc_size)                                                           | 24576                                                                                                                           | -                                                                                                                                                                  | Size in bytes of the transaction coordinator log, defined in multiples of 4096.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| log\_throttle\_queries\_not\_using\_indexes                                                                                                                          | -                                                                                                                               | 0                                                                                                                                                                  | MySQL-only variable for limiting the number of statements without indexes written to the slow query log.                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| log\_timestamps                                                                                                                                                      | -                                                                                                                               | UTC                                                                                                                                                                | MySQL-only variable controlling the timezone for certain logging conditions.                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [log\_warnings](/docs/server/server-management/variables-and-modes/server-system-variables.md#log_warnings)                                                          | 1                                                                                                                               | 2                                                                                                                                                                  | MySQL's version is deprecated and has a new default.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| master\_info\_repository                                                                                                                                             | -                                                                                                                               | FILE                                                                                                                                                               | MySQL-only variable determining whether the slaves log info to file or table.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| max\_execution\_time                                                                                                                                                 | -                                                                                                                               | 0                                                                                                                                                                  | MySQL renamed the max\_statement\_time variable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [max\_long\_data\_size](/docs/server/server-management/variables-and-modes/server-system-variables.md#max_long_data_size)                                            | 4194304                                                                                                                         | -                                                                                                                                                                  | Maximum size for parameter values sent with mysql\_stmt\_send\_long\_data(). Removed in MySQL 5.6.                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| max\_points\_in\_geometry                                                                                                                                            | -                                                                                                                               | 65536                                                                                                                                                              | Maximum points\_per\_circle for MySQL's ST\_Buffer\_Strategy() function.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [max\_relay\_log\_size](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                         | 1073741824                                                                                                                      | 0                                                                                                                                                                  | Can be set by session in MariaDB.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [max\_seeks\_for\_key](/docs/server/server-management/variables-and-modes/server-system-variables.md#max_seeks_for_key)                                              | 4294967295                                                                                                                      | 4294967295 (32-bit) or 18446744073709547520 (64-bit)                                                                                                               | The most key seeks required when searching with an index, regardless of the actual index cardinality. If this value is set lower than its default and maximum, indexes will tend to be preferred over table scans.                                                                                                                                                                                                                                                                                                                                        |
| [max\_statement\_time](/docs/server/server-management/variables-and-modes/server-system-variables.md#max_statement_time)                                             | 0                                                                                                                               | -                                                                                                                                                                  | Maximum time in seconds that a query can execute before being aborted. MySQL used to have a variable of this name before renaming it max\_execution\_time.                                                                                                                                                                                                                                                                                                                                                                                                |
| [max\_write\_lock\_count](/docs/server/server-management/variables-and-modes/server-system-variables.md#max_write_lock_count)                                        | 4294967295                                                                                                                      | 4294967295 (32-bit) or 18446744073709547520 (64-bit)                                                                                                               | Read lock requests will be permitted for processing after this many write locks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [mrr\_buffer\_size](/docs/server/server-management/variables-and-modes/server-system-variables.md#mrr_buffer_size)                                                   | 262144                                                                                                                          | -                                                                                                                                                                  | Size of buffer to use when using multi-range read with range access. See [Multi Range Read optimization](/docs/server/ha-and-performance/optimization-and-tuning/mariadb-internal-optimizations/multi-range-read-optimization.md#range-access).                                                                                                                                                                                                                                                                                                           |
| [myisam\_block\_size](/docs/server/server-usage/storage-engines/myisam-storage-engine/myisam-system-variables.md#myisam_block_size)                                  | 1024                                                                                                                            | -                                                                                                                                                                  | Block size used for [MyISAM](/docs/server/server-usage/storage-engines/myisam-storage-engine.md) index pages.                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [myisam\_recover\_options](/docs/server/server-usage/storage-engines/myisam-storage-engine/myisam-system-variables.md#myisam_recover_options)                        | DEFAULT                                                                                                                         | OFF                                                                                                                                                                | MyISAM recovery mode.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [myisam\_sort\_buffer\_size](/docs/server/server-usage/storage-engines/myisam-storage-engine/myisam-system-variables.md#myisam_sort_buffer_size)                     | 134216704                                                                                                                       | 8388608                                                                                                                                                            | Size in bytes of the buffer allocated when creating or sorting indexes on a MyISAM table.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [mysql56\_temporal\_format](/docs/server/server-usage/storage-engines/myisam-storage-engine/myisam-system-variables.md#mysql56_temporal_format)                      | ON                                                                                                                              |                                                                                                                                                                    | Causes MariaDB to use the MySQL-5.6 low level formats for [TIME](/docs/server/reference/data-types/date-and-time-data-types/time.md), [DATETIME](/docs/server/reference/data-types/date-and-time-data-types/datetime.md) and [TIMESTAMP](/docs/server/reference/data-types/date-and-time-data-types/timestamp.md) instead of the [MariaDB 5.3](/docs/release-notes/community-server/old-releases/5.3/changes-improvements-in-mariadb-5-3.md)+ version.                                                                                                    |
| mysql\_native\_password\_proxy\_users                                                                                                                                | -                                                                                                                               | OFF                                                                                                                                                                | Whether MySQL's authentication plugin supports proxy users. I                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| new                                                                                                                                                                  | -                                                                                                                               | OFF                                                                                                                                                                | Used for backward-compatibility with MySQL 4.1, not present in MariaDB.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ngram\_token\_size                                                                                                                                                   | -                                                                                                                               | 2                                                                                                                                                                  | Sets the n-gram token size for MySQL's n-gram full-text parser.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| offline\_mode                                                                                                                                                        | -                                                                                                                               | OFF                                                                                                                                                                | MySQL settting for specifying whether the server should run in offline mode.                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [old\_mode](/docs/server/server-management/variables-and-modes/server-system-variables.md#old_mode)                                                                  | Empty string                                                                                                                    | -                                                                                                                                                                  | Used for getting MariaDB to emulate behavior from an old version of MySQL or MariaDB. See [OLD Mode](/docs/server/server-management/variables-and-modes/old_mode.md).                                                                                                                                                                                                                                                                                                                                                                                     |
| [optimizer\_selectivity\_sampling\_limit](/docs/server/server-management/variables-and-modes/server-system-variables.md#optimizer_selectivity_sampling_limit)        | 100                                                                                                                             | -                                                                                                                                                                  | Controls number of record samples to check condition selectivity.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [optimizer\_switch](/docs/server/server-management/variables-and-modes/server-system-variables.md#optimizer_switch)                                                  | [See details](/docs/server/server-management/variables-and-modes/server-system-variables.md#optimizer_switch)                   |                                                                                                                                                                    | A series of flags for controlling the query optimizer. MariaDB has introduced a number of new settings.                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| optimizer\_trace                                                                                                                                                     | -                                                                                                                               | Off by default                                                                                                                                                     | MySQL-only variable for optimizer tracing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| optimizer\_trace\_features                                                                                                                                           | -                                                                                                                               | Off by default                                                                                                                                                     | MySQL-only variable for optimizer tracing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| optimizer\_trace\_limit                                                                                                                                              | -                                                                                                                               | 1                                                                                                                                                                  | MySQL-only variable for optimizer tracing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| optimizer\_trace\_max\_mem\_size                                                                                                                                     | -                                                                                                                               | 16384                                                                                                                                                              | MySQL-only variable for optimizer tracing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| optimizer\_trace\_offset                                                                                                                                             | -                                                                                                                               | -1                                                                                                                                                                 | MySQL-only variable for optimizer tracing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [optimizer\_use\_condition\_selectivity](/docs/server/server-management/variables-and-modes/server-system-variables.md#optimizer_use_condition_selectivity)          | 1                                                                                                                               | -                                                                                                                                                                  | Controls which statistics can be used by the optimizer when looking for the best query execution plan.                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [performance\_schema](/docs/server/reference/system-tables/performance-schema/performance-schema-system-variables.md#performance_schema)                             | OFF                                                                                                                             | ON                                                                                                                                                                 | The [Performance Schema](/docs/server/reference/system-tables/performance-schema.md) is off by default in MariaDB.                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [performance\_schema\_\*](/docs/server/reference/system-tables/performance-schema/performance-schema-system-variables.md)                                            |                                                                                                                                 |                                                                                                                                                                    | Many performance schema variables are autoset in MySQL.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [plugin\_maturity](/docs/server/server-management/variables-and-modes/server-system-variables.md#plugin_maturity)                                                    | unknown                                                                                                                         | -                                                                                                                                                                  | Minimum acceptable plugin maturity.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [progress\_report\_time](/docs/server/server-management/variables-and-modes/server-system-variables.md#progress_report_time)                                         | 5                                                                                                                               | -                                                                                                                                                                  | Time in seconds between sending progress reports to the client for time-consuming statements.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [query\_alloc\_block\_size](/docs/server/server-management/variables-and-modes/server-system-variables.md#query_alloc_block_size)                                    | 16384                                                                                                                           | 8192                                                                                                                                                               | Size in bytes of the extra blocks allocated during query parsing and execution (after query\_prealloc\_size is used up). The MariaDB default was increased to 16384 in 10.1.2.                                                                                                                                                                                                                                                                                                                                                                            |
| [query\_cache\_strip\_comments](/docs/server/server-management/variables-and-modes/server-system-variables.md#query_cache_strip_comments)                            | OFF                                                                                                                             | -                                                                                                                                                                  | Whether to strip any comments from the query before searching to see if it exists in the [query cache](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/query-cache.md).                                                                                                                                                                                                                                                                                                                                                |
| [query\_prealloc\_size](/docs/server/server-management/variables-and-modes/server-system-variables.md#query_prealloc_size)                                           | 24576                                                                                                                           | 8192                                                                                                                                                               | Size in bytes of the persistent buffer for query parsing and execution, allocated on connect and freed on disconnect. The MariaDB default was increased to 24576 in 10.1.2.                                                                                                                                                                                                                                                                                                                                                                               |
| range\_optimizer\_max\_mem\_size                                                                                                                                     | -                                                                                                                               | 1536000                                                                                                                                                            | MySQL-only variable setting a limit on the range optimizer's memory usage.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| rbr\_exec\_mode                                                                                                                                                      | -                                                                                                                               | STRICT                                                                                                                                                             | MySQL-only variable for determining the handling of certain key errors.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| relay\_log\_info\_repository                                                                                                                                         | -                                                                                                                               | FILE                                                                                                                                                               | MySQL-only variable determining whether the slave's position in the relay logs is written to a file or table.                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [replicate\_annotate\_row\_events](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                              | OFF                                                                                                                             | -                                                                                                                                                                  | Tells the slave to reproduce annotate\_rows\_events received from the master in its own binary log.                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [replicate\_do\_db](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                             | empty string                                                                                                                    | -                                                                                                                                                                  | See [Dynamic Replication Variables](/docs/server/ha-and-performance/standard-replication/replication-filters.md).                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [replicate\_do\_table](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                          | empty string                                                                                                                    | -                                                                                                                                                                  | See [Dynamic Replication Variables](/docs/server/ha-and-performance/standard-replication/replication-filters.md).                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [replicate\_events\_marked\_for\_skip](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                          | replicate                                                                                                                       | -                                                                                                                                                                  | See [Selectively skipping replication of binlog events](/docs/server/server-management/server-monitoring-logs/binary-log/selectively-skipping-replication-of-binlog-events.md).                                                                                                                                                                                                                                                                                                                                                                           |
| [replicate\_ignore\_db](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                         | empty string                                                                                                                    | -                                                                                                                                                                  | See [Dynamic Replication Variables](/docs/server/ha-and-performance/standard-replication/replication-filters.md).                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [replicate\_ignore\_table](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                      | empty string                                                                                                                    | -                                                                                                                                                                  | See [Dynamic Replication Variables](/docs/server/ha-and-performance/standard-replication/replication-filters.md).                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [replicate\_wild\_do\_table](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                    | empty string                                                                                                                    | -                                                                                                                                                                  | See [Dynamic Replication Variables](/docs/server/ha-and-performance/standard-replication/replication-filters.md).                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [replicate\_wild\_ignore\_table](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                | empty string                                                                                                                    | -                                                                                                                                                                  | See [Dynamic Replication Variables](/docs/server/ha-and-performance/standard-replication/replication-filters.md).                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| require\_secure\_transport                                                                                                                                           | -                                                                                                                               | OFF                                                                                                                                                                | MySQL-only variable determining whether client to server connections need to be secure.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [rowid\_merge\_buff\_size](/docs/server/server-management/variables-and-modes/server-system-variables.md#rowid_merge_buff_size)                                      | 8388608                                                                                                                         | -                                                                                                                                                                  | See [Non-semi-join subquery optimizations](/docs/server/ha-and-performance/optimization-and-tuning/query-optimizations/subquery-optimizations/non-semi-join-subquery-optimizations.md).                                                                                                                                                                                                                                                                                                                                                                   |
| rpl\_stop\_slave\_timeout                                                                                                                                            | -                                                                                                                               | 31536000                                                                                                                                                           | MySQL-only variable for controlling the time that STOP SLAVE waits before timing out.                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| server\_id\_bits                                                                                                                                                     | -                                                                                                                               | server\_id                                                                                                                                                         | MySQL-only variable for use in MySQL Cluster.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| server\_uuid                                                                                                                                                         | -                                                                                                                               | UUID                                                                                                                                                               | MySQL-only variable containing the UUID.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| session\_track\_\*                                                                                                                                                   | -                                                                                                                               | \*                                                                                                                                                                 | MySQL-only variables for tracking changes within a session.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| sha256\_password\_proxy\_users                                                                                                                                       | -                                                                                                                               | OFF                                                                                                                                                                | MySQL-only variable determining whether the sha256\_password plugin supports proxy users.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| show\_compatibility\_56                                                                                                                                              | -                                                                                                                               | OFF                                                                                                                                                                | MySQL variable for indicating status of certain compatibility traits between MySQL 5.6 and MySQL 5.7.                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| show\_old\_temporals                                                                                                                                                 | -                                                                                                                               | OFF                                                                                                                                                                | MySQL-only variable for determining whether SHOW CREATE TABLE output should include comments for old format temporal columns.                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [skip\_parallel\_replication](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                   | OFF                                                                                                                             | -                                                                                                                                                                  | See [parallel replication](/docs/server/ha-and-performance/standard-replication/parallel-replication.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [skip\_replication](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                             | OFF                                                                                                                             | -                                                                                                                                                                  | See [Selectively skipping replication of binlog events](/docs/server/server-management/server-monitoring-logs/binary-log/selectively-skipping-replication-of-binlog-events.md).                                                                                                                                                                                                                                                                                                                                                                           |
| slave\_allow\_batching                                                                                                                                               | -                                                                                                                               | OFF                                                                                                                                                                | MySQL-only replication variable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| slave\_checkpoint\_group                                                                                                                                             | -                                                                                                                               | 512                                                                                                                                                                | MySQL-only replication variable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| slave\_checkpoint\_period                                                                                                                                            | -                                                                                                                               | 300                                                                                                                                                                | MySQL-only replication variable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [slave\_ddl\_exec\_mode](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                        | IDEMPOTENT                                                                                                                      | -                                                                                                                                                                  | Modes for how replication of DDL events should be executed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [slave\_domain\_parallel\_threads](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                              | 0                                                                                                                               | -                                                                                                                                                                  | For configuring [parallel replication](/docs/server/ha-and-performance/standard-replication/parallel-replication.md#configuration-variable-slave_domain_parallel_threads).                                                                                                                                                                                                                                                                                                                                                                                |
| [slave\_net\_timeout](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                           | 3600                                                                                                                            | 60                                                                                                                                                                 | MySQL 5.7 has reduced the timeout to 60s.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [slave\_parallel\_max\_queued](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                  | 131072                                                                                                                          | -                                                                                                                                                                  | For configuring [parallel replication](/docs/server/ha-and-performance/standard-replication/parallel-replication.md#configuration-variable-slave_domain_parallel_threads).                                                                                                                                                                                                                                                                                                                                                                                |
| [slave\_parallel\_mode](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                         | conservative                                                                                                                    | -                                                                                                                                                                  | Controls what transactions are applied in parallel when using [parallel\_replication](/docs/server/ha-and-performance/standard-replication/parallel-replication.md).                                                                                                                                                                                                                                                                                                                                                                                      |
| [slave\_parallel\_threads](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                      | 0                                                                                                                               | -                                                                                                                                                                  | For configuring [parallel replication](/docs/server/ha-and-performance/standard-replication/parallel-replication.md#configuration-variable-slave_domain_parallel_threads).                                                                                                                                                                                                                                                                                                                                                                                |
| slave\_parallel\_type                                                                                                                                                | -                                                                                                                               | DATABASE                                                                                                                                                           | MySQL-only replication variable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| slave\_parallel\_workers                                                                                                                                             | -                                                                                                                               | 0                                                                                                                                                                  | MySQL-only replication variable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| slave\_pending\_jobs\_size\_max                                                                                                                                      | -                                                                                                                               | 16777216                                                                                                                                                           | MySQL-only replication variable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| slave\_preserve\_commit\_order                                                                                                                                       | -                                                                                                                               | OFF                                                                                                                                                                | MySQL-only replication variable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| slave\_rows\_search\_algorithms                                                                                                                                      | -                                                                                                                               | TABLE\_SCAN, INDEX\_SCAN                                                                                                                                           | MySQL-only replication variable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [slave\_run\_triggers\_for\_rbr](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                | NO                                                                                                                              |                                                                                                                                                                    | See [Running triggers on the slave for Row-based events](/docs/server/ha-and-performance/standard-replication/running-triggers-on-the-replica-for-row-based-events.md) for a description and use-case for this setting.                                                                                                                                                                                                                                                                                                                                   |
| [sort\_buffer\_size](/docs/server/server-management/variables-and-modes/server-system-variables.md#sort_buffer_size)                                                 | 2097152                                                                                                                         | 262144                                                                                                                                                             | The default sort buffer allocated has been reduced in MySQL.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [sql\_mode](/docs/server/server-management/variables-and-modes/server-system-variables.md#sql_mode)                                                                  | NO\_AUTO\_CREATE\_USER, NO\_ENGINE\_SUBSTITUTION                                                                                | ONLY\_FULL\_GROUP\_BY, STRICT\_TRANS\_TABLES, NO\_ZERO\_IN\_DATE, NO\_ZERO\_DATE, ERROR\_FOR\_DIVISION\_BY\_ZERO, NO\_AUTO\_CREATE\_USER, NO\_ENGINE\_SUBSTITUTION | See [SQL Mode](/docs/server/server-management/variables-and-modes/sql_mode.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [storage\_engine](/docs/server/server-management/variables-and-modes/server-system-variables.md#storage_engine)                                                      | InnoDB                                                                                                                          | -                                                                                                                                                                  | Alias for [default\_storage\_engine](/docs/server/server-management/variables-and-modes/server-system-variables.md#default_storage_engine), removed in MySQL.                                                                                                                                                                                                                                                                                                                                                                                             |
| [strict\_password\_validation](/docs/server/server-management/variables-and-modes/server-system-variables.md#strict_password_validation)                             | ON                                                                                                                              | -                                                                                                                                                                  | In MariaDB, when password validation plugins are enabled, reject passwords that cannot be validated (passwords specified as a hash).                                                                                                                                                                                                                                                                                                                                                                                                                      |
| super\_read\_only                                                                                                                                                    | -                                                                                                                               | OFF                                                                                                                                                                | MySQL variable for prohibiting client updates from users with the SUPER privilege.                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [sync\_binlog](/docs/server/ha-and-performance/standard-replication/replication-and-binary-log-system-variables.md)                                                  | 0                                                                                                                               | 1                                                                                                                                                                  | MySQL 5.7 synchronizes all actions to the binary log before they are committed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [table\_definition\_cache](/docs/server/server-management/variables-and-modes/server-system-variables.md#table_definition_cache)                                     | 400                                                                                                                             | -1 (autosized)                                                                                                                                                     | Number of table definitions that can be cached.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [table\_open\_cache](/docs/server/server-management/variables-and-modes/server-system-variables.md#table_open_cache)                                                 | 2000                                                                                                                            | -1 (autosized)                                                                                                                                                     | Number of open tables for all threads. See [Optimizing table\_open\_cache](/docs/server/ha-and-performance/optimization-and-tuning/system-variables/optimizing-table_open_cache.md).                                                                                                                                                                                                                                                                                                                                                                      |
| [table\_open\_cache\_instances](/docs/server/server-management/variables-and-modes/server-system-variables.md#table_open_cache_instances)                            | -                                                                                                                               | 16                                                                                                                                                                 | Removed in MariaDB as similar results achieved in a different way.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [thread\_cache\_size](/docs/server/server-management/variables-and-modes/server-system-variables.md#thread_cache_size)                                               | 0                                                                                                                               | -1 (autosized)                                                                                                                                                     | MariaDB uses an [improved thread pool](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-in-mariadb.md).                                                                                                                                                                                                                                                                                                                                                                                         |
| [thread\_concurrency](/docs/server/server-management/variables-and-modes/server-system-variables.md#thread_concurrency)                                              | 10                                                                                                                              | -                                                                                                                                                                  | Removed in MySQL 5.7.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [thread\_pool\_idle\_timeout](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-system-status-variables.md) | 60                                                                                                                              | -                                                                                                                                                                  | See [Using the Thread Pool in MariaDB 5.5](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-in-mariadb.md).                                                                                                                                                                                                                                                                                                                                                                                     |
| [thread\_pool\_max\_threads](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-system-status-variables.md)  | 1000                                                                                                                            | -                                                                                                                                                                  | See [Using the Thread Pool in MariaDB 5.5](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-in-mariadb.md).                                                                                                                                                                                                                                                                                                                                                                                     |
| [thread\_pool\_min\_threads](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-system-status-variables.md)  | 1                                                                                                                               | -                                                                                                                                                                  | Windows-only. See [Using the Thread Pool in MariaDB 5.5](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-in-mariadb.md).                                                                                                                                                                                                                                                                                                                                                                       |
| [thread\_pool\_oversubscribe](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-system-status-variables.md) | 3                                                                                                                               | -                                                                                                                                                                  | See [Using the Thread Pool in MariaDB 5.5](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-in-mariadb.md).                                                                                                                                                                                                                                                                                                                                                                                     |
| [thread\_pool\_size](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-system-status-variables.md)          | Number of processors                                                                                                            | 16\*                                                                                                                                                               | See [Using the Thread Pool in MariaDB 5.5](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-in-mariadb.md). \*Only available in MySQL with a commercial plugin.                                                                                                                                                                                                                                                                                                                                 |
| [thread\_pool\_stall\_limit](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-system-status-variables.md)  | 500                                                                                                                             | 6\*                                                                                                                                                                | See [Using the Thread Pool in MariaDB 5.5](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-in-mariadb.md). \*Only available in MySQL with a commercial plugin.                                                                                                                                                                                                                                                                                                                                 |
| [thread\_stack](/docs/server/server-management/variables-and-modes/server-system-variables.md#thread_stack)                                                          | 295936                                                                                                                          | 196608 or 262144                                                                                                                                                   | See [Using the Thread Pool in MariaDB 5.5](/docs/server/ha-and-performance/optimization-and-tuning/buffers-caches-and-threads/thread-pool/thread-pool-in-mariadb.md).                                                                                                                                                                                                                                                                                                                                                                                     |
| [timed\_mutexes](/docs/server/server-management/variables-and-modes/server-system-variables.md#timed_mutexes)                                                        | OFF                                                                                                                             | -                                                                                                                                                                  | Removed in MySQL 5.7.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| tls\_version                                                                                                                                                         | -                                                                                                                               | Varies                                                                                                                                                             | MySQL-only variable showing the permitted tls protocols.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| transaction\_allow\_batching                                                                                                                                         | -                                                                                                                               | OFF                                                                                                                                                                | MySQL-only variable for enabling batching of statements within the same transaction in MySQL Cluster.                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| transaction\_write\_set\_extraction                                                                                                                                  | -                                                                                                                               | OFF                                                                                                                                                                | Unused MySQL-only variable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [use\_stat\_tables](/docs/server/server-management/variables-and-modes/server-system-variables.md#use_stat_tables)                                                   | NEVER                                                                                                                           | -                                                                                                                                                                  | Controls the use of [engine-independent table statistics](/docs/server/ha-and-performance/optimization-and-tuning/query-optimizations/statistics-for-optimizing-queries/engine-independent-table-statistics.md).                                                                                                                                                                                                                                                                                                                                          |
| [userstat](/docs/server/server-management/variables-and-modes/server-system-variables.md#userstat)                                                                   | OFF                                                                                                                             | -                                                                                                                                                                  | Whether to activate MariaDB's [User Statistics](/docs/server/ha-and-performance/optimization-and-tuning/query-optimizations/statistics-for-optimizing-queries/user-statistics.md) implementation, not available in MySQL.                                                                                                                                                                                                                                                                                                                                 |
| [version\_malloc\_library](/docs/server/server-management/variables-and-modes/server-system-variables.md#version_malloc_library)                                     | \*                                                                                                                              | -                                                                                                                                                                  | Version of the used malloc library.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [version\_ssl\_library](/docs/server/security/encryption/data-in-transit-encryption/ssltls-system-variables.md)                                                      | \*                                                                                                                              | -                                                                                                                                                                  | Version of the used TLS library.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [wsrep\_\*](/docs/galera-cluster/reference/galera-cluster-system-variables.md)                                                                                       | \*                                                                                                                              | -                                                                                                                                                                  | [Galera cluster](https://github.com/mariadb-corporation/docs-release-notes/blob/test/kb/en/mariadb-galera-cluster/README.md) is only available in MariaDB.                                                                                                                                                                                                                                                                                                                                                                                                |
| Variable                                                                                                                                                             | [MariaDB 10.1](/docs/release-notes/community-server/old-releases/10.1/changes-improvements-in-mariadb-10-1.md)                  | MySQL 5.7                                                                                                                                                          | Notes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |

## See Also

* [System Variable Differences Between MariaDB 10.3 and MySQL 5.7](/docs/release-notes/community-server/about/compatibility-and-differences/system-variable-differences-between-mariadb-and-mysql/system-variable-differences-between-mariadb-and-mysql-unmaintained-series/system-variable-differences-between-mariadb-10-3-and-mysql-5-7.md)
* [System Variable Differences Between MariaDB 10.2 and MySQL 5.7](/docs/release-notes/community-server/about/compatibility-and-differences/system-variable-differences-between-mariadb-and-mysql/system-variable-differences-between-mariadb-and-mysql-unmaintained-series/system-variable-differences-between-mariadb-10-2-and-mysql-5-7.md)
* [System Variable Differences Between MariaDB 10.1 and MySQL 5.6](/docs/release-notes/community-server/about/compatibility-and-differences/system-variable-differences-between-mariadb-and-mysql/system-variable-differences-between-mariadb-and-mysql-unmaintained-series/system-variable-differences-between-mariadb-10-1-and-mysql-5-6.md)

{% @marketo/form formid="4316" formId="4316" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/release-notes/community-server/about/compatibility-and-differences/system-variable-differences-between-mariadb-and-mysql/system-variable-differences-between-mariadb-and-mysql-unmaintained-series/system-variable-differences-between-mariadb-10-1-and-mysql-5-7.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
