System Variable Differences Between MariaDB 10.7 and MySQL 8.0

The following is a comparison of variables that either appear only in MariaDB 10.7 or MySQL 8.0, or have different default settings in MariaDB 10.7, and MySQL 8.0. The releases MariaDB 10.7.0 and MySQL 8.0.11, with only default plugins enabled, were used for the comparison. Note that MySQL 8 is an 'evergreen' release, so features may be added or removed in later releases.

Comparison Table

VariableMariaDB 10.7 DefaultMySQL 8.0 DefaultNotes
activate_all_roles_on_login-OFFDetermines whether to automatically activate roles on login.
alter_algorithmDEFAULT-MariaDB 10.3 introduced new ALTER TABLE ALGORITHM clauses to avoid slow copies in certain instances. This variable allows setting this if no ALGORITHM clause is specified.
analyze_sample_percentage100.0000-Percentage of rows from the table ANALYZE TABLE will sample to collect table statistics.
aria_**-The Aria storage engine is only available in MariaDB.
auto_generate_certs-ONWhether to automatically generate SSL key and certificate files.
avoid_temporal_upgrade-OFFDetermines whether ALTER TABLE implicitly upgrades temporal columns.
back_logAutosizedAutosizedMariaDB and MySQL have different autosizing algorithms.
binlog-annotate-row-eventsON-Introduced in MariaDB 5.3 for replicating between MariaDB 5.3 and MySQL/MariaDB 5.1.
binlog_commit_wait_count0-For use in MariaDB's parallel replication.
binlog_commit_wait_usec100000-For use in MariaDB's parallel replication.
binlog_error_actionABORT_SERVERMySQL-only variable for controlling what happens when the server cannot write to the binary log.
binlog_expire_logs_seconds02592000Sets the binary log expiration period in seconds
binlog_file_cache_size16184-For setting the size of the file cache for the binary log.
binlog_formatMIXEDROWMariaDB and MySQL have differing binary log formats.
binlog_group_commit_sync_delay0MySQL-only variable for controlling the wait time before synchronizing the binary log file to disk.
binlog_group_commit_sync_no_delay_count0MySQL-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-ONMySQL-only GTID variable. MariaDB's GTID implementation is different.
binlog_max_flush_queue_time-0Specifies a timeout for reading transactions from the flush queue before continuing with group commit and syncing log to disk.
binlog_optimize_thread_schedulingON-For optimized kernel thread scheduling.
binlog_order_commits-ONDetermines whether transactions may be committed in parallel.
binlog_row_metadataNO_LOGMINIMALDetermines the amount of table metadata added to the binary log with row-based logging.
binlog_row_value_options-(empty)Permits an alternative binlog format for JSON document updates.
binlog_rows_query_log_events-OFFMySQL-only variable for logging extra information in row-based logging.
binlog_transaction_dependency_history_size-25000Maximum number of row hashes kept for looking up transactions that last modified a given row.
binlog_transaction_dependency_tracking-COMMIT_ORDERFor determining how to best use the slave's multithreaded applier.
block_encryption_mode-aes-128-ecbMySQL-only variable for controlling the block encryption mode for block-based algorithms.
caching_sha2_password*-*For use with MySQL's SHA-256 authentication with caching.
character_set_*latin1 or utf8utf8mb4MySQL 8.0 defaults to the utf8mb4 character set.
check_constraint_checksON-Permits disabling constraint checks, for example when loading a table that violates some constraints that you plan to fix later.
check_proxy_usersOFFMySQL-only variable for controlling whether the server performs proxy user mapping for authentication plugins.
collation_*latin1_swedish_ci or utf8_general_ciutf8mb4_0900_ai_ciMySQL 8.0 defaults to the utf8mb4 character set.
column_compression_threshold100-MariaDB supports Storage-engine Independent Column Compression.
column_compression_zlib_level6-MariaDB supports Storage-engine Independent Column Compression.
column_compression_zlib_strategyDEFAULT_STRATEGY-MariaDB supports Storage-engine Independent Column Compression.
column_compression_zlib_wrapOFF-MariaDB supports Storage-engine Independent Column Compression.
cte_max_recursion_depth-1000When MySQL 8.0 introduced common table expressions they used a different name. MariaDB's variable is called max_recursive_iterations.
date_format%Y-%m-%d-Unused variable removed in MySQL 8.0
datetime_format%Y-%m-%d-Unused variable removed in MySQL 8.0
deadlock_search_depth_long15-The Aria storage engine is only available in MariaDB.
deadlock_search_depth_short4-The Aria storage engine is only available in MariaDB.
deadlock_timeout_long50000000-The Aria storage engine is only available in MariaDB.
deadlock_timeout_short10000-The Aria storage engine is only available in MariaDB.
debug_no_thread_alarmOFF-Disable system thread alarm calls, for debugging or testing.
default_authentication_plugin-caching_sha2_passwordMySQL 8 introduced a new authentication plugin.
default_collation_for_utf8mb4-utf8mb4_0900_ai_ciFor internal use in MySQL 8 replication.
default_master_connectionempty-For use with MariaDB's multi-source replication.
default_password_lifetime0360MariaDB defaults to password expiration off.
default_regex_flagsempty-For handling incompatibilities between MariaDB's PCRE and the old regex library.
default_tmp_storage_engineemptyInnoDBDefault storage engine used for tables created with CREATE TEMPORARY TABLE.
disabled_storage_enginesemptyMySQL-only variable for disabling specific storage engines.
disconnect_on_expired_passwordOFFONMariaDB password expiration is off by default, and by default does not disconnect a client when a password has expired.
encrypt_binlogOFF-MariaDB enables table and tablespace encryption.
encrypt_tmp_filesOFF-MariaDB enables table and tablespace encryption.
encrypt_tmp_disk_tablesOFF-MariaDB enables table and tablespace encryption.
end_markers_in_json-OFFMySQL-only variable for adding end markers to JSON output.
enforce_gtid_consistency-OFFMariaDB and MySQL have different GTID implementations.
enforce_storage_enginenoneForces the use of a particular storage engine for new tables.
eq_range_index_dive_limit0200Variable for tuning when the optimizer should switch from using index dives to index statistics for qualifying rows estimation.
event_schedulerOFFONMySQL enables the event scheduler by default.
expensive_subquery_limit100-Used for determining expensive queries for optimization.
explicit_defaults_for_timestampOFFONMySQL 8 disables the old timestamp behavior.
extra_max_connections1-Introduced in the MariaDB 5.1 threadpool.
extra_port0-Introduced in the MariaDB 5.1 threadpool.
group_concat_max_len10485761024MariaDB increases the maximum length for a GROUP_CONCAT() result from 1K to 1M.
gtid_binlog_posempty-MariaDB and MySQL have different GTID implementations.
gtid_binlog_stateempty-MariaDB and MySQL have different GTID implementations.
gtid_cleanup_batch_size64-MariaDB and MySQL have different GTID implementations.
gtid_current_posempty-MariaDB and MySQL have different GTID implementations.
gtid_domain_id0-MariaDB and MySQL have different GTID implementations.
gtid_executed-emptyMariaDB and MySQL have different GTID implementations.
gtid_executed_compression_period-1000MariaDB and MySQL have different GTID implementations.
gtid_ignore_duplicatesOFF-MariaDB and MySQL have different GTID implementations.
gtid_mode-OFFMariaDB and MySQL have different GTID implementations.
gtid_next-AUTOMATICMariaDB and MySQL have different GTID implementations.
gtid_owned-emptyMariaDB and MySQL have different GTID implementations.
gtid_pos_auto_enginesempty-MariaDB and MySQL have different GTID implementations.
gtid_purged-emptyMariaDB and MySQL have different GTID implementations.
gtid_seq_no0-MariaDB and MySQL have different GTID implementations.
gtid_slave_posempty-MariaDB and MySQL have different GTID implementations.
gtid_strict_modeOFF-MariaDB and MySQL have different GTID implementations.
have_cryptYES-MySQL has removed the ENCRYPT function.
have_opensslMariaDB's version indicates whether YaSSL or openssl was used. MySQL's is a synonym for have_ssl.
have_query_cacheYES-MySQL has removed the query cache.
have_statement_timeout-Whether MySQL's statement execution timeout feature is available.
have_symlinkYESDISABLEDMySQL has removed symlink support.
histogram_generation_max_mem_size-20000000Added when MySQL 8 introduced Histogram-based Statistics. MariaDB uses histogram_size
histogram_size0-MariaDB introduced Histogram-based Statistics.
histogram_typeDOUBLE_PREC_HB-MariaDB introduced Histogram-based Statistics.
idle_readonly_transaction_timeout0-Time in seconds that the server waits for idle read-only transactions.
idle_transaction_timeout0-Time in seconds that the server waits for idle transactions.
idle_write_transaction_timeout0-Time in seconds that the server waits for idle write transactions.
ignore_builtin_innodbOFF-Ignored and removed in MySQL 8.
in_predicate_conversion_threshold1000-Controls the Conversion of Big IN Predicates Into Subqueries optimization.
in_transaction0-Set to 1 if you are in a transaction, and 0 if not.
information_schema_stats_expiry-86400Time until MySQL Information Schema cached statistics expire.
innodb_adaptive_flushing_lwm10.00000010Adaptive flushing is enabled when this this low water mark percentage of the redo log capacity is reached. MariaDB's variable is a double, MySQL's an integer.
innodb_adaptive_hash_indexOFFONDefaulting to OFF is a performance improvement especially for DROP TABLE, TRUNCATE TABLE, ALTER TABLE, or DROP INDEX operations
innodb_adaptive_max_sleep_delay-150000Deprecated and ignored in MariaDB 10.5 and removed in MariaDB 10.6.
innodb_api_*-*Specific to MySQL's memcached, removed in MariaDB 10.2.
innodb_autoinc_lock_mode12MariaDB has an extra mode, 3, for skipping the rollback of connected transactions. MySQL defaults to row-based replication, so can safely use 2.
innodb_buffer_pool_instances-1Deprecated and ignored in MariaDB 10.5 and removed in MariaDB 10.6 since the original reasons for introducing no longer apply.
innodb_checksum_algorithmfull_crc32crc32fullcrc32 permits encryption to be supported over a SPATIAL INDEX, which crc32 does not support.
innodb_commit_concurrency-0Deprecated and ignored in MariaDB 10.5 and removed in MariaDB 10.6.
innodb_compression_**-Introduced with MariaDB's InnoDB compression.
innodb_concurrency_tickets-5000Deprecated and ignored in MariaDB 10.5 and removed in MariaDB 10.6.
innodb_deadlock_reportFull-How to report deadlocks.
innodb_dedicated_server-OFFMySQL option that automatically configures various settings if the server is a dedicated InnoDB database server.
innodb_default_encryption_key_id1-Default encryption key id used for table encryption. See Data at Rest Encryption.
innodb_defragment*-MariaDB can defragment InnoDB tablespaces.
innodb_directories-(empty)Used to search for tablespace files when moving or restoring a new location.
innodb_disallow_writesOFF-Tell InnoDB to stop any writes to disk.
innodb_encrypt_*1-See MariaDB's Data at Rest Encryption.
innodb_fatal_semaphore_wait_threshold600-MariaDB's fatal semaphore timeout is configurable.
innodb_flush_methodO_DIRECTfsyncMariaDB InnoDB flushing method by default on Unix systems bypasses the file system cache for improved performance in most cases.
innodb_flush_neighbors10MySQL 8 by default now assumes the use of an SSD device.
innodb_force_primary_keyOFF-If set to 1 in MariaDB (0 is default) CREATE TABLEs without a primary or unique key where all keyparts are NOT NULL will not be accepted, and will return an error.
innodb_immediate_scrub_data_uncompressedOFF-MariaDB has support for data scrubbing.
innodb_instant_alter_column_allowedadd_drop_reorder-See Instant ADD COLUMN for InnoDB.
innodb_log_checksums-ONDeprecated and ignored in MariaDB 10.5 and removed in MariaDB 10.6, as there is no reason to allow checksums to be disabled on the redo log.
innodb_log_compressed_pages-ONDeprecated and ignored in MariaDB 10.5 and removed in MariaDB 10.6 as part of the InnoDB redo log performance improvements.
innodb_log_files_in_group-2Deprecated and ignored in MariaDB 10.5 and removed in MariaDB 10.6 as part of the InnoDB redo log performance improvements.
innodb_log_spin_*-*MySQL variables for constraining CPU usage while waiting for flushed redo.
innodb_log_wait_for_flush_spin_hwm-*MySQL variable for constraining CPU usage while waiting for flushed redo.
innodb_max_dirty_pages_pct7590MySQL 8 increased the default to 90.
innodb_max_dirty_pages_pct_lwm010MySQL 8 increased the default to 10.
innodb_max_undo_log_size104857601073741824MariaDB 10.2 reduced the limit for when an undo tablespace is marked for truncation.
innodb_open_filesAutosized (2000)Autosized (4000)In most systems, autosized based on the table_open_cache setting, which differs between MariaDB and MySQL.
innodb_page_cleaners-1Deprecated and ignored in MariaDB 10.5 and removed in MariaDB 10.6 as the original reasons for for splitting the buffer pool have mostly gone away.
innodb_prefix_index_cluster_optimizationOFF-MariaDB includes the Facebook prefix index queries optimization.
innodb_print_ddl_logs-OFFMySQL option for writing DDL logs to stderr.
innodb_read_only_compressedON-Whether to set ROW_FORMAT=COMPRESSED tables to read-only.
innodb_redo_log_encrypt-OFFMySQL 8 has also now introduced redo log encryption, but used a different name. The equivalent option in MariaDB is innodb_encrypt_log.
innodb_replication_delay-0Deprecated and ignored in MariaDB 10.5 and removed in MariaDB 10.6.
innodb_rollback_segments-128Removed in MariaDB as part of the InnoDB cleanup. It makes sense to always create and use the maximum number of rollback segments.
innodb_spin_wait_delay46MariaDB changed the default from 6 to 4 based on extensive benchmarking.
innodb_stats_modified_counter0-MariaDB option to control the calculation of new statistics.
innodb_stats_traditionalON-Enabling gives a larger sample of pages for larger tables for the purposes of index statistics calculation.
innodb_sync_array_size-1Deprecated and ignored in MariaDB 10.5 and removed in MariaDB 10.6.
innodb_thread_concurrency-0Deprecated and ignored in MariaDB 10.5 and removed in MariaDB 10.6.
innodb_thread_sleep_delay-10000Deprecated and ignored in MariaDB 10.5 and removed in MariaDB 10.6.
innodb_undo_log_encrypt-OFFMySQL option for encrypting undo logs residing in separate undo tablespaces.
innodb_undo_log_truncateOFFONMySQL 8 changes the default to ON, marking larger undo logs for truncation.
innodb_undo_tablespaces02Number of tablespace files used for dividing up the undo logs. MySQL 8 has deprecated this setting, and increased the default (and minimum) to 2.
innodb_use_atomic_writesON-Atomic writes are a faster alternative to innodb_doublewrite and MariaDB automatically detects when supporting SSD cards are used.
internal_tmp_disk_storage_engine-INNODBMySQL uses this variable to set the storage engine for on-disk internal temporary tables.
internal_tmp_mem_storage_engine-TEMPTABLEMySQL and MariaDB use different formats for temporary tables. In MariaDB, the aria_used_for_temp_tables performs a similar function.
join_buffer_space_limit2097152-Maximum size in bytes of the query buffer. See block-based join algorithms.
join_cache_level2-For determining the join algorithms. See block-based join algorithms
key_buffer_size1342177288388608Size of the buffer for the index blocks used by MyISAM tables and shared for all threads.
key_cache_file_hash_size512-Number of hash buckets for open and changed files.
key_cache_segments0-The number of segments in a key cache. See Segmented Key Cache.
keyring_operations-ONWhether MySQL 8's keyring operations are enabled.
last_gtid-emptyMariaDB and MySQL have different GTID implementations.
local_infileONOFFMySQL no longer supports LOAD DATA LOCAL by default.
lock_wait_timeout8640031536000MariaDB has reduced the timeout for acquiring metadata locks.
log_binOFFONMySQL 8 enables the binary log by default.
log_bin_compressOFF-MariaDB setting for whether or not the binary log can be compressed.
log_bin_compress_min_len256-Minimum length of sql statement (in statement mode) or record (in row mode) that can be compressed. See Compressing Events to Reduce Size of the Binary Log.
log_bin_use_v1_row_events-OFFMySQL-only variable showing whether or not MySQL's version 2 binary logging format is being used.
log_disabled_statementssp-Disable logging of certain statements to the general log.
log_error_services-log_filter_internal; log_sink_internalComponents to enable for MySQL error logging.
log_error_verbosity-3MySQL variable for setting verbosity of error, warning, and note messages in the error log.
log_slave_updatesOFFONMySQL 8 has by default enabled binary logging of updates a slave receives from a master.
log_slow_admin_statementsONOFFMariaDB logs slow admin statements to the slow query log by default.
log_slow_disabled_statementsadmin,call,slave,sp-Disable logging of certain statements to the slow query log.
log_slow_filteradmin, 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_limit1-Limits the number of queries logged to the slow query log.
log_slow_slave_statementsONOFFMariaDB logs slow slave statements to the slow query log by default.
log_slow_verbosityempty-Controls information to be added to the slow query log. See also Slow Query Log Extended Statistics.
log_statements_unsafe_for_binlog-ONMySQL setting for controlling whether binlog warnings are written to the error log.
log_syslog*platform-dependent-MySQL variables with settings for writing to syslog.
log_tc_size24576-Size in bytes of the transaction coordinator log, defined in multiples of 4096.
log_throttle_queries_not_using_indexes-0MySQL-only variable for limiting the number of statements without indexes written to the slow query log.
log_timestamps-UTCMySQL-only variable controlling the timezone for certain logging conditions.
log_warnings2-MySQL 8 has replaced with log_error_verbosity.
mandatory_roles-(empty)MySQL variable for assigning roles to all users.
master_info_repository-TABLEWhether slave logs master status and connection info to a table or a file.
max_allowed_packet16M64M
max_error_count641024Specifies the maximum number of messages stored for display by SHOW ERRORS and SHOW WARNINGS statements.
max_execution_time-0MySQL renamed the max_statement_time variable.
max_length_for_sort_data641024Used to decide which algorithm to choose when sorting rows. If the total size of the column data, not including columns that are part of the sort, is less than max_length_for_sort_data, then these are added to the sort key. This can speed up the sort as there's no need to re-read the same row again later. Setting the value too high can slow things down as there will be a higher disk activity for doing the sort.
max_password_errors4294967295-Maximum number of failed connections attempts before no more are permitted.
max_points_in_geometry-65536Maximum points_per_circle for MySQL's ST_Buffer_Strategy() function.
max_recursive_iterations4294967295-Maximum number of iterations when executing recursive queries.
max_relay_log_size10737418240Can be set by session in MariaDB.
max_seeks_for_key42949672954294967295 (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_session_mem_used9223372036854775807-Amount of memory a single user session is allowed to allocate.
max_statement_time0-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_tmp_tables32-Unused variable removed in MySQL.
max_write_lock_count42949672954294967295 (32-bit) or 18446744073709547520 (64-bit)Read lock requests will be permitted for processing after this many write locks.
mrr_buffer_size262144-Size of buffer to use when using multi-range read with range access. See Multi Range Read optimization.
myisam_block_size1024-Block size used for MyISAM index pages.
myisam_recover_optionsBACKUP,QUICKOFFMyISAM recovery mode.
myisam_sort_buffer_size1342167048388608Size in bytes of the buffer allocated when creating or sorting indexes on a MyISAM table.
mysql_native_password_proxy_users-OFFWhether MySQL's authentication plugin supports proxy users. I
mysql56_temporal_formatONCauses MariaDB to use the MySQL-5.6 low level formats for TIME, DATETIME and TIMESTAMP instead of the MariaDB 5.3+ version.
new-OFFUsed for backward-compatibility with MySQL 4.1, not present in MariaDB.
mysqlx+*-*MySQL's X plugin related variables.
ngram_token_size-2Sets the n-gram token size for MySQL's n-gram full-text parser.
offline_mode-OFFMySQL settting for specifying whether the server should run in offline mode.
old_alter_tableDEFAULTOFFAn alias for alter_algorithm.
old_modeEmpty string-Used for getting MariaDB to emulate behavior from an old version of MySQL or MariaDB. See OLD Mode.
old_passwordsOFF-MySQL 8 is no longer compatible with the old pre-MySQL 4.1 form of password hashing.
optimizer_selectivity_sampling_limit100-Controls number of record samples to check condition selectivity.
optimizer_switchSee detailsA series of flags for controlling the query optimizer. MariaDB has introduced a number of new settings.
optimizer_trace_*-*MySQL has more settings for optimizer tracing.
optimizer_use_condition_selectivity4-Controls which statistics can be used by the optimizer when looking for the best query execution plan.
original_commit_timestamp-*Used by MySQL 8 for delaying replication.
parser_max_mem_size-4294967295 (32-bit) or 18446744073709547520 (64-bit)MySQL variable for limiting memory available to the parser.
password_*-*Controls reuse of previous passwords in MySQL.
performance_schemaOFFONThe Performance Schema is off by default in MariaDB.
performance_schema_*Many performance schema variables are autoset in MySQL, and MySQL has a different version, with additional variables.
plugin_maturityOne less than the server maturity-Minimum acceptable plugin maturity.
progress_report_time5-Time in seconds between sending progress reports to the client for time-consuming statements.
proxy_protocol_networks(empty)-Enable proxy protocol for these source networks.
query_alloc_block_size163848192Size in bytes of the extra blocks allocated during query parsing and execution (after query_prealloc_size is used up).
query_cache_**-MySQL has removed the query cache.
query_prealloc_size245768192Size in bytes of the persistent buffer for query parsing and execution, allocated on connect and freed on disconnect.
range_optimizer_max_mem_size-8388608MySQL-only variable setting a limit on the range optimizer's memory usage.
rbr_exec_mode-STRICTMySQL-only variable for determining the handling of certain key errors.
read_binlog_speed_limit0-Permits restricting the speed at which the slave reads the binlog from the master.
regexp_*-*Memory and time limits for regular expression matching operations.
relay_log_info_repository-TABLEMySQL-only variable determining whether the slave's position in the relay logs is written to a file or table.
replicate_annotate_row_eventsON-Tells the slave to reproduce annotate_rows_events received from the master in its own binary log.
replicate_do_dbempty string-See Dynamic Replication Variables.
replicate_do_tableempty string-See Dynamic Replication Variables.
replicate_events_marked_for_skipreplicate-See Selectively skipping replication of binlog events.
replicate_ignore_dbempty string-See Dynamic Replication Variables.
replicate_ignore_tableempty string-See Dynamic Replication Variables.
replicate_wild_do_tableempty string-See Dynamic Replication Variables.
replicate_wild_ignore_tableempty string-See Dynamic Replication Variables.
result_metadata-FULLDetermine whether the server returns result set metadata for connections where this is optional.
rowid_merge_buff_size8388608-See Non-semi-join subquery optimizations.
rpl_read_size-8192Minimum data in bytes read from the binary and relay log files.
rpl_semi_sync_*--MariaDB includes semisynchronous replication without the need to install a plugin.
rpl_stop_slave_timeout-31536000Controls the time that STOP SLAVE waits before timing out.
s3_**-The S3 storage engine is only available in MariaDB.
schema_definition_cache-256Limits the number of schema definition objects kept in the dictionary object cache.
secure_authON-Removed in MySQL.
secure_timestampNO-MariaDB-only option permitting the restricting of direct setting of a session timestamp..
server_id_bits-server_idMySQL-only variable for use in MySQL Cluster.
server_uuid-UUIDMySQL-only variable containing the UUID.
session_track_gtids-OFFMySQL-only variables for tracking gtid changes. MariaDB and MySQL's gtid implementation is different.
sha256_password_proxy_users-OFFMySQL-only variable determining whether the sha256_password plugin supports proxy users.
show_create_table_verbosity-OFFOption to cause SHOW CREATE TABLE to display ROW_FORMAT in all cases.
show_old_temporals-OFFMySQL-only variable for determining whether SHOW CREATE TABLE output should include comments for old format temporal columns.
skip_parallel_replicationOFF-See parallel replication.
skip_replicationOFF-See Selectively skipping replication of binlog events.
slave_allow_batching-OFFMySQL-only replication variable.
slave_checkpoint_group-512MySQL-only replication variable.
slave_checkpoint_period-300MySQL-only replication variable.
slave_ddl_exec_modeIDEMPOTENT-Modes for how replication of DDL events should be executed.
slave_domain_parallel_threads0-For configuring parallel replication.
slave_net_timeout360060MySQL reduced the timeout to 60s.
slave_parallel_max_queued131072-For configuring parallel replication.
slave_parallel_modeoptimistic-Controls what transactions are applied in parallel when using parallel_replication.
slave_parallel_threads0-For configuring parallel replication.
slave_parallel_type-DATABASEMySQL-only replication variable.
slave_pending_jobs_size_max-16777216MySQL-only replication variable.
slave_preserve_commit_order-OFFMySQL-only replication variable.
slave_rows_search_algorithms-INDEX_SCAN, HASH_SCANMySQL-only replication variable.
slave_run_triggers_for_rbrNOSee Running triggers on the slave for Row-based events for a description and use-case for this setting.
slave_transaction_retry_errors1213,1205-When an error occurs during a transaction on the slave, replication usually halts. By default, transactions that caused a deadlock or elapsed lock wait timeout will be retried. One can add other errors to the the list of errors that should be retried by adding a comma-separated list of error numbers to this variable.
slave_transaction_retry_interval0-Interval in seconds for the slave SQL thread to retry a failed transaction due to a deadlock, elapsed lock wait timeout or an error listed in slave_transaction_retry_errors.
sort_buffer_size2097152262144The default sort buffer allocated has been reduced in MySQL.
sql_if_existsOFF-Adds an implicit IF EXISTS to ALTER, RENAME and DROP of TABLES, VIEWS, FUNCTIONS and PACKAGES
sql_modeSTRICT_TRANS_TABLES, ERROR_FOR_DIVISION_BY_ZERO, NO_AUTO_CREATE_USER, NO_ENGINE_SUBSTITUTIONONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, NO_ZERO_IN_DATE, NO_ZERO_DATE, ERROR_FOR_DIVISION_BY_ZERO, NO_ENGINE_SUBSTITUTIONSee SQL Mode.
ssl_fips_mode-OFFWhether FIPS mode is enabled on the server side.
standard_compliant_cteON-See Common Table Expressions.
storage_engineInnoDB-Alias for default_storage_engine, removed in MySQL.
strict_password_validationON-In MariaDB, when password validation plugins are enabled, reject passwords that cannot be validated (passwords specified as a hash).
stored_program_definition_cache-256Limits the number of stored program definition objects kept in the dictionary object cache.
super_read_only-OFFMySQL variable for prohibiting client updates from users with the SUPER privilege.
sync_binlog01MySQL synchronizes all actions to the binary log before they are committed.
sync_frm1-.frm files have been removed in MySQL.
system_versioning_alter_historyERROR-MariaDB has System-Versioned Tables
system_versioning_asofDEFAULT-MariaDB has System-Versioned Tables
table_definition_cache400-1 (autosized)Number of table definitions that can be cached.
table_open_cache_instances816Maximum number of table cache instances.
tablespace_definition_cache-256Limits the number of tablespace definition objects kept in the dictionary object cache.
tcp_keepalive_interval0-Interval, in seconds, between when successive keep-alive packets are sent if no acknowledgement is received.
tcp_keepalive_probes0-Number of unacknowledged probes to send before considering the connection dead and notifying the application layer.
tcp_keepalive_time0-Set the TCP_NODELAY option (disable Nagle's algorithm) on socket.
tcp_nodelay1-Timeout, in milliseconds, with no activity until the first TCP keep-alive packet is sent.
temptable_max_ram-1GBLimits the RAM used by MySQL's TempTable storage engine.
thread_cache_sizeAutosized-1 (autosized)MariaDB uses an improved thread pool.
thread_pool_dedicated_listener0-Better precision for the data in the Information Schema THREADPOOL_QUEUES Table.
thread_pool_exact_stats0-Better precision for the data in the Information Schema THREADPOOL_QUEUES Table.
thread_pool_idle_timeout60-See Using the Thread Pool.
thread_pool_max_threads65536-See Using the Thread Pool.
thread_pool_min_threads1-Windows-only. See Using the Thread Pool.
thread_pool_oversubscribe3-See Using the Thread Pool.
thread_pool_prio_kickupauto-See Using the Thread Pool.
thread_pool_priorityauto-See Using the Thread Pool.
thread_pool_sizeNumber of processors16*See Using the Thread Pool. *Only available in MySQL with a commercial plugin.
thread_pool_stall_limit5006*See Using the Thread Pool. *Only available in MySQL with a commercial plugin.
thread_stack299008VariesSee Using the Thread Pool.
time_format%H:%i:%s-Removed in MySQL.
tmp_disk_table_size18446744073709551615-Max size for data for an internal temporary on-disk MyISAM or Aria table.
tmp_memory_table_size16777216-Alias for tmp_table_size.
transaction_allow_batching-OFFVariable for enabling batching of statements within the same transaction in MySQL Cluster.
transaction_isolation-REPEATABLE-READThe MariaDB equivalent is tx_isolation.
transaction_read_only-OFFThe MariaDB equivalent is tx_read_only.
transaction_write_set_extraction-OFFUnused MySQL-only variable.
tx_isolationREPEATABLE-READ-The MySQL equivalent is transaction_isolation.
tx_read_onlyOFF-The MySQL equivalent is transaction_read_only.
use_stat_tablespreferably_for_queries-Controls the use of engine-independent table statistics.
userstatOFF-Whether to activate MariaDB's User Statistics implementation, not available in MySQL.
version_compile_zlib-*Version of the zlib library compiled in.
version_malloc_library*-Version of the used malloc library.
version_source_revisionVaries-Permits seeing exactly which version of the source was used for a build.
version_ssl_library*-Version of the used TLS library.
windowing_high_use_precision-*MySQL option allowing safety to be sacrificed for speed in window function calculations.
wsrep_**-Galera cluster is only available in MariaDB.
VariableMariaDB 10.7MySQL 8.0Notes

See Also

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.