🗄️ Database Browser © Nasirudin

VARIABLE_NAMESESSION_VALUEGLOBAL_VALUEGLOBAL_VALUE_ORIGINDEFAULT_VALUEVARIABLE_SCOPEVARIABLE_TYPEVARIABLE_COMMENTNUMERIC_MIN_VALUENUMERIC_MAX_VALUENUMERIC_BLOCK_SIZEENUM_VALUE_LISTREAD_ONLYCOMMAND_LINE_ARGUMENTGLOBAL_VALUE_PATH
LICENSENULLGPLCOMPILE-TIMENULLGLOBALVARCHARThe type of license the server hasNULLNULLNULLNULLYESNULLNULL
PERFORMANCE_SCHEMANULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable the performance schema.NULLNULLNULLOFF,ONYESOPTIONALNULL
SQL_MODESTRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTIONSTRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTIONCOMPILE-TIMESTRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTIONSESSIONSETSets the sql modeNULLNULLNULLREAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,IGNORE_BAD_TABLE_OPTIONS,ONLY_FULL_GROUP_BY,NO_UNSIGNED_SUBTRACTION,NO_DIR_IN_CREATE,POSTGRESQL,ORACLE,MSSQL,DB2,MAXDB,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_FIELD_OPTIONS,MYSQL323,MYSQL40,ANSI,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ALLOW_INVALID_DATES,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,HIGH_NOT_PRECEDENCE,NO_ENGINE_SUBSTITUTION,PAD_CHAR_TO_FULL_LENGTH,EMPTY_STRING_IS_NULL,SIMULTANEOUS_ASSIGNMENT,TIME_ROUND_FRACTIONALNOREQUIREDNULL
BINLOG_FORMATMIXEDMIXEDCOMPILE-TIMEMIXEDSESSIONENUMWhat form of binary logging the master will use: either ROW for row-based binary logging, STATEMENT for statement-based binary logging, or MIXED. MIXED is statement-based binary logging except for those statements where only row-based is correct: those which involve user-defined functions (i.e. UDFs) or the UUID() function; for those, row-based binary logging is automatically used.NULLNULLNULLMIXED,STATEMENT,ROWNOREQUIREDNULL
GTID_BINLOG_STATENULLCOMPILE-TIMENULLGLOBALVARCHARThe internal GTID state of the binlog, used to keep track of all GTIDs ever logged to the binlog.NULLNULLNULLNULLNONULLNULL
PERFORMANCE_SCHEMA_EVENTS_WAITS_HISTORY_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTNumber of rows per thread in EVENTS_WAITS_HISTORY. Use 0 to disable, -1 for automated sizing.-11.0241NULLYESREQUIREDNULL
DELAYED_INSERT_LIMITNULL100COMPILE-TIME100GLOBALBIGINT UNSIGNEDAfter inserting delayed_insert_limit rows, the INSERT DELAYED handler will check if there are any SELECT statements pending. If so, it allows these to execute before continuing.14.294.967.2951NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_COND_CLASSESNULL90COMPILE-TIME90GLOBALBIGINT UNSIGNEDMaximum number of condition instruments.02561NULLYESREQUIREDNULL
WSREP_TRX_FRAGMENT_SIZE00COMPILE-TIME0SESSIONBIGINT UNSIGNEDSize of transaction fragments for streaming replication (measured in units of 'wsrep_trx_fragment_unit')02.147.483.6471NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_COND_INSTANCESNULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of instrumented condition objects. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
INNODB_FLUSH_LOG_AT_TIMEOUTNULL1COMPILE-TIME1GLOBALINT UNSIGNEDWrite and flush logs every (n) second.02.7000NULLNOOPTIONALNULL
PERFORMANCE_SCHEMA_MAX_RWLOCK_INSTANCESNULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of instrumented RWLOCK objects. Use 0 to disable, -1 for automated sizing.-1104.857.6001NULLYESREQUIREDNULL
INNODB_ENCRYPT_TEMPORARY_TABLESNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnrypt the temporary table data.NULLNULLNULLOFF,ONYESOPTIONALNULL
PERFORMANCE_SCHEMA_MAX_PREPARED_STATEMENTS_INSTANCESNULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of instrumented prepared statements. Use 0 to disable, -1 for automated scaling.-11.048.5761NULLYESREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_TABLE_INSTANCESNULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of instrumented tables. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
MAX_STATEMENT_TIME0,000,00COMPILE-TIME0,00SESSIONDOUBLEA query that has taken more than max_statement_time seconds will be aborted. The argument will be treated as a decimal value with microsecond precision. A value of 0 (default) means no timeout031.536.000NULLNULLNOREQUIREDNULL
PROXY_USERNULLCOMPILE-TIMENULLSESSION ONLYVARCHARThe proxy user account name used when logging inNULLNULLNULLNULLYESNULLNULL
PERFORMANCE_SCHEMA_MAX_MUTEX_INSTANCESNULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of instrumented MUTEX objects. Use 0 to disable, -1 for automated sizing.-1104.857.6001NULLYESREQUIREDNULL
SSL_CERTNULLCOMPILE-TIMEGLOBALVARCHARX509 cert in PEM format (implies --ssl)NULLNULLNULLNULLYESREQUIREDNULL
LONG_QUERY_TIME10,0010,00COMPILE-TIME10,00SESSIONDOUBLEAlias for log_slow_query_time. Log all queries that have taken more than long_query_time seconds to execute to the slow query log file. The argument will be treated as a decimal value with microsecond precision031.536.000NULLNULLNOREQUIREDNULL
INNODB_STATS_TRANSIENT_SAMPLE_PAGESNULL8COMPILE-TIME8GLOBALINT UNSIGNEDThe number of leaf index pages to sample when calculating transient statistics (if persistent statistics are not used, default 8)14.294.967.2950NULLNOREQUIREDNULL
HAVE_OPENSSLNULLYESCOMPILE-TIMENULLGLOBALVARCHARComparing have_openssl with have_ssl will indicate whether YaSSL or openssl was used. If YaSSL, have_ssl will be YES, but have_openssl will be NO.NULLNULLNULLNULLYESNULLNULL
SLOW_LAUNCH_TIMENULL2COMPILE-TIME2GLOBALBIGINT UNSIGNEDIf creating the thread takes longer than this value (in seconds), the Slow_launch_threads counter will be incremented031.536.0001NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_RWLOCK_CLASSESNULL50COMPILE-TIME50GLOBALBIGINT UNSIGNEDMaximum number of rwlock instruments.02561NULLYESREQUIREDNULL
LOG_SLOW_MAX_WARNINGS1010COMPILE-TIME10SESSIONBIGINT UNSIGNEDMax numbers of warnings printed to slow query log per statement01.0001NULLNOREQUIREDNULL
COLLATION_CONNECTIONutf8mb4_general_ciutf8mb4_general_ciCOMPILE-TIMEutf8mb4_general_ciSESSIONENUMThe collation of the connection character setNULLNULLNULLNULLNONULLNULL
INNODB_ADAPTIVE_HASH_INDEX_PARTSNULL8COMPILE-TIME8GLOBALBIGINT UNSIGNEDNumber of InnoDB Adaptive Hash Index Partitions (default 8)15120NULLYESOPTIONALNULL
PERFORMANCE_SCHEMA_ACCOUNTS_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of instrumented user@host accounts. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
THREAD_POOL_OVERSUBSCRIBENULL3COMPILE-TIME3GLOBALINT UNSIGNEDHow many additional active worker threads in a group are allowed.11.0001NULLNOREQUIREDNULL
LOG_QUERIES_NOT_USING_INDEXESOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANLog queries that are executed without benefit of any index to the slow log if it is open. Same as log_slow_filter='not_using_index'NULLNULLNULLOFF,ONNOOPTIONALNULL
HAVE_RTREE_KEYSNULLYESCOMPILE-TIMENULLGLOBALVARCHARIf RTREE indexes (used for spatial indexes) are available, will be set to YES, otherwise will be set to NO.NULLNULLNULLNULLYESNULLNULL
EVENT_SCHEDULERNULLOFFCOMPILE-TIMEOFFGLOBALENUMEnable the event scheduler. Possible values are ON, OFF, and DISABLED (keep the event scheduler completely deactivated, it cannot be activated run-time)NULLNULLNULLOFF,ON,DISABLED,ORIGINALNOOPTIONALNULL
INNODB_FT_NUM_WORD_OPTIMIZENULL2.000COMPILE-TIME2.000GLOBALBIGINT UNSIGNEDInnoDB Fulltext search number of words to optimize for each optimize table call 1.00010.0000NULLNOOPTIONALNULL
PERFORMANCE_SCHEMA_MAX_INDEX_STATNULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of index statistics for instrumented tables. Use 0 to disable, -1 for automated scaling.-11.048.5761NULLYESREQUIREDNULL
WSREP_DRUPAL_282555_WORKAROUNDNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable a workaround to handle the cases where inserting a DEFAULT value into an auto-increment column could fail with duplicate key errorNULLNULLNULLOFF,ONNOOPTIONALNULL
PERFORMANCE_SCHEMA_MAX_MUTEX_CLASSESNULL210COMPILE-TIME210GLOBALBIGINT UNSIGNEDMaximum number of mutex instruments.02561NULLYESREQUIREDNULL
TMP_MEMORY_TABLE_SIZE16.777.21616.777.216COMPILE-TIME16.777.216SESSIONBIGINT UNSIGNEDIf an internal in-memory temporary table exceeds this size, MariaDB will automatically convert it to an on-disk MyISAM or Aria table. Same as tmp_table_size.09.223.372.036.854.775.80716.384NULLNOREQUIREDNULL
MAX_DELAYED_THREADS2020COMPILE-TIME20SESSIONBIGINT UNSIGNEDDon't start more than this number of threads to handle INSERT DELAYED statements. If set to zero INSERT DELAYED will be not used016.3841NULLNOREQUIREDNULL
REPORT_HOSTNULLCOMPILE-TIMEGLOBALVARCHARHostname or IP of the slave to be reported to the master during slave registration. Will appear in the output of SHOW SLAVE HOSTS. Leave unset if you do not want the slave to register itself with the master. Note that it is not sufficient for the master to simply read the IP of the slave off the socket once the slave connects. Due to NAT and other routing issues, that IP may not be valid for connecting to the slave from the master or other hostsNULLNULLNULLNULLYESREQUIREDNULL
PERFORMANCE_SCHEMA_EVENTS_STAGES_HISTORY_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTNumber of rows per thread in EVENTS_STAGES_HISTORY. Use 0 to disable, -1 for automated sizing.-11.0241NULLYESREQUIREDNULL
INNODB_SORT_BUFFER_SIZENULL1.048.576COMPILE-TIME1.048.576GLOBALBIGINT UNSIGNEDMemory buffer size for index creation65.53667.108.8640NULLYESREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_STAGE_CLASSESNULL160COMPILE-TIME160GLOBALBIGINT UNSIGNEDMaximum number of stage instruments.02561NULLYESREQUIREDNULL
LOG_SLOW_MIN_EXAMINED_ROW_LIMIT00COMPILE-TIME0SESSIONBIGINT UNSIGNEDDon't write queries to slow log that examine fewer rows than that04.294.967.2951NULLNOREQUIREDNULL
BIND_ADDRESSNULL127.0.0.1CONFIGGLOBALVARCHARIP address to bind to. Several addresses may be specified, separated by a comma (,).NULLNULLNULLNULLYESREQUIREDNULL
LARGE_FILES_SUPPORTNULLONCOMPILE-TIMENULLGLOBALBOOLEANWhether mysqld was compiled with options for large file supportNULLNULLNULLOFF,ONYESNULLNULL
PERFORMANCE_SCHEMA_EVENTS_TRANSACTIONS_HISTORY_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTNumber of rows per thread in EVENTS_TRANSACTIONS_HISTORY. Use 0 to disable, -1 for automated sizing.-11.0241NULLYESREQUIREDNULL
OPTIMIZER_PRUNE_LEVEL22COMPILE-TIME2SESSIONBIGINT UNSIGNEDControls the heuristic(s) applied during query optimization to prune less-promising partial plans from the optimizer search space. Meaning: 0 - do not apply any heuristic, thus perform exhaustive search: 1 - prune plans based on cost and number of retrieved rows eq_ref: 2 - prune also if we find an eq_ref chain021NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_SQL_TEXT_LENGTHNULL1.024COMPILE-TIME1.024GLOBALBIGINTMaximum length of displayed sql text.01.048.5761NULLYESREQUIREDNULL
WSREP_AUTO_INCREMENT_CONTROLNULLONCOMPILE-TIMEONGLOBALBOOLEANTo automatically control the assignment of autoincrement variablesNULLNULLNULLOFF,ONNOOPTIONALNULL
ANALYZE_MAX_LENGTH4.294.967.2954.294.967.295COMPILE-TIME4.294.967.295SESSIONINT UNSIGNEDFields which length in bytes more than this are skipped by ANALYZE TABLE PERSISTENT unless explicitly listed in the FOR COLUMNS () clause324.294.967.2951NULLNOREQUIREDNULL
BACK_LOGNULL80AUTO150GLOBALBIGINT UNSIGNEDThe number of outstanding connection requests MariaDB can have. This comes into play when the main MariaDB thread gets very many connection requests in a very short time065.5351NULLYESREQUIREDNULL
DELAYED_QUEUE_SIZENULL1.000COMPILE-TIME1.000GLOBALBIGINT UNSIGNEDWhat size queue (in rows) should be allocated for handling INSERT DELAYED. If the queue becomes full, any client that does INSERT DELAYED will wait until there is room in the queue again14.294.967.2951NULLNOREQUIREDNULL
GROUP_CONCAT_MAX_LEN1.048.5761.048.576COMPILE-TIME1.048.576SESSIONINT UNSIGNEDThe maximum length of the result of function GROUP_CONCAT()44.294.967.2951NULLNOREQUIREDNULL
BINLOG_FILE_CACHE_SIZENULL16.384COMPILE-TIME16.384GLOBALBIGINT UNSIGNEDThe size of file cache for the binary log8.1929.223.372.036.854.775.8074.096NULLNOREQUIREDNULL
RANGE_ALLOC_BLOCK_SIZE4.0964.096COMPILE-TIME4.096SESSIONBIGINT UNSIGNEDAllocation block size for storing ranges during optimization4.0964.294.967.2951.024NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_SETUP_OBJECTS_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of rows in SETUP_OBJECTS.-11.048.5761NULLYESREQUIREDNULL
GTID_CURRENT_POSNULLCOMPILE-TIMENULLGLOBALVARCHARCurrent GTID position of the server. Per replication domain, this is either the last GTID replicated by a slave thread, or the GTID logged to the binary log, whichever is most recent.NULLNULLNULLNULLYESNULLNULL
INNODB_FAST_SHUTDOWNNULL1COMPILE-TIME1GLOBALINT UNSIGNEDSpeeds up the shutdown process of the InnoDB storage engine. Possible values are 0, 1 (faster), 2 (crash-like), 3 (fastest clean).030NULLNOOPTIONALNULL
INNODB_TMPDIRCOMPILE-TIMESESSIONVARCHARDirectory for temporary non-tablespace files.NULLNULLNULLNULLNOOPTIONALNULL
CHARACTER_SETS_DIRNULL/usr/share/mysql/charsets/AUTOGLOBALVARCHARDirectory where character sets areNULLNULLNULLNULLYESREQUIREDNULL
INNODB_ENCRYPTION_THREADSNULL0COMPILE-TIME0GLOBALINT UNSIGNEDNumber of threads performing background key rotation 02550NULLNOREQUIREDNULL
CHARACTER_SET_RESULTSutf8mb4utf8mb4COMPILE-TIMEutf8mb4SESSIONENUMThe character set used for returning query results to the clientNULLNULLNULLNULLNONULLNULL
MYISAM_RECOVER_OPTIONSNULLBACKUP,QUICKCOMPILE-TIMEBACKUP,QUICKGLOBALSETSpecifies how corrupted tables should be automatically repairedNULLNULLNULLDEFAULT,BACKUP,FORCE,QUICK,BACKUP_ALL,OFFYESOPTIONALNULL
PERFORMANCE_SCHEMA_SETUP_ACTORS_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of rows in SETUP_ACTORS.-11.0241NULLYESREQUIREDNULL
RPL_SEMI_SYNC_MASTER_TIMEOUTNULL10.000COMPILE-TIME10.000GLOBALBIGINT UNSIGNEDThe timeout value (in ms) for semi-synchronous replication in the master09.223.372.036.854.775.8071NULLNOREQUIREDNULL
SYSTEM_VERSIONING_ALTER_HISTORYERRORERRORCOMPILE-TIMEERRORSESSIONENUMVersioning ALTER TABLE mode. ERROR: Fail ALTER with error; KEEP: Keep historical system rows and subject them to ALTERNULLNULLNULLERROR,KEEPNOREQUIREDNULL
LOW_PRIORITY_UPDATESOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANINSERT/DELETE/UPDATE has lower priority than selectsNULLNULLNULLOFF,ONNOOPTIONALNULL
EXPIRE_LOGS_DAYSNULL10,00CONFIG0,00GLOBALDOUBLEIf non-zero, binary logs will be purged after expire_logs_days days; It and binlog_expire_logs_seconds are linked, such that changes in one are converted into the other, presentable as a decimal value with 1/1000000 of the day precision; possible purges happen at startup and at binary log rotation099NULLNULLNOREQUIREDNULL
REPORT_PASSWORDNULLCOMPILE-TIMEGLOBALVARCHARThe account password of the slave to be reported to the master during slave registrationNULLNULLNULLNULLYESREQUIREDNULL
REPORT_PORTNULL3.306AUTO0GLOBALINT UNSIGNEDPort for connecting to slave reported to the master during slave registration. Set it only if the slave is listening on a non-default port or if you have a special tunnel from the master or other clients to the slave. If not sure, leave this option unset04.294.967.2951NULLYESREQUIREDNULL
WSREP_DBUG_OPTIONNULLCOMPILE-TIMEGLOBALVARCHARDBUG options to provider libraryNULLNULLNULLNULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_THREAD_INSTANCESNULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of instrumented threads. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
SQL_BIG_SELECTSONONCOMPILE-TIMEOFFSESSIONBOOLEANIf set to 0, MariaDB will not perform large SELECTs. See max_join_size for details. If max_join_size is set to anything but DEFAULT, sql_big_selects is automatically set to 0. If sql_big_selects is again set, max_join_size will be ignored.NULLNULLNULLOFF,ONNONULLNULL
FT_MAX_WORD_LENNULL84COMPILE-TIME84GLOBALBIGINT UNSIGNEDThe maximum length of the word to be included in a FULLTEXT index. Note: FULLTEXT indexes must be rebuilt after changing this variable10841NULLYESREQUIREDNULL
TRANSACTION_ALLOC_BLOCK_SIZE8.1928.192COMPILE-TIME8.192SESSIONBIGINT UNSIGNEDAllocation block size for transactions to be stored in binary log1.024134.217.7281.024NULLNOREQUIREDNULL
LOG_SLOW_QUERY_TIME10,0010,00COMPILE-TIME10,00SESSIONDOUBLELog all queries that have taken more than log_slow_query_time seconds to execute to the slow query log file. The argument will be treated as a decimal value with microsecond precision031.536.000NULLNULLNOREQUIREDNULL
INNODB_FLUSHING_AVG_LOOPSNULL30COMPILE-TIME30GLOBALBIGINT UNSIGNEDNumber of iterations over which the background flushing is averaged.11.0000NULLNOREQUIREDNULL
MAX_HEAP_TABLE_SIZE16.777.21616.777.216COMPILE-TIME16.777.216SESSIONBIGINT UNSIGNEDDon't allow creation of heap tables bigger than this16.3849.223.372.036.854.775.8071.024NULLNOREQUIREDNULL
SYNC_FRMNULLONCOMPILE-TIMEONGLOBALBOOLEANSync .frm files to disk on creationNULLNULLNULLOFF,ONNOOPTIONALNULL
CHARACTER_SET_CONNECTIONutf8mb4utf8mb4COMPILE-TIMEutf8mb4SESSIONENUMThe character set used for literals that do not have a character set introducer and for number-to-string conversionNULLNULLNULLNULLNONULLNULL
BINLOG_ROW_METADATANULLNO_LOGCOMPILE-TIMENO_LOGGLOBALENUMControls whether metadata is logged using FULL , MINIMAL format and NO_LOG.FULL causes all metadata to be logged; MINIMAL means that only metadata actually required by slave is logged; NO_LOG NO metadata will be logged.Default: NO_LOG.NULLNULLNULLNO_LOG,MINIMAL,FULLNOREQUIREDNULL
MAX_DIGEST_LENGTHNULL1.024COMPILE-TIME1.024GLOBALINT UNSIGNEDMaximum length considered for digest text.01.048.5761NULLYESREQUIREDNULL
ARIA_PAGE_CHECKSUMNULLONCOMPILE-TIMEONGLOBALBOOLEANMaintain page checksums (can be overridden per table with PAGE_CHECKSUM clause in CREATE TABLE)NULLNULLNULLOFF,ONNOREQUIREDNULL
COLUMN_COMPRESSION_ZLIB_WRAPOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANGenerate zlib header and trailer and compute adler32 check value. It can be used with storage engines that don't provide data integrity verification to detect data corruption.NULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_IO_CAPACITY_MAXNULL2.000COMPILE-TIME4.294.967.295GLOBALBIGINT UNSIGNEDLimit to which innodb_io_capacity can be inflated.1004.294.967.2950NULLNOREQUIREDNULL
FT_QUERY_EXPANSION_LIMITNULL20COMPILE-TIME20GLOBALBIGINT UNSIGNEDNumber of best matches to use for query expansion01.0001NULLYESREQUIREDNULL
INNODB_IO_CAPACITYNULL200COMPILE-TIME200GLOBALBIGINT UNSIGNEDNumber of IOPs the server can do. Tunes the background IO rate1004.294.967.2950NULLNOREQUIREDNULL
WSREP_LOAD_DATA_SPLITTINGNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANTo commit LOAD DATA transaction after every 10K rows inserted (deprecated)NULLNULLNULLOFF,ONNOOPTIONALNULL
WSREP_CLUSTER_ADDRESSNULLCOMPILE-TIMEGLOBALVARCHARAddress to initially connect to clusterNULLNULLNULLNULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_EVENTS_TRANSACTIONS_HISTORY_LONG_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTNumber of rows in EVENTS_TRANSACTIONS_HISTORY_LONG. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
INNODB_FLUSH_SYNCNULLONCOMPILE-TIMEONGLOBALBOOLEANAllow IO bursts at the checkpoints ignoring io_capacity setting.NULLNULLNULLOFF,ONNONONENULL
MAX_CONNECTIONSNULL151COMPILE-TIME151GLOBALBIGINT UNSIGNEDThe number of simultaneous clients allowed10100.0001NULLNOREQUIREDNULL
LOG_WARNINGS22COMPILE-TIME2SESSIONBIGINT UNSIGNEDLog some non critical warnings to the error log.Value can be between 0 and 11. Higher values mean more verbosity04.294.967.2951NULLNOOPTIONALNULL
KEY_BUFFER_SIZENULL134.217.728COMPILE-TIME134.217.728GLOBALBIGINT UNSIGNEDThe size of the buffer used for index blocks for MyISAM tables. Increase this to get better index handling (for all reads and multiple writes) to as much as you can afford09.223.372.036.854.775.8074.096NULLNOREQUIREDNULL
INNODB_COMPRESSION_DEFAULTOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANIs compression the default for new tablesNULLNULLNULLOFF,ONNOOPTIONALNULL
LOWER_CASE_FILE_SYSTEMNULLOFFAUTONULLGLOBALBOOLEANCase sensitivity of file names on the file system where the data directory is locatedNULLNULLNULLOFF,ONYESNULLNULL
INNODB_AUTOEXTEND_INCREMENTNULL64COMPILE-TIME64GLOBALINT UNSIGNEDData file autoextend increment in megabytes11.0000NULLNOREQUIREDNULL
SLOW_QUERY_LOG_FILENULLayam-mrothol-dev-ubuntu-s-1vcpu-512mb-10gb-sgp1-slow.logCOMPILE-TIMEGLOBALVARCHARAlias for log_slow_query_file. Log slow queries to given log file. Defaults logging to 'hostname'-slow.log. Must be enabled to activate other slow log optionsNULLNULLNULLNULLNOREQUIREDNULL
MYISAM_DATA_POINTER_SIZENULL6COMPILE-TIME6GLOBALBIGINT UNSIGNEDDefault pointer size to be used for MyISAM tables271NULLNOREQUIREDNULL
COLUMN_COMPRESSION_ZLIB_LEVEL66COMPILE-TIME6SESSIONINT UNSIGNEDzlib compression level (1 gives best speed, 9 gives best compression)091NULLNOREQUIREDNULL
RPL_SEMI_SYNC_SLAVE_DELAY_MASTERNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANOnly write master info file when ack is needed.NULLNULLNULLOFF,ONNOOPTIONALNULL
GENERAL_LOG_FILENULLayam-mrothol-dev-ubuntu-s-1vcpu-512mb-10gb-sgp1.logCOMPILE-TIMEGLOBALVARCHARLog connections and queries to given fileNULLNULLNULLNULLNOREQUIREDNULL
SQL_AUTO_IS_NULLOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANIf set to 1, the query SELECT * FROM table_name WHERE auto_increment_column IS NULL will return an auto-increment that has just been successfully inserted, the same as the LAST_INSERT_ID() function. Some ODBC programs make use of this IS NULL comparison.NULLNULLNULLOFF,ONNONULLNULL
AUTOMATIC_SP_PRIVILEGESNULLONCOMPILE-TIMEONGLOBALBOOLEANCreating and dropping stored procedures alters ACLsNULLNULLNULLOFF,ONNOOPTIONALNULL
ARIA_USED_FOR_TEMP_TABLESNULLONCOMPILE-TIMENULLGLOBALBOOLEANWhether temporary tables should be MyISAM or AriaNULLNULLNULLOFF,ONYESNULLNULL
CONCURRENT_INSERTNULLAUTOCOMPILE-TIMEAUTOGLOBALENUMUse concurrent insert with MyISAMNULLNULLNULLNEVER,AUTO,ALWAYSNOOPTIONALNULL
SLAVE_TRANSACTION_RETRY_INTERVALNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDInterval of the slave SQL thread will retry a transaction in case it failed with a deadlock or elapsed lock wait timeout or listed in slave_transaction_retry_errors03.6001NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_DIGESTS_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTSize of the statement digest. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
WSREP_RETRY_AUTOCOMMIT11COMPILE-TIME1SESSIONBIGINT UNSIGNEDMax number of times to retry a failed autocommit statement010.0001NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_PROGRAM_INSTANCESNULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of instrumented programs. Use 0 to disable, -1 for automated scaling.-11.048.5761NULLYESREQUIREDNULL
INNODB_STATUS_OUTPUT_LOCKSNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable InnoDB lock monitor output to the error log. Requires innodb_status_output=ON.NULLNULLNULLOFF,ONNOOPTIONALNULL
KEY_CACHE_FILE_HASH_SIZENULL512COMPILE-TIME512GLOBALBIGINT UNSIGNEDNumber of hash buckets for open and changed files. If you have a lot of MyISAM files open you should increase this for faster flush of changes. A good value is probably 1/10 of number of possible open MyISAM files.12816.3841NULLNOREQUIREDNULL
QUERY_PREALLOC_SIZE32.76832.768COMPILE-TIME32.768SESSIONBIGINT UNSIGNEDPersistent buffer for query parsing and execution1.0244.294.967.2951.024NULLNOREQUIREDNULL
JOIN_BUFFER_SIZE262.144262.144COMPILE-TIME262.144SESSIONBIGINT UNSIGNEDThe size of the buffer that is used for joins1289.223.372.036.854.775.807128NULLNOREQUIREDNULL
SORT_BUFFER_SIZE2.097.1522.097.152COMPILE-TIME2.097.152SESSIONBIGINT UNSIGNEDEach thread that needs to do a sort allocates a buffer of this size1.0249.223.372.036.854.775.8071NULLNOREQUIREDNULL
EXPLICIT_DEFAULTS_FOR_TIMESTAMPONONCOMPILE-TIMEONSESSIONBOOLEANThis option causes CREATE TABLE to create all TIMESTAMP columns as NULL with DEFAULT NULL attribute, Without this option, TIMESTAMP columns are NOT NULL and have implicit DEFAULT clauses.NULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_ROLLBACK_ON_TIMEOUTNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANRoll back the complete transaction on lock wait timeout, for 4.x compatibility (disabled by default)NULLNULLNULLOFF,ONYESOPTIONALNULL
SLAVE_MAX_ALLOWED_PACKETNULL1.073.741.824COMPILE-TIME1.073.741.824GLOBALBIGINT UNSIGNEDThe maximum packet length to sent successfully from the master to slave.1.0241.073.741.8241.024NULLNOREQUIREDNULL
STANDARD_COMPLIANT_CTEONONCOMPILE-TIMEONSESSIONBOOLEANAllow only CTEs compliant to SQL standardNULLNULLNULLOFF,ONNOOPTIONALNULL
DELAY_KEY_WRITENULLONCOMPILE-TIMEONGLOBALENUMSpecifies how MyISAM tables handles CREATE TABLE DELAY_KEY_WRITE. If set to ON, the default, any DELAY KEY WRITEs are honored. The key buffer is then flushed only when the table closes, speeding up writes. MyISAM tables should be automatically checked upon startup in this case, and --external locking should not be used, as it can lead to index corruption. If set to OFF, DELAY KEY WRITEs are ignored, while if set to ALL, all new opened tables are treated as if created with DELAY KEY WRITEs enabled.NULLNULLNULLOFF,ON,ALLNOOPTIONALNULL
ARIA_REPAIR_THREADS11COMPILE-TIME1SESSIONBIGINT UNSIGNEDNumber of threads to use when repairing Aria tables. The value of 1 disables parallel repair.11281NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_EVENTS_WAITS_HISTORY_LONG_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTNumber of rows in EVENTS_WAITS_HISTORY_LONG. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
JOIN_BUFFER_SPACE_LIMIT2.097.1522.097.152COMPILE-TIME2.097.152SESSIONBIGINT UNSIGNEDThe limit of the space for all join buffers used by a query2.0489.223.372.036.854.775.8072.048NULLNOREQUIREDNULL
CONNECT_TIMEOUTNULL10COMPILE-TIME10GLOBALBIGINT UNSIGNEDThe number of seconds the mysqld server is waiting for a connect packet before responding with 'Bad handshake'231.536.0001NULLNOREQUIREDNULL
INNODB_BUFFER_POOL_LOAD_ABORTNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANAbort a currently running load of the buffer poolNULLNULLNULLOFF,ONNOREQUIREDNULL
LC_MESSAGES_DIRNULLCOMPILE-TIMEGLOBALVARCHARDirectory where error messages areNULLNULLNULLNULLYESREQUIREDNULL
PROGRESS_REPORT_TIME55COMPILE-TIME5SESSIONBIGINT UNSIGNEDSeconds between sending progress reports to the client for time-consuming statements. Set to 0 to disable progress reporting.04.294.967.2951NULLNOREQUIREDNULL
RELAY_LOG_SPACE_LIMITNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDMaximum space to use for all relay logs09.223.372.036.854.775.8071NULLYESREQUIREDNULL
REPLICATE_WILD_DO_TABLENULLCOMPILE-TIMEGLOBALVARCHARTells the slave thread to restrict replication to statements where any of the updated tables match the specified database and table name patterns.NULLNULLNULLNULLNONULLNULL
LARGE_PAGESNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable support for large pagesNULLNULLNULLOFF,ONYESOPTIONALNULL
ARIA_FORCE_START_AFTER_RECOVERY_FAILURESNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDNumber of consecutive log recovery failures after which logs will be automatically deleted to cure the problem; 0 (the default) disables the feature.02551NULLYESREQUIREDNULL
TMP_DISK_TABLE_SIZE9.223.372.036.854.775.8079.223.372.036.854.775.807COMPILE-TIME9.223.372.036.854.775.807SESSIONBIGINT UNSIGNEDMax size for data for an internal temporary on-disk MyISAM or Aria table.1.0249.223.372.036.854.775.8071NULLNOREQUIREDNULL
CHARACTER_SET_SERVERutf8mb4utf8mb4COMPILE-TIMEutf8mb4SESSIONENUMThe default character setNULLNULLNULLNULLNONULLNULL
MAX_USER_CONNECTIONS00COMPILE-TIME0SESSIONINTThe maximum number of active connections for a single user (0 = no limit)-12.147.483.6471NULLNOREQUIREDNULL
RAND_SEED1394.525.770NULLCOMPILE-TIME0SESSION ONLYBIGINT UNSIGNEDSets the internal state of the RAND() generator for replication purposes09.223.372.036.854.775.8071NULLNONULLNULL
INIT_SLAVENULLCOMPILE-TIMEGLOBALVARCHARCommand(s) that are executed by a slave server each time the SQL thread startsNULLNULLNULLNULLNOREQUIREDNULL
THREAD_POOL_EXACT_STATSNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANIf set to 1, provides better statistics in information_schema threadpool tablesNULLNULLNULLOFF,ONNOOPTIONALNULL
BINLOG_ALTER_TWO_PHASEOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANWhen set, split ALTER at binary logging into 2 statements: START ALTER and COMMIT/ROLLBACK ALTERNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_READ_ONLY_COMPRESSEDNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANMake ROW_FORMAT=COMPRESSED tables read-onlyNULLNULLNULLOFF,ONNOOPTIONALNULL
MAX_BINLOG_SIZENULL1.073.741.824COMPILE-TIME1.073.741.824GLOBALBIGINT UNSIGNEDBinary log will be rotated automatically when the size exceeds this value.4.0961.073.741.8244.096NULLNOREQUIREDNULL
BINLOG_DIRECT_NON_TRANSACTIONAL_UPDATESOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANCauses updates to non-transactional engines using statement format to be written directly to binary log. Before using this option make sure that there are no dependencies between transactional and non-transactional tables such as in the statement INSERT INTO t_myisam SELECT * FROM t_innodb; otherwise, slaves may diverge from the master.NULLNULLNULLOFF,ONNOOPTIONALNULL
SLAVE_COMPRESSED_PROTOCOLNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANUse compression on master/slave protocolNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_STRICT_MODEONONCOMPILE-TIMEONSESSIONBOOLEANUse strict mode when evaluating create options.NULLNULLNULLOFF,ONNOOPTIONALNULL
CORE_FILENULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANWrite core on crashesNULLNULLNULLOFF,ONYESOPTIONALNULL
TIME_ZONESYSTEMSYSTEMCOMPILE-TIMESYSTEMSESSIONVARCHARThe current time zone, used to initialize the time zone for a client when it connects. Set to SYSTEM by default, in which the client uses the system time zone value.NULLNULLNULLNULLNONULLNULL
WSREP_NODE_ADDRESSNULLCOMPILE-TIMEGLOBALVARCHARSpecifies the node's network address, in the format ip address[:port]. Used in situations where autoguessing is not reliable. As of MariaDB 10.1.8, supports IPv6.NULLNULLNULLNULLNOREQUIREDNULL
WSREP_REJECT_QUERIESNULLNONECOMPILE-TIMENONEGLOBALENUMVariable to set to reject queriesNULLNULLNULLNONE,ALL,ALL_KILLNOOPTIONALNULL
WSREP_DEBUGNULLNONECOMPILE-TIMENONEGLOBALENUMWSREP debug level loggingNULLNULLNULLNONE,SERVER,TRANSACTION,STREAMING,CLIENTNOREQUIREDNULL
INNODB_TABLE_LOCKSONONCOMPILE-TIMEONSESSIONBOOLEANEnable InnoDB locking in LOCK TABLESNULLNULLNULLOFF,ONNOOPTIONALNULL
LOCK_WAIT_TIMEOUT86.40086.400COMPILE-TIME86.400SESSIONBIGINT UNSIGNEDTimeout in seconds to wait for a lock before returning an error.031.536.0001NULLNOREQUIREDNULL
LOG_SLOW_VERBOSITYCOMPILE-TIMESESSIONSETVerbosity level for the slow logNULLNULLNULLinnodb,query_plan,explain,engine,warnings,fullNOREQUIREDNULL
PERFORMANCE_SCHEMA_SESSION_CONNECT_ATTRS_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTSize of session attribute string buffer per thread. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
THREAD_POOL_IDLE_TIMEOUTNULL60COMPILE-TIME60GLOBALINT UNSIGNEDTimeout in seconds for an idle thread in the thread pool.Worker thread will be shut down after timeout14.294.967.2951NULLNOREQUIREDNULL
BULK_INSERT_BUFFER_SIZE8.388.6088.388.608COMPILE-TIME8.388.608SESSIONBIGINT UNSIGNEDSize of tree cache used in bulk insert optimisation. Note that this is a limit per thread!09.223.372.036.854.775.8071NULLNOREQUIREDNULL
WSREP_SLAVE_THREADSNULL1COMPILE-TIME1GLOBALBIGINT UNSIGNEDNumber of slave appliers to launch15121NULLNOREQUIREDNULL
CHARACTER_SET_CLIENTutf8mb4utf8mb4COMPILE-TIMEutf8mb4SESSIONENUMThe character set for statements that arrive from the clientNULLNULLNULLNULLNONULLNULL
PERFORMANCE_SCHEMA_MAX_TABLE_LOCK_STATNULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of lock statistics for instrumented tables. Use 0 to disable, -1 for automated scaling.-11.048.5761NULLYESREQUIREDNULL
SLAVE_PARALLEL_THREADSNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDIf non-zero, number of threads to spawn to apply in parallel events on the slave that were group-committed on the master or were logged with GTID in different replication domains. Note that these threads are in addition to the IO and SQL threads, which are always created by a replication slave016.3831NULLNOREQUIREDNULL
DISCONNECT_ON_EXPIRED_PASSWORDNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANThis variable controls how the server handles clients that are not aware of the sandbox mode. If enabled, the server disconnects the client, otherwise the server puts the client in a sandbox mode.NULLNULLNULLOFF,ONNOOPTIONALNULL
KEY_CACHE_DIVISION_LIMITNULL100COMPILE-TIME100GLOBALBIGINT UNSIGNEDThe minimum percentage of warm blocks in key cache11001NULLNOREQUIREDNULL
RAND_SEED2202.950.999NULLCOMPILE-TIME0SESSION ONLYBIGINT UNSIGNEDSets the internal state of the RAND() generator for replication purposes09.223.372.036.854.775.8071NULLNONULLNULL
SYSTEM_VERSIONING_ASOFDEFAULTDEFAULTCOMPILE-TIMESESSIONVARCHARDefault value for the FOR SYSTEM_TIME AS OF clauseNULLNULLNULLNULLNONULLNULL
INNODB_AUTOINC_LOCK_MODENULL1COMPILE-TIME1GLOBALBIGINTThe AUTOINC lock modes supported by InnoDB: 0 => Old style AUTOINC locking (for backward compatibility); 1 => New style AUTOINC locking; 2 => No AUTOINC locking (unsafe for SBR)020NULLYESREQUIREDNULL
WSREP_CONVERT_LOCK_TO_TRXNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANTo convert locking sessions into transactionsNULLNULLNULLOFF,ONNOOPTIONALNULL
LC_MESSAGESen_USen_USCOMPILE-TIMEen_USSESSIONENUMSet the language used for the error messagesNULLNULLNULLNULLNONULLNULL
WSREP_SST_DONOR_REJECTS_QUERIESNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANReject client queries when donating state snapshot transferNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_MAX_PURGE_LAG_WAITNULL4.294.967.295COMPILE-TIME4.294.967.295GLOBALINT UNSIGNEDWait until History list length is below the specified limit04.294.967.2950NULLNOREQUIREDNULL
LOG_SLOW_ADMIN_STATEMENTSONONCOMPILE-TIMEONSESSIONBOOLEANLog slow OPTIMIZE, ANALYZE, ALTER and other administrative statements to the slow log if it is open. Resets or sets the option 'admin' in log_slow_disabled_statementsNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_BUFFER_POOL_FILENAMENULLib_buffer_poolCOMPILE-TIMEib_buffer_poolGLOBALVARCHARFilename to/from which to dump/load the InnoDB buffer poolNULLNULLNULLNULLYESREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_THREAD_CLASSESNULL50COMPILE-TIME50GLOBALBIGINT UNSIGNEDMaximum number of thread instruments.02561NULLYESREQUIREDNULL
INNODB_MAX_PURGE_LAG_DELAYNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDMaximum delay of user threads in micro-seconds010.000.0000NULLNOREQUIREDNULL
RPL_SEMI_SYNC_SLAVE_KILL_CONN_TIMEOUTNULL5COMPILE-TIME5GLOBALINT UNSIGNEDTimeout for the mysql connection used to kill the slave io_thread's connection on master. This timeout comes into play when stop slave is executed.04.294.967.2951NULLNOOPTIONALNULL
INNODB_BUFFER_POOL_DUMP_NOWNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANTrigger an immediate dump of the buffer pool into a file named @@innodb_buffer_pool_filenameNULLNULLNULLOFF,ONNOREQUIREDNULL
SSL_CANULLCOMPILE-TIMEGLOBALVARCHARCA file in PEM format (check OpenSSL docs, implies --ssl)NULLNULLNULLNULLYESREQUIREDNULL
INNODB_SYNC_SPIN_LOOPSNULL30COMPILE-TIME30GLOBALBIGINT UNSIGNEDCount of spin-loop rounds in InnoDB mutexes (30 by default)09.223.372.036.854.775.8070NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_EVENTS_STATEMENTS_HISTORY_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTNumber of rows per thread in EVENTS_STATEMENTS_HISTORY. Use 0 to disable, -1 for automated sizing.-11.0241NULLYESREQUIREDNULL
INNODB_STATUS_OUTPUTNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable InnoDB monitor output to the error log.NULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_BUFFER_POOL_CHUNK_SIZENULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDDeprecated parameter with no effect09.223.372.036.854.775.8071.048.576NULLYESREQUIREDNULL
INNODB_UNDO_LOG_TRUNCATENULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable or Disable Truncate of UNDO tablespace.NULLNULLNULLOFF,ONNOOPTIONALNULL
SESSION_TRACK_STATE_CHANGEOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANTrack changes to the session state.NULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_ADAPTIVE_HASH_INDEXNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable InnoDB adaptive hash index (disabled by default).NULLNULLNULLOFF,ONNOOPTIONALNULL
SQL_SAFE_UPDATESOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANIf set to 1, UPDATEs and DELETEs need either a key in the WHERE clause, or a LIMIT clause, or else they will aborted. Prevents the common mistake of accidentally deleting or updating every row in a table.NULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_ENCRYPT_LOGNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable redo log encryptionNULLNULLNULLOFF,ONYESOPTIONALNULL
MAX_PASSWORD_ERRORSNULL4.294.967.295COMPILE-TIME4.294.967.295GLOBALINT UNSIGNEDIf there is more than this number of failed connect attempts due to invalid password, user will be blocked from further connections until FLUSH_PRIVILEGES.14.294.967.2951NULLNOREQUIREDNULL
ALLOW_SUSPICIOUS_UDFSNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANAllows use of user-defined functions (UDFs) consisting of only one symbol xxx() without corresponding xxx_init() or xxx_deinit(). That also means that one can load any function from any library, for example exit() from libc.soNULLNULLNULLOFF,ONYESOPTIONALNULL
NET_RETRY_COUNT1010COMPILE-TIME10SESSIONBIGINT UNSIGNEDIf a read on a communication port is interrupted, retry this many times before giving up14.294.967.2951NULLNOREQUIREDNULL
STORED_PROGRAM_CACHENULL256COMPILE-TIME256GLOBALBIGINT UNSIGNEDThe soft upper limit for number of cached stored routines for one connection.0524.2881NULLNOREQUIREDNULL
NET_WRITE_TIMEOUT6060COMPILE-TIME60SESSIONBIGINT UNSIGNEDNumber of seconds to wait for a block to be written to a connection before aborting the write131.536.0001NULLNOREQUIREDNULL
SSL_CRLNULLCOMPILE-TIMEGLOBALVARCHARCRL file in PEM format (check OpenSSL docs, implies --ssl)NULLNULLNULLNULLYESREQUIREDNULL
NOTE_VERBOSITYbasic,explainbasic,explainCOMPILE-TIMEbasic,explainSESSIONSETVerbosity level for note-warnings given to the user. See also @@sql_notes.NULLNULLNULLbasic,unusable_keys,explainNOREQUIREDNULL
INNODB_DEADLOCK_REPORTNULLfullCOMPILE-TIMEfullGLOBALENUMHow to report deadlocks (if innodb_deadlock_detect=ON).NULLNULLNULLoff,basic,fullNOREQUIREDNULL
OPTIMIZER_EXTRA_PRUNING_DEPTH88COMPILE-TIME8SESSIONBIGINT UNSIGNEDIf the optimizer needs to enumerate join prefix of this size or larger, then it will try aggressively prune away the search space.0621NULLNOREQUIREDNULL
MAX_SESSION_MEM_USED9.223.372.036.854.775.8079.223.372.036.854.775.807COMPILE-TIME9.223.372.036.854.775.807SESSIONBIGINT UNSIGNEDAmount of memory a single user session is allowed to allocate. This limits the value of the session variable MEM_USED8.1929.223.372.036.854.775.8071NULLNOREQUIREDNULL
SECURE_FILE_PRIVNULLCOMPILE-TIMEGLOBALVARCHARLimit LOAD DATA, SELECT ... OUTFILE, and LOAD_FILE() to files within specified directoryNULLNULLNULLNULLYESREQUIREDNULL
SYSTEM_VERSIONING_INSERT_HISTORYOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANAllows direct inserts into ROW_START and ROW_END columns if secure_timestamp allows changing @@timestampNULLNULLNULLOFF,ONNOOPTIONALNULL
COMPLETION_TYPENO_CHAINNO_CHAINCOMPILE-TIMENO_CHAINSESSIONENUMThe transaction completion typeNULLNULLNULLNO_CHAIN,CHAIN,RELEASENOREQUIREDNULL
INNODB_FORCE_RECOVERYNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDHelps to save your data in case the disk image of the database becomes corrupt. Value 5 can return bogus data, and 6 can permanently corrupt data.060NULLYESREQUIREDNULL
LOG_BIN_COMPRESSNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANWhether the binary log can be compressedNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_DISABLE_SORT_FILE_CACHENULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANWhether to disable OS system file cache for sort I/ONULLNULLNULLOFF,ONNOOPTIONALNULL
HAVE_PROFILINGNULLYESCOMPILE-TIMENULLGLOBALVARCHARIf statement profiling is available, will be set to YES, otherwise will be set to NO. See SHOW PROFILES and SHOW PROFILE.NULLNULLNULLNULLYESNULLNULL
INNODB_ENCRYPTION_ROTATION_IOPSNULL100COMPILE-TIME100GLOBALINT UNSIGNEDUse this many iops for background key rotation04.294.967.2950NULLNOREQUIREDNULL
OPTIMIZER_USE_CONDITION_SELECTIVITY44COMPILE-TIME4SESSIONBIGINT UNSIGNEDControls selectivity of which conditions the optimizer takes into account to calculate cardinality of a partial join when it searches for the best execution plan Meaning: 1 - use selectivity of index backed range conditions to calculate the cardinality of a partial join if the last joined table is accessed by full table scan or an index scan, 2 - use selectivity of index backed range conditions to calculate the cardinality of a partial join in any case, 3 - additionally always use selectivity of range conditions that are not backed by any index to calculate the cardinality of a partial join, 4 - use histograms to calculate selectivity of range conditions that are not backed by any index to calculate the cardinality of a partial join.5 - additionally use selectivity of certain non-range predicates calculated on record samples151NULLNOREQUIREDNULL
HAVE_DYNAMIC_LOADINGNULLYESCOMPILE-TIMENULLGLOBALVARCHARIf the server supports dynamic loading of plugins, will be set to YES, otherwise will be set to NO.NULLNULLNULLNULLYESNULLNULL
THREAD_HANDLINGNULLone-thread-per-connectionCOMPILE-TIMEone-thread-per-connectionGLOBALENUMDefine threads usage for handling queriesNULLNULLNULLone-thread-per-connection,no-threads,pool-of-threadsYESREQUIREDNULL
WSREP_SST_METHODNULLrsyncCOMPILE-TIMErsyncGLOBALVARCHARState snapshot transfer methodNULLNULLNULLNULLNOREQUIREDNULL
MAX_LENGTH_FOR_SORT_DATA1.0241.024COMPILE-TIME1.024SESSIONBIGINT UNSIGNEDMax number of bytes in sorted records48.388.6081NULLNOREQUIREDNULL
INNODB_PRINT_ALL_DEADLOCKSNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANPrint all deadlocks to MariaDB error log (off by default)NULLNULLNULLOFF,ONNOOPTIONALNULL
FLUSHNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANFlush MyISAM tables to disk between SQL commandsNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_STATS_TRADITIONALNULLONCOMPILE-TIMEONGLOBALBOOLEANEnable traditional statistic calculation based on number of configured pages (default true)NULLNULLNULLOFF,ONNOREQUIREDNULL
CHARACTER_SET_FILESYSTEMbinarybinaryCOMPILE-TIMEbinarySESSIONENUMThe filesystem character setNULLNULLNULLNULLNONULLNULL
LOG_SLOW_DISABLED_STATEMENTSspspCOMPILE-TIMEspSESSIONSETDon't log certain types of statements to slow logNULLNULLNULLadmin,call,slave,spNOREQUIREDNULL
INNODB_MAX_DIRTY_PAGES_PCTNULL90,00COMPILE-TIME90,00GLOBALDOUBLEPercentage of dirty pages allowed in bufferpool.0100,00NULLNULLNOREQUIREDNULL
MAX_BINLOG_CACHE_SIZENULL9.223.372.036.854.775.807COMPILE-TIME9.223.372.036.854.775.807GLOBALBIGINT UNSIGNEDSets the total size of the transactional cache4.0969.223.372.036.854.775.8074.096NULLNOREQUIREDNULL
LOG_SLOW_QUERYOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANLog slow queries to a table or log file. Defaults logging to a file 'hostname'-slow.log or a table mysql.slow_log if --log-output=TABLE is used. Must be enabled to activate other slow log options.NULLNULLNULLOFF,ONNOOPTIONALNULL
PERFORMANCE_SCHEMA_MAX_FILE_CLASSESNULL80COMPILE-TIME80GLOBALBIGINT UNSIGNEDMaximum number of file instruments.02561NULLYESREQUIREDNULL
SKIP_GRANT_TABLESNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANStart without grant tables. This gives all users FULL ACCESS to all tables.NULLNULLNULLOFF,ONYESOPTIONALNULL
MAX_SORT_LENGTH1.0241.024COMPILE-TIME1.024SESSIONBIGINT UNSIGNEDThe number of bytes to use when sorting BLOB or TEXT values (only the first max_sort_length bytes of each value are used; the rest are ignored)648.388.6081NULLNOREQUIREDNULL
INNODB_INSTANT_ALTER_COLUMN_ALLOWEDNULLadd_drop_reorderCOMPILE-TIMEadd_drop_reorderGLOBALENUMFile format constraint for ALTER TABLENULLNULLNULLnever,add_last,add_drop_reorderNOREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_METADATA_LOCKSNULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of metadata locks. Use 0 to disable, -1 for automated scaling.-1104.857.6001NULLYESREQUIREDNULL
PSEUDO_SLAVE_MODEOFFNULLCOMPILE-TIMEOFFSESSION ONLYBOOLEANSET pseudo_slave_mode= 0,1 are commands that mysqlbinlog adds to beginning and end of binary log dumps. While zero value indeed disables, the actual enabling of the slave applier execution mode is done implicitly when a Format_description_event is sent through the session.NULLNULLNULLOFF,ONNONULLNULL
COLUMN_COMPRESSION_ZLIB_STRATEGYDEFAULT_STRATEGYDEFAULT_STRATEGYCOMPILE-TIMEDEFAULT_STRATEGYSESSIONENUMThe strategy parameter is used to tune the compression algorithm. Use the value DEFAULT_STRATEGY for normal data, FILTERED for data produced by a filter (or predictor), HUFFMAN_ONLY to force Huffman encoding only (no string match), or RLE to limit match distances to one (run-length encoding). Filtered data consists mostly of small values with a somewhat random distribution. In this case, the compression algorithm is tuned to compress them better. The effect of FILTERED is to force more Huffman coding and less string matching; it is somewhat intermediate between DEFAULT_STRATEGY and HUFFMAN_ONLY. RLE is designed to be almost as fast as HUFFMAN_ONLY, but give better compression for PNG image data. The strategy parameter only affects the compression ratio but not the correctness of the compressed output even if it is not set appropriately. FIXED prevents the use of dynamic Huffman codes, allowing for a simpler decoder for special applications.NULLNULLNULLDEFAULT_STRATEGY,FILTERED,HUFFMAN_ONLY,RLE,FIXEDNOREQUIREDNULL
VERSION_COMPILE_MACHINENULLx86_64COMPILE-TIMENULLGLOBALVARCHARThe machine type or architecture MariaDB was built on, for example i686.NULLNULLNULLNULLYESNULLNULL
SYNC_RELAY_LOGNULL10.000COMPILE-TIME10.000GLOBALINT UNSIGNEDSynchronously flush relay log to disk after every #th event. Use 0 to disable synchronous flushing04.294.967.2951NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_SOCKET_CLASSESNULL10COMPILE-TIME10GLOBALBIGINT UNSIGNEDMaximum number of socket instruments.02561NULLYESREQUIREDNULL
INNODB_DEFAULT_ENCRYPTION_KEY_ID11COMPILE-TIME1SESSIONINT UNSIGNEDDefault encryption key id used for table encryption.14.294.967.2950NULLNOREQUIREDNULL
IDENTITY0NULLCOMPILE-TIME0SESSION ONLYBIGINT UNSIGNEDSynonym for the last_insert_id variable09.223.372.036.854.775.8071NULLNONULLNULL
INNODB_MAX_UNDO_LOG_SIZENULL10.485.760COMPILE-TIME10.485.760GLOBALBIGINT UNSIGNEDDesired maximum UNDO tablespace size in bytes10.485.760281.474.976.710.6560NULLNOOPTIONALNULL
SLAVE_EXEC_MODENULLSTRICTCOMPILE-TIMESTRICTGLOBALENUMHow replication events should be executed. Legal values are STRICT (default) and IDEMPOTENT. In IDEMPOTENT mode, replication will not stop for operations that are idempotent. For example, in row based replication attempts to delete rows that doesn't exist will be ignored. In STRICT mode, replication will stop on any unexpected difference between the master and the slave.NULLNULLNULLSTRICT,IDEMPOTENTNOREQUIREDNULL
MAX_ROWID_FILTER_SIZE131.072131.072COMPILE-TIME131.072SESSIONBIGINT UNSIGNEDThe maximum size of the container of a rowid filter1.0249.223.372.036.854.775.8071NULLNOREQUIREDNULL
OLDOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANUse compatible behavior from previous MariaDB version. See also --old-modeNULLNULLNULLOFF,ONNOOPTIONALNULL
SLAVE_NET_TIMEOUTNULL60COMPILE-TIME60GLOBALINT UNSIGNEDNumber of seconds to wait for more data from any master/slave connection before aborting the read131.536.0001NULLNOREQUIREDNULL
QUERY_CACHE_LIMITNULL1.048.576COMPILE-TIME1.048.576GLOBALBIGINT UNSIGNEDDon't cache results that are bigger than this04.294.967.2951NULLNOREQUIREDNULL
PLUGIN_DIRNULL/usr/lib/mysql/plugin/COMPILE-TIMEGLOBALVARCHARDirectory for pluginsNULLNULLNULLNULLYESREQUIREDNULL
MAX_INSERT_DELAYED_THREADS2020COMPILE-TIME20SESSIONBIGINT UNSIGNEDAlias for max_delayed_threads. Don't start more than this number of threads to handle INSERT DELAYED statements. If set to zero INSERT DELAYED will be not used016.3841NULLNONULLNULL
THREAD_POOL_PRIORITYautoautoCOMPILE-TIMEautoSESSIONENUMThreadpool priority. High priority connections usually start executing earlier than low priority.If priority set to 'auto', the the actual priority(low or high) is determined based on whether or not connection is inside transaction.NULLNULLNULLhigh,low,autoNOREQUIREDNULL
BIG_TABLESOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANOld variable, which if set to 1, allows large result sets by saving all temporary sets to disk, avoiding 'table full' errors. No longer needed, as the server now handles this automatically.NULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_BUFFER_POOL_SIZE_AUTO_MINNULL134.217.728COMPILE-TIME0GLOBALBIGINT UNSIGNEDMinimum innodb_buffer_pool_size for dynamic shrinking on memory pressure09.223.372.036.854.775.8078.388.608NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_STATEMENT_STACKNULL10COMPILE-TIME10GLOBALBIGINT UNSIGNEDNumber of rows per thread in EVENTS_STATEMENTS_CURRENT.12561NULLYESREQUIREDNULL
INNODB_ADAPTIVE_FLUSHING_LWMNULL10,00COMPILE-TIME10,00GLOBALDOUBLEPercentage of log capacity below which no adaptive flushing happens.070NULLNULLNOREQUIREDNULL
COLLATION_SERVERutf8mb4_general_ciutf8mb4_general_ciCOMPILE-TIMEutf8mb4_general_ciSESSIONENUMThe server default collationNULLNULLNULLNULLNONULLNULL
INNODB_DEFRAGMENT_FREQUENCYNULL40COMPILE-TIME40GLOBALINT UNSIGNEDDo not defragment a single index more than this number of time per second.This controls the number of time defragmentation thread can request X_LOCK on an index. Defragmentation thread will check whether 1/defragment_frequency (s) has passed since it worked on this index last time, and put the index back to the queue if not enough time has passed. The actual frequency can only be lower than this given number.11.0000NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_FILE_INSTANCESNULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of instrumented files. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
INNODB_LINUX_AIONULLautoCOMPILE-TIMEautoGLOBALENUMSpecifies which Linux AIO implementation should be used. Possible value are "auto" (default) to select io_uring and fallback to aio, or explicit "io_uring" or "aio"NULLNULLNULLauto,io_uring,aioYESREQUIREDNULL
FT_STOPWORD_FILENULL(built-in)COMPILE-TIMEGLOBALVARCHARUse stopwords from this file instead of built-in listNULLNULLNULLNULLYESREQUIREDNULL
STRICT_PASSWORD_VALIDATIONNULLONCOMPILE-TIMEONGLOBALBOOLEANWhen password validation plugins are enabled, reject passwords that cannot be validated (passwords specified as a hash)NULLNULLNULLOFF,ONNOOPTIONALNULL
RPL_SEMI_SYNC_MASTER_ENABLEDNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable semi-synchronous replication master (disabled by default).NULLNULLNULLOFF,ONNOOPTIONALNULL
RELAY_LOG_RECOVERYNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnables automatic relay log recovery right after the database startup, which means that the IO Thread starts re-fetching from the master right after the last transaction processed.NULLNULLNULLOFF,ONNOOPTIONALNULL
CHARACTER_SET_SYSTEMNULLutf8mb3COMPILE-TIMENULLGLOBALENUMThe character set used by the server for storing identifiersNULLNULLNULLNULLYESNULLNULL
WSREP_GTID_DOMAIN_IDNULL0COMPILE-TIME0GLOBALINT UNSIGNEDWhen wsrep_gtid_mode is set, this value is used as gtid_domain_id for galera transactions and also copied to the joiner nodes during state transfer. It is ignored, otherwise.04.294.967.2951NULLNOREQUIREDNULL
HAVE_CRYPTNULLYESCOMPILE-TIMENULLGLOBALVARCHARIf the crypt() system call is available this variable will be set to YES, otherwise it will be set to NO. If set to NO, the ENCRYPT() function cannot be used.NULLNULLNULLNULLYESNULLNULL
THREAD_POOL_STALL_LIMITNULL500COMPILE-TIME500GLOBALINT UNSIGNEDMaximum query execution time in milliseconds,before an executing non-yielding thread is considered stalled.If a worker thread is stalled, additional worker thread may be created to handle remaining clients.14.294.967.2951NULLNOREQUIREDNULL
QUERY_CACHE_SIZENULL1.048.576COMPILE-TIME1.048.576GLOBALBIGINT UNSIGNEDThe memory allocated to store results from old queries09.223.372.036.854.775.8071.024NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_SOCKET_INSTANCESNULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of opened instrumented sockets. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
QUERY_ALLOC_BLOCK_SIZE32.76832.768COMPILE-TIME32.768SESSIONBIGINT UNSIGNEDAllocation block size for query parsing and execution1.0244.294.967.2951.024NULLNOREQUIREDNULL
TX_READ_ONLYOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANDefault transaction access mode. If set to OFF, the default, access is read/write. If set to ON, access is read-only. The SET TRANSACTION statement can also change the value of this variable. See SET TRANSACTION and START TRANSACTION.NULLNULLNULLOFF,ONNONULLNULL
SQL_NOTESONONCOMPILE-TIMEONSESSIONBOOLEANIf set to 1, the default, warning_count is incremented each time a Note warning is encountered. If set to 0, Note warnings are not recorded. mysqldump has outputs to set this variable to 0 so that no unnecessary increments occur when data is reloaded. See also note_verbosity, which allows one to define with notes are sent.NULLNULLNULLOFF,ONNONULLNULL
INNODB_RANDOM_READ_AHEADNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANWhether to use read ahead for random access within an extent.NULLNULLNULLOFF,ONNONONENULL
METADATA_LOCKS_HASH_INSTANCESNULL8COMPILE-TIME8GLOBALBIGINT UNSIGNEDUnused11.0241NULLYESREQUIREDNULL
TCP_KEEPALIVE_PROBESNULL0COMPILE-TIME0GLOBALINTThe number of unacknowledged probes to send before considering the connection dead and notifying the application layer.If set to 0, system dependent default is used.02.147.4831NULLNOREQUIREDNULL
BINLOG_COMMIT_WAIT_USECNULL100.000COMPILE-TIME100.000GLOBALBIGINT UNSIGNEDMaximum time, in microseconds, to wait for more commits to queue up for binlog group commit. Only takes effect if the value of binlog_commit_wait_count is non-zero.09.223.372.036.854.775.8071NULLNOREQUIREDNULL
PORTNULL3.306AUTO0GLOBALINT UNSIGNEDPort number to use for connection or 0 to default to, my.cnf, $MYSQL_TCP_PORT, /etc/services, built-in default (3306), whatever comes first065.5351NULLYESREQUIREDNULL
READ_BUFFER_SIZE131.072131.072COMPILE-TIME131.072SESSIONBIGINT UNSIGNEDEach thread that does a sequential scan allocates a buffer of this size for each table it scans. If you do many sequential scans, you may want to increase this value8.1922.147.483.6474.096NULLNOREQUIREDNULL
REPLICATE_REWRITE_DBNULLCOMPILE-TIMEGLOBALVARCHARTells the slave to replicate binlog events into a different database than their original target on the master.Example: replicate-rewrite-db=master_db_name->slave_db_name.NULLNULLNULLNULLNONULLNULL
PERFORMANCE_SCHEMA_MAX_FILE_HANDLESNULL32.768COMPILE-TIME32.768GLOBALBIGINT UNSIGNEDMaximum number of opened instrumented files.01.048.5761NULLYESREQUIREDNULL
LOG_BIN_TRUST_FUNCTION_CREATORSNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANIf set to FALSE (the default), then when --log-bin is used, creation of a stored function (or trigger) is allowed only to users having the SUPER privilege and only if this stored function (trigger) may not break binary logging. Note that if ALL connections to this server ALWAYS use row-based binary logging, the security issues do not exist and the binary logging cannot break, so you can safely set this to TRUENULLNULLNULLOFF,ONNOOPTIONALNULL
PID_FILENULL/run/mysqld/mysqld.pidCONFIGGLOBALVARCHARPid file used by safe_mysqldNULLNULLNULLNULLYESREQUIREDNULL
INNODB_MONITOR_DISABLENULLCOMPILE-TIMEGLOBALVARCHARTurn off a monitor counterNULLNULLNULLNULLNOREQUIREDNULL
TLS_VERSIONNULLTLSv1.2,TLSv1.3COMPILE-TIMETLSv1.2,TLSv1.3GLOBALSETTLS protocol version for secure connections.NULLNULLNULLTLSv1.0,TLSv1.1,TLSv1.2,TLSv1.3YESREQUIREDNULL
MYISAM_BLOCK_SIZENULL1.024COMPILE-TIME1.024GLOBALBIGINT UNSIGNEDBlock size to be used for MyISAM index pages1.02416.3841.024NULLYESREQUIREDNULL
MIN_EXAMINED_ROW_LIMIT00COMPILE-TIME0SESSIONBIGINT UNSIGNEDAlias for log_slow_min_examined_row_limit. Don't write queries to slow log that examine fewer rows than that04.294.967.2951NULLNOREQUIREDNULL
MAX_BINLOG_STMT_CACHE_SIZENULL9.223.372.036.854.775.807COMPILE-TIME9.223.372.036.854.775.807GLOBALBIGINT UNSIGNEDSets the total size of the statement cache4.0969.223.372.036.854.775.8074.096NULLNOREQUIREDNULL
HISTOGRAM_SIZE254254COMPILE-TIME254SESSIONBIGINT UNSIGNEDNumber of bytes used for a histogram. If set to 0, no histograms are created by ANALYZE.02551NULLNOREQUIREDNULL
ENCRYPT_TMP_FILESNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEncrypt temporary files (created for filesort, binary log cache, etc)NULLNULLNULLOFF,ONYESOPTIONALNULL
FLUSH_TIMENULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDA dedicated thread is created to flush all tables at the given interval031.536.0001NULLNOREQUIREDNULL
INNODB_SPIN_WAIT_DELAYNULL4COMPILE-TIME4GLOBALINT UNSIGNEDMaximum delay between polling for a spin lock (4 by default)06.0000NULLNOOPTIONALNULL
PSEUDO_THREAD_ID200.555NULLCOMPILE-TIME0SESSION ONLYBIGINT UNSIGNEDThis variable is for internal server use04.294.967.2951NULLNONULLNULL
INNODB_STATS_INCLUDE_DELETE_MARKEDNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANInclude delete marked records when calculating persistent statisticsNULLNULLNULLOFF,ONNOOPTIONALNULL
RPL_SEMI_SYNC_MASTER_TRACE_LEVELNULL32COMPILE-TIME32GLOBALBIGINT UNSIGNEDThe tracing level for semi-sync replication.09.223.372.036.854.775.8071NULLNOREQUIREDNULL
INNODB_DEFRAGMENT_STATS_ACCURACYNULL0COMPILE-TIME0GLOBALINT UNSIGNEDHow many defragment stats changes there are before the stats are written to persistent storage. Set to 0 meaning disable defragment stats tracking.04.294.967.2950NULLNOREQUIREDNULL
THREAD_POOL_MAX_THREADSNULL65.536COMPILE-TIME65.536GLOBALINT UNSIGNEDMaximum allowed number of worker threads in the thread pool165.5361NULLNOREQUIREDNULL
INNODB_LOCK_WAIT_TIMEOUT5050COMPILE-TIME50SESSIONINT UNSIGNEDTimeout in seconds an InnoDB transaction may wait for a lock before being rolled back. The value 100000000 is infinite timeout.0100.000.0000NULLNOREQUIREDNULL
SQL_BUFFER_RESULTOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANIf set to 1 (0 is default), results from SELECT statements are always placed into temporary tables. This can help the server when it takes a long time to send the results to the client by allowing the table locks to be freed early.NULLNULLNULLOFF,ONNONULLNULL
INNODB_OLD_BLOCKS_TIMENULL1.000COMPILE-TIME1.000GLOBALINT UNSIGNEDMove blocks to the 'new' end of the buffer pool if the first access was at least this many milliseconds ago. The timeout is disabled if 0.04.294.967.2950NULLNOREQUIREDNULL
OLD_ALTER_TABLEDEFAULTDEFAULTCOMPILE-TIMEDEFAULTSESSIONENUMAlias for alter_algorithm. Deprecated. Use --alter-algorithm instead.NULLNULLNULLDEFAULT,COPY,INPLACE,NOCOPY,INSTANTNOOPTIONALNULL
WSREP_GTID_SEQ_NO0NULLCOMPILE-TIME0SESSION ONLYBIGINT UNSIGNEDInternal server usage, manually set WSREP GTID seqno.09.223.372.036.854.775.8071NULLNONULLNULL
PERFORMANCE_SCHEMA_MAX_MEMORY_CLASSESNULL320COMPILE-TIME320GLOBALBIGINT UNSIGNEDMaximum number of memory pool instruments.01.0241NULLYESREQUIREDNULL
WSREP_ALLOWLISTNULLCOMPILE-TIMEGLOBALVARCHARAllowed IP addresses split by comma delimiterNULLNULLNULLNULLYESREQUIREDNULL
CHECK_CONSTRAINT_CHECKSONONCOMPILE-TIMEONSESSIONBOOLEANcheck_constraint_checksNULLNULLNULLOFF,ONNONULLNULL
INNODB_COMPRESSION_FAILURE_THRESHOLD_PCTNULL5COMPILE-TIME5GLOBALBIGINT UNSIGNEDIf the compression failure rate of a table is greater than this number more padding is added to the pages to reduce the failures. A value of zero implies no padding01000NULLNOOPTIONALNULL
KEY_CACHE_AGE_THRESHOLDNULL300COMPILE-TIME300GLOBALBIGINT UNSIGNEDThis characterizes the number of hits a hot block has to be untouched until it is considered aged enough to be downgraded to a warm block. This specifies the percentage ratio of that number of hits to the total number of blocks in key cache1004.294.967.295100NULLNOREQUIREDNULL
LOCKED_IN_MEMORYNULLOFFCOMPILE-TIMENULLGLOBALBOOLEANWhether mysqld was locked in memory with --memlockNULLNULLNULLOFF,ONYESNULLNULL
MASTER_VERIFY_CHECKSUMNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANForce checksum verification of logged events in the binary log before sending them to slaves or printing them in the output of SHOW BINLOG EVENTSNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_LRU_FLUSH_SIZENULL0COMPILE-TIME32GLOBALBIGINT UNSIGNEDDeprecated parameter with no effect19.223.372.036.854.775.8070NULLNONULLNULL
TMP_TABLE_SIZE16.777.21616.777.216COMPILE-TIME16.777.216SESSIONBIGINT UNSIGNEDAlias for tmp_memory_table_size. If an internal in-memory temporary table exceeds this size, MariaDB will automatically convert it to an on-disk MyISAM or Aria table.09.223.372.036.854.775.80716.384NULLNOREQUIREDNULL
WSREP_MYSQL_REPLICATION_BUNDLENULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDmysql replication group commit 01.0001NULLNOREQUIREDNULL
RPL_SEMI_SYNC_MASTER_WAIT_NO_SLAVENULLONCOMPILE-TIMEONGLOBALBOOLEANWait until timeout when no semi-synchronous replication slave is available.NULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_PREFIX_INDEX_CLUSTER_OPTIMIZATIONNULLONCOMPILE-TIMEONGLOBALBOOLEANDeprecated parameter with no effectNULLNULLNULLOFF,ONNOOPTIONALNULL
GTID_SLAVE_POSNULLCOMPILE-TIMENULLGLOBALVARCHARThe list of global transaction IDs that were last replicated on the server, one for each replication domain.NULLNULLNULLNULLNONULLNULL
DEFAULT_MASTER_CONNECTIONNULLCOMPILE-TIMESESSION ONLYVARCHARMaster connection to use for all slave variables and slave commandsNULLNULLNULLNULLNONULLNULL
THREAD_POOL_DEDICATED_LISTENERNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANIf set to 1,listener thread will not pick up queriesNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_LOG_FILE_BUFFERINGNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANWhether the file system cache for ib_logfile0 is enabledNULLNULLNULLOFF,ONNOOPTIONALNULL
HAVE_QUERY_CACHENULLYESCOMPILE-TIMENULLGLOBALVARCHARIf the server supports the query cache, will be set to YES, otherwise will be set to NO.NULLNULLNULLNULLYESNULLNULL
INNODB_BUFFER_POOL_DUMP_PCTNULL25COMPILE-TIME25GLOBALBIGINT UNSIGNEDDump only the hottest N% of each buffer pool, defaults to 2511000NULLNOREQUIREDNULL
AUTO_INCREMENT_OFFSET11COMPILE-TIME1SESSIONBIGINT UNSIGNEDOffset added to Auto-increment columns. Used when auto-increment-increment != 1165.5351NULLNOOPTIONALNULL
INNODB_ENCRYPT_TABLESNULLOFFCOMPILE-TIMEOFFGLOBALENUMEnable encryption for tables. Don't forget to enable --innodb-encrypt-log tooNULLNULLNULLOFF,ON,FORCENOOPTIONALNULL
INNODB_FT_ENABLE_STOPWORDONONCOMPILE-TIMEONSESSIONBOOLEANCreate FTS index with stopword.NULLNULLNULLOFF,ONNOOPTIONALNULL
COLLATION_DATABASEutf8mb4_general_ciutf8mb4_general_ciCOMPILE-TIMEutf8mb4_general_ciSESSIONENUMThe collation of the database character setNULLNULLNULLNULLNONULLNULL
EXTERNAL_USERNULLCOMPILE-TIMENULLSESSION ONLYVARCHARThe external user account used when logging inNULLNULLNULLNULLYESNULLNULL
INNODB_MONITOR_ENABLENULLCOMPILE-TIMEGLOBALVARCHARTurn on a monitor counterNULLNULLNULLNULLNOREQUIREDNULL
LOG_BINNULLOFFCOMPILE-TIMENULLGLOBALBOOLEANWhether the binary log is enabledNULLNULLNULLOFF,ONYESNULLNULL
INNODB_LOG_BUFFER_SIZENULL16.777.216COMPILE-TIME16.777.216GLOBALINT UNSIGNEDRedo log buffer size in bytes.2.097.1522.147.479.5524.096NULLYESREQUIREDNULL
BINLOG_ROW_IMAGEFULLFULLCOMPILE-TIMEFULLSESSIONENUMControls whether rows should be logged in 'FULL', 'NOBLOB' or 'MINIMAL' formats. 'FULL', means that all columns in the before and after image are logged. 'NOBLOB', means that mysqld avoids logging blob columns whenever possible (eg, blob column was not changed or is not part of primary key). 'MINIMAL', means that a PK equivalent (PK columns or full row if there is no PK in the table) is logged in the before image, and only changed columns are logged in the after image. (Default: FULL).NULLNULLNULLMINIMAL,NOBLOB,FULLNOREQUIREDNULL
HOST_CACHE_SIZENULL279AUTO128GLOBALBIGINT UNSIGNEDHow many host names should be cached to avoid resolving.065.5361NULLNOREQUIREDNULL
SKIP_NETWORKINGNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANDon't allow connection with TCP/IPNULLNULLNULLOFF,ONYESOPTIONALNULL
INNODB_MAX_PURGE_LAGNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDDesired maximum length of the purge queue (0 = no limit)09.223.372.036.854.775.8070NULLNOREQUIREDNULL
WSREP_ONOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANTo enable wsrep replication NULLNULLNULLOFF,ONNOOPTIONALNULL
MYISAM_MAX_SORT_FILE_SIZENULL9.223.372.036.853.727.232COMPILE-TIME9.223.372.036.853.727.232GLOBALBIGINT UNSIGNEDDon't use the fast sort index method to created index if the temporary file would get bigger than this09.223.372.036.854.775.8071.048.576NULLNOREQUIREDNULL
INIT_CONNECTNULLCOMPILE-TIMEGLOBALVARCHARCommand(s) that are executed for each new connection (unless the user has SUPER privilege)NULLNULLNULLNULLNOREQUIREDNULL
INNODB_LRU_SCAN_DEPTHNULL1.536COMPILE-TIME1.536GLOBALBIGINT UNSIGNEDHow deep to scan LRU to keep it clean1009.223.372.036.854.775.8070NULLNOREQUIREDNULL
TABLE_DEFINITION_CACHENULL400AUTO400GLOBALBIGINT UNSIGNEDThe number of cached table definitions4002.097.1521NULLNOREQUIREDNULL
WSREP_LOG_CONFLICTSNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANTo log multi-master conflictsNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_FT_CACHE_SIZENULL8.000.000COMPILE-TIME8.000.000GLOBALBIGINT UNSIGNEDInnoDB Fulltext search cache size in bytes1.600.0001.099.511.627.7760NULLNOREQUIREDNULL
OLD_MODEUTF8_IS_UTF8MB3UTF8_IS_UTF8MB3COMPILE-TIMEUTF8_IS_UTF8MB3SESSIONSETUsed to emulate old behavior from earlier MariaDB or MySQL versionsNULLNULLNULLNO_DUP_KEY_WARNINGS_WITH_IGNORE,NO_PROGRESS_INFO,ZERO_DATE_TIME_CAST,UTF8_IS_UTF8MB3,IGNORE_INDEX_ONLY_FOR_JOIN,COMPAT_5_1_CHECKSUM,NO_NULL_COLLATION_IDSNOREQUIREDNULL
WSREP_SLAVE_UK_CHECKSNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANShould slave thread do secondary index uniqueness checksNULLNULLNULLOFF,ONNOOPTIONALNULL
DEFAULT_REGEX_FLAGSCOMPILE-TIMESESSIONSETDefault flags for the regex libraryNULLNULLNULLDOTALL,DUPNAMES,EXTENDED,EXTENDED_MORE,EXTRA,MULTILINE,UNGREEDYNOREQUIREDNULL
SLAVE_PARALLEL_WORKERSNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDAlias for slave_parallel_threads016.3831NULLNOREQUIREDNULL
HISTOGRAM_TYPEDOUBLE_PREC_HBDOUBLE_PREC_HBCOMPILE-TIMEDOUBLE_PREC_HBSESSIONENUMSpecifies type of the histograms created by ANALYZE. Possible values are: SINGLE_PREC_HB - single precision height-balanced, DOUBLE_PREC_HB - double precision height-balanced, JSON_HB - height-balanced, stored as JSON.NULLNULLNULLSINGLE_PREC_HB,DOUBLE_PREC_HB,JSON_HBNOREQUIREDNULL
BASEDIRNULL/usrCONFIGGLOBALVARCHARPath to installation directory. All paths are usually resolved relative to thisNULLNULLNULLNULLYESREQUIREDNULL
HAVE_COMPRESSNULLYESCOMPILE-TIMENULLGLOBALVARCHARIf the zlib compression library is accessible to the server, this will be set to YES, otherwise it will be NO. The COMPRESS() and UNCOMPRESS() functions will only be available if set to YES.NULLNULLNULLNULLYESNULLNULL
METADATA_LOCKS_CACHE_SIZENULL1.024COMPILE-TIME1.024GLOBALBIGINT UNSIGNEDUnused11.048.5761NULLYESREQUIREDNULL
INNODB_USE_ATOMIC_WRITESNULLONCOMPILE-TIMEONGLOBALBOOLEANEnable atomic writes, instead of using the doublewrite buffer, for files on devices that supports atomic writes.NULLNULLNULLOFF,ONYESNONENULL
LAST_INSERT_ID0NULLCOMPILE-TIME0SESSION ONLYBIGINT UNSIGNEDThe value to be returned from LAST_INSERT_ID()09.223.372.036.854.775.8071NULLNONULLNULL
PROXY_PROTOCOL_NETWORKSNULLCOMPILE-TIMEGLOBALVARCHAREnable proxy protocol for these source networks. The syntax is a comma separated list of IPv4 and IPv6 networks. If the network doesn't contain mask, it is considered to be a single host. "*" represents all networks and must the only directive on the line. String "localhost" represents non-TCP local connections (Unix domain socket, Windows named pipe or shared memory).NULLNULLNULLNULLNOREQUIREDNULL
HOSTNAMENULLayam-mrothol-dev-ubuntu-s-1vcpu-512mb-10gb-sgp1COMPILE-TIMENULLGLOBALVARCHARServer host nameNULLNULLNULLNULLYESNULLNULL
INNODB_DOUBLEWRITENULLONCOMPILE-TIMEONGLOBALBOOLEANEnable InnoDB doublewrite buffer (enabled by default). Disable with --skip-innodb-doublewrite.NULLNULLNULLOFF,ONYESNONENULL
DEFAULT_PASSWORD_LIFETIMENULL0COMPILE-TIME0GLOBALINT UNSIGNEDThis defines the global password expiration policy. 0 means automatic password expiration is disabled. If the value is a positive integer N, the passwords must be changed every N days. This behavior can be overridden using the password expiration options in ALTER USER.04.294.967.2951NULLNOREQUIREDNULL
INNODB_STATS_PERSISTENTNULLONCOMPILE-TIMEONGLOBALBOOLEANInnoDB persistent statistics enabled for all tables unless overridden at table levelNULLNULLNULLOFF,ONNOOPTIONALNULL
PERFORMANCE_SCHEMA_MAX_STATEMENT_CLASSESNULL222COMPILE-TIME222GLOBALBIGINT UNSIGNEDMaximum number of statement instruments.02561NULLYESREQUIREDNULL
DEFAULT_WEEK_FORMAT00COMPILE-TIME0SESSIONBIGINT UNSIGNEDThe default week format used by WEEK() functions071NULLNOREQUIREDNULL
THREAD_CACHE_SIZENULL151AUTO256GLOBALBIGINT UNSIGNEDHow many threads we should keep in a cache for reuse. These are freed after 5 minutes of idle time016.3841NULLNOREQUIREDNULL
INNODB_CHANGE_BUFFER_MAX_SIZENULL25COMPILE-TIME25GLOBALINT UNSIGNEDMaximum on-disk size of change buffer in terms of percentage of the buffer pool.0500NULLNOREQUIREDNULL
LOG_BIN_COMPRESS_MIN_LENNULL256COMPILE-TIME256GLOBALINT UNSIGNEDMinimum length of sql statement(in statement mode) or record(in row mode)that can be compressed.101.0241NULLNOOPTIONALNULL
INNODB_DEFAULT_ROW_FORMATNULLdynamicCOMPILE-TIMEdynamicGLOBALENUMThe default ROW FORMAT for all innodb tables created without explicit ROW_FORMAT. Possible values are REDUNDANT, COMPACT, and DYNAMIC. The ROW_FORMAT value COMPRESSED is not allowedNULLNULLNULLredundant,compact,dynamicNOREQUIREDNULL
LOG_SLOW_SLAVE_STATEMENTSONONCOMPILE-TIMEONSESSIONBOOLEANLog slow statements executed by slave thread to the slow log if it is open. Resets or sets the option 'slave' in log_slow_disabled_statementsNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_USE_NATIVE_AIONULLONCOMPILE-TIMEONGLOBALBOOLEANUse native AIO if supported on this platform.NULLNULLNULLOFF,ONYESNONENULL
OPTIMIZER_TRACE_MAX_MEM_SIZE1.048.5761.048.576COMPILE-TIME1.048.576SESSIONBIGINT UNSIGNEDMaximum allowed size of an optimizer trace09.223.372.036.854.775.8071NULLNOREQUIREDNULL
SESSION_TRACK_SCHEMAONONCOMPILE-TIMEONSESSIONBOOLEANTrack changes to the default schema.NULLNULLNULLOFF,ONNOOPTIONALNULL
BINLOG_CACHE_SIZENULL32.768COMPILE-TIME32.768GLOBALBIGINT UNSIGNEDThe size of the transactional cache for updates to transactional engines for the binary log. If you often use transactions containing many statements, you can increase this to get more performance4.0969.223.372.036.854.775.8074.096NULLNOREQUIREDNULL
INNODB_UNDO_TABLESPACESNULL0COMPILE-TIME0GLOBALINT UNSIGNEDNumber of undo tablespaces to use.01270NULLYESREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_DIGEST_LENGTHNULL1.024COMPILE-TIME1.024GLOBALBIGINTMaximum length considered for digest text, when stored in performance_schema tables.01.048.5761NULLYESREQUIREDNULL
INNODB_BUF_DUMP_STATUS_FREQUENCYNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDA number between [0, 100] that tells how oftern buffer pool dump status in percentages should be printed. E.g. 10 means that buffer pool dump status is printed when every 10% of number of buffer pool pages are dumped. Default is 0 (only start and end status is printed).01000NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_HOSTS_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of instrumented hosts. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
DEADLOCK_SEARCH_DEPTH_SHORT44COMPILE-TIME4SESSIONBIGINT UNSIGNEDShort search depth for the two-step deadlock detection0321NULLNOREQUIREDNULL
PRELOAD_BUFFER_SIZE32.76832.768COMPILE-TIME32.768SESSIONBIGINT UNSIGNEDThe size of the buffer that is allocated when preloading indexes1.0241.073.741.8241NULLNOREQUIREDNULL
INNODB_FT_MIN_TOKEN_SIZENULL3COMPILE-TIME3GLOBALBIGINT UNSIGNEDInnoDB Fulltext search minimum token size in characters0160NULLYESREQUIREDNULL
PERFORMANCE_SCHEMA_USERS_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of instrumented users. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
INNODB_FT_USER_STOPWORD_TABLECOMPILE-TIMESESSIONVARCHARUser supplied stopword table name, effective in the session level.NULLNULLNULLNULLNOOPTIONALNULL
SLAVE_DDL_EXEC_MODENULLIDEMPOTENTCOMPILE-TIMEIDEMPOTENTGLOBALENUMHow replication events should be executed. Legal values are STRICT and IDEMPOTENT (default). In IDEMPOTENT mode, replication will not stop for DDL operations that are idempotent. This means that CREATE TABLE is treated as CREATE TABLE OR REPLACE and DROP TABLE is treated as DROP TABLE IF EXISTS.NULLNULLNULLSTRICT,IDEMPOTENTNOREQUIREDNULL
SERVER_ID11COMPILE-TIME1SESSIONBIGINT UNSIGNEDUniquely identifies the server instance in the community of replication partners14.294.967.2951NULLNOREQUIREDNULL
CHARACTER_SET_DATABASEutf8mb4utf8mb4COMPILE-TIMEutf8mb4SESSIONENUMThe character set used by the default databaseNULLNULLNULLNULLNONULLNULL
ARIA_MAX_SORT_FILE_SIZENULL9.223.372.036.853.727.232COMPILE-TIME9.223.372.036.853.727.232GLOBALBIGINT UNSIGNEDDon't use the fast sort index method to created index if the temporary file would get bigger than this.09.223.372.036.854.775.8071.048.576NULLNOREQUIREDNULL
DATE_FORMATNULL%Y-%m-%dCOMPILE-TIME%Y-%m-%dGLOBALVARCHARThe DATE format (ignored)NULLNULLNULLNULLYESREQUIREDNULL
INNODB_TEMP_DATA_FILE_PATHNULLibtmp1:12M:autoextendCOMPILE-TIMEibtmp1:12M:autoextendGLOBALVARCHARPath to files and their sizes making temp-tablespace.NULLNULLNULLNULLYESREQUIREDNULL
LOG_SLOW_QUERY_FILENULLayam-mrothol-dev-ubuntu-s-1vcpu-512mb-10gb-sgp1-slow.logCOMPILE-TIMEGLOBALVARCHARLog slow queries to given log file. Defaults logging to 'hostname'-slow.log. Must be enabled to activate other slow log optionsNULLNULLNULLNULLNOREQUIREDNULL
USE_STAT_TABLESPREFERABLY_FOR_QUERIESPREFERABLY_FOR_QUERIESCOMPILE-TIMEPREFERABLY_FOR_QUERIESSESSIONENUMSpecifies how to use system statistics tablesNULLNULLNULLNEVER,COMPLEMENTARY,PREFERABLY,COMPLEMENTARY_FOR_QUERIES,PREFERABLY_FOR_QUERIESNOREQUIREDNULL
TIMESTAMP1.789.750.478,20NULLCOMPILE-TIME0,00SESSION ONLYDOUBLESet the time for this client02.147.483.647NULLNULLNONULLNULL
INNODB_ALTER_COPY_BULKNULLONCOMPILE-TIMEONGLOBALBOOLEANAllow bulk insert operation for copy alter operationNULLNULLNULLOFF,ONNONONENULL
BINLOG_STMT_CACHE_SIZENULL32.768COMPILE-TIME32.768GLOBALBIGINT UNSIGNEDThe size of the statement cache for updates to non-transactional engines for the binary log. If you often use statements updating a great number of rows, you can increase this to get more performance.4.0969.223.372.036.854.775.8074.096NULLNOREQUIREDNULL
INNODB_LOG_FILE_MMAPNULLOFFCOMPILE-TIMEONGLOBALBOOLEANWhether ib_logfile0 resides in persistent memory (when supported) or should initially be memory-mappedNULLNULLNULLOFF,ONYESOPTIONALNULL
GENERAL_LOGNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANLog connections and queries to a table or log file. Defaults logging to a file 'hostname'.log or a table mysql.general_logif --log-output=TABLE is used.NULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_STATS_PERSISTENT_SAMPLE_PAGESNULL20COMPILE-TIME20GLOBALINT UNSIGNEDThe number of leaf index pages to sample when calculating persistent statistics (by ANALYZE, default 20)14.294.967.2950NULLNOREQUIREDNULL
MAX_CONNECT_ERRORSNULL100COMPILE-TIME100GLOBALBIGINT UNSIGNEDIf there is more than this number of interrupted connections from a host this host will be blocked from further connections14.294.967.2951NULLNOREQUIREDNULL
ARIA_GROUP_COMMIT_INTERVALNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDInterval between commits in microseconds (1/1000000 sec). 0 stands for no waiting for other threads to come and do a commit in "hard" mode and no sync()/commit at all in "soft" mode. Option has only an effect if aria_group_commit is used04.294.967.2951NULLNOREQUIREDNULL
REPLICATE_DO_TABLENULLCOMPILE-TIMEGLOBALVARCHARTells the slave to restrict replication to tables in the comma-separated list.NULLNULLNULLNULLNONULLNULL
PROFILING_HISTORY_SIZE1515COMPILE-TIME15SESSIONBIGINT UNSIGNEDNumber of statements about which profiling information is maintained. If set to 0, no profiles are stored. See SHOW PROFILES.01001NULLNOREQUIREDNULL
TX_ISOLATIONREPEATABLE-READREPEATABLE-READCOMPILE-TIMEREPEATABLE-READSESSIONENUMDefault transaction isolation levelNULLNULLNULLREAD-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLENONULLNULL
INNODB_CHANGE_BUFFERINGNULLnoneCOMPILE-TIMEnoneGLOBALENUMBuffer changes to secondary indexes.NULLNULLNULLnone,inserts,deletes,changes,purges,allNOREQUIREDNULL
HAVE_GEOMETRYNULLYESCOMPILE-TIMENULLGLOBALVARCHARIf the server supports spatial data types, will be set to YES, otherwise will be set to NO.NULLNULLNULLNULLYESNULLNULL
INNODB_STATS_MODIFIED_COUNTERNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDThe number of rows modified before we calculate new statistics (default 0 = current limits)09.223.372.036.854.775.8070NULLNOREQUIREDNULL
RELAY_LOGNULLCOMPILE-TIMEGLOBALVARCHARThe location and name to use for relay logs.NULLNULLNULLNULLYESREQUIREDNULL
BINLOG_OPTIMIZE_THREAD_SCHEDULINGNULLONCOMPILE-TIMEONGLOBALBOOLEANRun fast part of group commit in a single thread, to optimize kernel thread scheduling. On by default. Disable to run each transaction in group commit in its own thread, which can be slower at very high concurrency. This option is mostly for testing one algorithm versus the other, and it should not normally be necessary to change it.NULLNULLNULLOFF,ONYESREQUIREDNULL
SLOW_QUERY_LOGOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANAlias for log_slow_query. Log slow queries to a table or log file. Defaults logging to a file 'hostname'-slow.log or a table mysql.slow_log if --log-output=TABLE is used. Must be enabled to activate other slow log options.NULLNULLNULLOFF,ONNOOPTIONALNULL
ENCRYPT_BINLOGNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEncrypt binary logs (including relay logs)NULLNULLNULLOFF,ONYESOPTIONALNULL
OPTIMIZER_ADJUST_SECONDARY_KEY_COSTSfix_reuse_range_for_ref,fix_card_multiplierfix_reuse_range_for_ref,fix_card_multiplierCOMPILE-TIMEfix_reuse_range_for_ref,fix_card_multiplierSESSIONSETA bit field with the following values: adjust_secondary_key_cost = Update secondary key costs for ranges to be at least 5x of clustered primary key costs. disable_max_seek = Disable 'max_seek optimization' for secondary keys and slight adjustment of filter cost. disable_forced_index_in_group_by = Disable automatic forced index in GROUP BY. fix_innodb_cardinality = Disable doubling of the Cardinality for InnoDB secondary keys. fix_reuse_range_for_ref = Do a better job at reusing range access estimates when estimating ref access. fix_card_multiplier = Fix the computation in selectivity_for_indexes. fix_derived_table_read_cost = Fix the cost of reading materialized derived table. This variable will be deleted in MariaDB 11.0 as it is not needed with the new 11.0 optimizer.NULLNULLNULLadjust_secondary_key_cost,disable_max_seek,disable_forced_index_in_group_by,fix_innodb_cardinality,fix_reuse_range_for_ref,fix_card_multiplier,fix_derived_table_read_costNOREQUIREDNULL
SQL_SELECT_LIMIT9.223.372.036.854.775.8079.223.372.036.854.775.807COMPILE-TIME9.223.372.036.854.775.807SESSIONBIGINT UNSIGNEDThe maximum number of rows to return from SELECT statements09.223.372.036.854.775.8071NULLNONULLNULL
INNODB_FT_SERVER_STOPWORD_TABLENULLCOMPILE-TIMEGLOBALVARCHARThe user supplied stopword table name.NULLNULLNULLNULLNOOPTIONALNULL
ARIA_STATS_METHODnulls_unequalnulls_unequalCOMPILE-TIMEnulls_unequalSESSIONENUMSpecifies how Aria index statistics collection code should treat NULLsNULLNULLNULLnulls_unequal,nulls_equal,nulls_ignoredNOREQUIREDNULL
GTID_DOMAIN_ID00COMPILE-TIME0SESSIONINT UNSIGNEDUsed with global transaction ID to identify logically independent replication streams. When events can propagate through multiple parallel paths (for example multiple masters), each independent source server must use a distinct domain_id. For simple tree-shaped replication topologies, it can be left at its default, 0.04.294.967.2951NULLNOREQUIREDNULL
OPEN_FILES_LIMITNULL32.183AUTO0GLOBALBIGINT UNSIGNEDIf this is not 0, then mysqld will use this value to reserve file descriptors to use with setrlimit(). If this value is 0 or autoset then mysqld will reserve max_connections*5 or max_connections + table_cache*2 (whichever is larger) number of file descriptors04.294.967.2951NULLYESREQUIREDNULL
BINLOG_EXPIRE_LOGS_SECONDSNULL864.000COMPILE-TIME0GLOBALBIGINT UNSIGNEDIf non-zero, binary logs will be purged after binlog_expire_logs_seconds seconds; It and expire_logs_days are linked, such that changes in one are converted into the other. Possible purges happen at startup and at binary log rotation.08.553.6001NULLNOREQUIREDNULL
INNODB_COMPRESSION_ALGORITHMNULLzlibCOMPILE-TIMEzlibGLOBALENUMCompression algorithm used on page compression. One of: none, zlib, lz4, lzo, lzma, bzip2, or snappyNULLNULLNULLnone,zlib,lz4,lzo,lzma,bzip2,snappyNOOPTIONALNULL
MAX_RELAY_LOG_SIZE1.073.741.8241.073.741.824AUTO1.073.741.824SESSIONBIGINT UNSIGNEDrelay log will be rotated automatically when the size exceeds this value. If 0 at startup, it's set to max_binlog_size4.0961.073.741.8244.096NULLNOREQUIREDNULL
PLUGIN_MATURITYNULLgammaCOMPILE-TIMEgammaGLOBALENUMThe lowest desirable plugin maturity. Plugins less mature than that will not be installed or loadedNULLNULLNULLunknown,experimental,alpha,beta,gamma,stableYESREQUIREDNULL
MAX_RECURSIVE_ITERATIONS1.0001.000COMPILE-TIME1.000SESSIONBIGINT UNSIGNEDMaximum number of iterations when executing recursive queries04.294.967.2951NULLNOOPTIONALNULL
INNODB_PURGE_THREADSNULL4COMPILE-TIME4GLOBALINT UNSIGNEDNumber of tasks for purging transaction history1320NULLNOOPTIONALNULL
OPTIMIZER_SWITCHindex_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off,hash_join_cardinality=off,cset_narrowing=offindex_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off,hash_join_cardinality=off,cset_narrowing=offCOMPILE-TIMEindex_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off,hash_join_cardinality=off,cset_narrowing=offSESSIONFLAGSETFine-tune the optimizer behaviorNULLNULLNULLindex_merge,index_merge_union,index_merge_sort_union,index_merge_intersection,index_merge_sort_intersection,engine_condition_pushdown,index_condition_pushdown,derived_merge,derived_with_keys,firstmatch,loosescan,materialization,in_to_exists,semijoin,partial_match_rowid_merge,partial_match_table_scan,subquery_cache,mrr,mrr_cost_based,mrr_sort_keys,outer_join_with_cache,semijoin_with_cache,join_cache_incremental,join_cache_hashed,join_cache_bka,optimize_join_buffer_size,table_elimination,extended_keys,exists_to_in,orderby_uses_equalities,condition_pushdown_for_derived,split_materialized,condition_pushdown_for_subquery,rowid_filter,condition_pushdown_from_having,not_null_range_scan,hash_join_cardinality,cset_narrowing,defaultNOREQUIREDNULL
PROFILINGOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANIf set to 1 (0 is default), statement profiling will be enabled. See SHOW PROFILES and SHOW PROFILE.NULLNULLNULLOFF,ONNONULLNULL
OPTIMIZER_JOIN_LIMIT_PREF_RATIO00COMPILE-TIME0SESSIONBIGINT UNSIGNEDFor queries with JOIN and ORDER BY LIMIT : make the optimizer consider a join order that allows to short-cut execution after producing #LIMIT matches if that promises N times speedup. (A conservative setting here would be is a high value, like 100 so the short-cutting plan is used if it promises a speedup of 100x or more). Short-cutting plans are inherently risky so the default is 0 which means do not consider this optimization04.294.967.2951NULLNOREQUIREDNULL
ARIA_PAGECACHE_BUFFER_SIZENULL134.217.728COMPILE-TIME134.217.728GLOBALBIGINT UNSIGNEDThe size of the buffer used for index blocks for Aria tables. Increase this to get better index handling (for all reads and multiple writes) to as much as you can afford.131.0729.223.372.036.854.775.8071NULLYESREQUIREDNULL
MYISAM_MMAP_SIZENULL9.223.372.036.854.775.807COMPILE-TIME9.223.372.036.854.775.807GLOBALBIGINT UNSIGNEDRestricts the total memory used for memory mapping of MySQL tables79.223.372.036.854.775.8071NULLYESREQUIREDNULL
EXPENSIVE_SUBQUERY_LIMIT100100COMPILE-TIME100SESSIONBIGINT UNSIGNEDThe maximum number of rows a subquery may examine in order to be executed during optimization and used for constant optimization09.223.372.036.854.775.8071NULLNOREQUIREDNULL
WSREP_IGNORE_APPLY_ERRORSNULL7COMPILE-TIME7GLOBALINT UNSIGNEDIgnore replication errors071NULLNOREQUIREDNULL
INNODB_BUFFER_POOL_DUMP_AT_SHUTDOWNNULLONCOMPILE-TIMEONGLOBALBOOLEANDump the buffer pool into a file named @@innodb_buffer_pool_filenameNULLNULLNULLOFF,ONNOREQUIREDNULL
NET_BUFFER_LENGTH16.38416.384COMPILE-TIME16.384SESSIONBIGINT UNSIGNEDBuffer length for TCP/IP and socket communication1.0241.048.5761.024NULLNOREQUIREDNULL
SSL_CRLPATHNULLCOMPILE-TIMEGLOBALVARCHARCRL directory (check OpenSSL docs, implies --ssl)NULLNULLNULLNULLYESREQUIREDNULL
SYNC_BINLOGNULL0COMPILE-TIME0GLOBALINT UNSIGNEDSynchronously flush binary log to disk after every #th event. Use 0 (default) to disable synchronous flushing04.294.967.2951NULLNOREQUIREDNULL
DEADLOCK_SEARCH_DEPTH_LONG1515COMPILE-TIME15SESSIONBIGINT UNSIGNEDLong search depth for the two-step deadlock detection0331NULLNOREQUIREDNULL
GTID_POS_AUTO_ENGINESNULLCOMPILE-TIMEGLOBALVARCHARList of engines for which to automatically create a mysql.gtid_slave_pos_ENGINE table, if a transaction using that engine is replicated. This can be used to avoid introducing cross-engine transactions, if engines are used different from that used by table mysql.gtid_slave_posNULLNULLNULLNULLNONULLNULL
MRR_BUFFER_SIZE262.144262.144COMPILE-TIME262.144SESSIONBIGINT UNSIGNEDSize of buffer to use when using MRR with range access8.1922.147.483.6471NULLNOREQUIREDNULL
SOCKETNULL/run/mysqld/mysqld.sockCONFIGGLOBALVARCHARSocket file to use for connectionNULLNULLNULLNULLYESREQUIREDNULL
INNODB_MAX_DIRTY_PAGES_PCT_LWMNULL0,00COMPILE-TIME0,00GLOBALDOUBLEPercentage of dirty pages at which flushing kicks in. The value 0 (default) means 'refer to innodb_max_dirty_pages_pct'.0100,00NULLNULLNOREQUIREDNULL
VERSION_SSL_LIBRARYNULLOpenSSL 3.0.13 30 Jan 2024COMPILE-TIMENULLGLOBALVARCHARVersion of the used SSL libraryNULLNULLNULLNULLYESNULLNULL
IDLE_WRITE_TRANSACTION_TIMEOUT00COMPILE-TIME0SESSIONINT UNSIGNEDThe number of seconds the server waits for write idle transaction031.536.0001NULLNOREQUIREDNULL
WSREP_START_POSITIONNULL00000000-0000-0000-0000-000000000000:-1COMPILE-TIME00000000-0000-0000-0000-000000000000:-1GLOBALVARCHARglobal transaction position to start from NULLNULLNULLNULLNOREQUIREDNULL
FOREIGN_KEY_CHECKSONONCOMPILE-TIMEONSESSIONBOOLEANIf set to 1 (the default) foreign key constraints (including ON UPDATE and ON DELETE behavior) InnoDB tables are checked, while if set to 0, they are not checked. 0 is not recommended for normal use, though it can be useful in situations where you know the data is consistent, but want to reload data in a different order from that that specified by parent/child relationships. Setting this variable to 1 does not retrospectively check for inconsistencies introduced while set to 0.NULLNULLNULLOFF,ONNONULLNULL
LOG_ERRORNULLCOMPILE-TIME0GLOBALVARCHARLog errors to file (instead of stdout). If file name is not specified then 'datadir'/'log-basename'.err or the 'pid-file' path with extension .err is usedNULLNULLNULLNULLYESOPTIONALNULL
INNODB_MONITOR_RESETNULLCOMPILE-TIMEGLOBALVARCHARReset a monitor counterNULLNULLNULLNULLNOREQUIREDNULL
WAIT_TIMEOUT28.80028.800COMPILE-TIME28.800SESSIONBIGINT UNSIGNEDThe number of seconds the server waits for activity on a connection before closing it131.536.0001NULLNOREQUIREDNULL
INNODB_STATS_AUTO_RECALCNULLONCOMPILE-TIMEONGLOBALBOOLEANInnoDB automatic recalculation of persistent statistics enabled for all tables unless overridden at table level (automatic recalculation is only done when InnoDB decides that the table has changed too much and needs a new statistics)NULLNULLNULLOFF,ONNOOPTIONALNULL
REPLICATE_DO_DBNULLCOMPILE-TIMEGLOBALVARCHARTell the slave to restrict replication to updates of tables whose names appear in the comma-separated list. For statement-based replication, only the default database (that is, the one selected by USE) is considered, not any explicitly mentioned tables in the query. For row-based replication, the actual names of table(s) being updated are checked.NULLNULLNULLNULLNONULLNULL
INNODB_DEFRAGMENTNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable/disable InnoDB defragmentation (default FALSE). When set to FALSE, all existing defragmentation will be paused. And new defragmentation command will fail.Paused defragmentation commands will resume when this variable is set to true again.NULLNULLNULLOFF,ONNOREQUIREDNULL
VERSION_MALLOC_LIBRARYNULLsystemCOMPILE-TIMENULLGLOBALVARCHARVersion of the used malloc libraryNULLNULLNULLNULLYESNULLNULL
MAX_TMP_TABLES3232COMPILE-TIME32SESSIONBIGINT UNSIGNEDUnused, will be removed.14.294.967.2951NULLNOREQUIREDNULL
MYISAM_REPAIR_THREADS11COMPILE-TIME1SESSIONBIGINT UNSIGNEDIf larger than 1, when repairing a MyISAM table all indexes will be created in parallel, with one thread per index. The value of 1 disables parallel repair19.223.372.036.854.775.8071NULLNOREQUIREDNULL
INNODB_FATAL_SEMAPHORE_WAIT_THRESHOLDNULL600COMPILE-TIME600GLOBALBIGINT UNSIGNEDMaximum number of seconds that semaphore times out in InnoDB.14.294.967.2950NULLYESREQUIREDNULL
INNODB_FT_MAX_TOKEN_SIZENULL84COMPILE-TIME84GLOBALBIGINT UNSIGNEDInnoDB Fulltext search maximum token size in characters10840NULLYESREQUIREDNULL
THREAD_STACKNULL299.008COMPILE-TIME299.008GLOBALBIGINT UNSIGNEDThe stack size for each thread131.0729.223.372.036.854.775.8071.024NULLYESREQUIREDNULL
GTID_IGNORE_DUPLICATESNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANWhen set, different master connections in multi-source replication are allowed to receive and process event groups with the same GTID (when using GTID mode). Only one will be applied, any others will be ignored. Within a given replication domain, just the sequence number will be used to decide whether a given GTID has been already applied; this means it is the responsibility of the user to ensure that GTID sequence numbers are strictly increasing.NULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_FT_SORT_PLL_DEGREENULL2COMPILE-TIME2GLOBALBIGINT UNSIGNEDInnoDB Fulltext search parallel sort degree, will round up to nearest power of 2 number1160NULLYESREQUIREDNULL
WSREP_NOTIFY_CMDNULLCOMPILE-TIMEGLOBALVARCHARNULLNULLNULLNULLYESREQUIREDNULL
SESSION_TRACK_TRANSACTION_INFOOFFOFFCOMPILE-TIMEOFFSESSIONENUMTrack changes to the transaction attributes. OFF to disable; STATE to track just transaction state (Is there an active transaction? Does it have any data? etc.); CHARACTERISTICS to track transaction state and report all statements needed to start a transaction with the same characteristics (isolation level, read only/read write,snapshot - but not any work done / data modified within the transaction).NULLNULLNULLOFF,STATE,CHARACTERISTICSNOREQUIREDNULL
WSREP_MAX_WS_ROWSNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDMax number of rows in write set01.048.5761NULLNOREQUIREDNULL
INNODB_FILL_FACTORNULL100COMPILE-TIME100GLOBALINT UNSIGNEDPercentage of B-tree page filled during bulk insert101000NULLNOREQUIREDNULL
QUERY_CACHE_WLOCK_INVALIDATEOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANInvalidate queries in query cache on LOCK for writeNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_ADAPTIVE_FLUSHINGNULLONCOMPILE-TIMEONGLOBALBOOLEANAttempt flushing dirty pages to avoid IO bursts at checkpoints.NULLNULLNULLOFF,ONNONONENULL
WSREP_DESYNCNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANTo desynchronize the node from the clusterNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_FILE_PER_TABLENULLONCOMPILE-TIMEONGLOBALBOOLEANStores each InnoDB table to an .ibd file in the database dir.NULLNULLNULLOFF,ONNONONENULL
OPTIMIZER_SELECTIVITY_SAMPLING_LIMIT100100COMPILE-TIME100SESSIONBIGINT UNSIGNEDControls number of record samples to check condition selectivity104.294.967.2951NULLNOREQUIREDNULL
EXTRA_PORTNULL0COMPILE-TIME0GLOBALINT UNSIGNEDExtra port number to use for tcp connections in a one-thread-per-connection manner. 0 means don't use another port065.5351NULLYESREQUIREDNULL
WSREP_SLAVE_FK_CHECKSNULLONCOMPILE-TIMEONGLOBALBOOLEANShould slave thread do foreign key constraint checksNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_LOG_CHECKPOINT_NOWNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANWrite back dirty pages from the buffer pool and update the log checkpointNULLNULLNULLOFF,ONNOOPTIONALNULL
VERSION_COMMENTNULLUbuntu 24.04COMPILE-TIMENULLGLOBALVARCHARValue of the COMPILATION_COMMENT option specified by CMake when building MariaDB, for example mariadb.org binary distribution.NULLNULLNULLNULLYESNULLNULL
THREAD_POOL_PRIO_KICKUP_TIMERNULL1.000COMPILE-TIME1.000GLOBALINT UNSIGNEDThe number of milliseconds before a dequeued low-priority statement is moved to the high-priority queue04.294.967.2951NULLNOREQUIREDNULL
RELAY_LOG_BASENAMENULLCOMPILE-TIMENULLGLOBALVARCHARThe full path of the relay log file names, excluding the extension.NULLNULLNULLNULLYESNULLNULL
INNODB_DATA_HOME_DIRNULLCOMPILE-TIMEGLOBALVARCHARThe common part for InnoDB table spaces.NULLNULLNULLNULLYESREQUIREDNULL
WSREP_CLUSTER_NAMENULLmy_wsrep_clusterCOMPILE-TIMEmy_wsrep_clusterGLOBALVARCHARName for the clusterNULLNULLNULLNULLNOREQUIREDNULL
INNODB_READ_IO_THREADSNULL4COMPILE-TIME4GLOBALINT UNSIGNEDNumber of background read I/O threads in InnoDB.1640NULLNOREQUIREDNULL
LOG_BIN_INDEXNULLCOMPILE-TIMENULLGLOBALVARCHARFile that holds the names for last binary log files.NULLNULLNULLNULLYESNULLNULL
INNODB_WRITE_IO_THREADSNULL4COMPILE-TIME4GLOBALINT UNSIGNEDNumber of background write I/O threads in InnoDB.2640NULLNOREQUIREDNULL
NET_READ_TIMEOUT3030COMPILE-TIME30SESSIONBIGINT UNSIGNEDNumber of seconds to wait for more data from a connection before aborting the read131.536.0001NULLNOREQUIREDNULL
KEEP_FILES_ON_CREATEOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANDon't overwrite stale .MYD and .MYI even if no directory is specifiedNULLNULLNULLOFF,ONNOOPTIONALNULL
LOG_BIN_BASENAMENULLCOMPILE-TIMENULLGLOBALVARCHARThe full path of the binary log file names, excluding the extension.NULLNULLNULLNULLYESNULLNULL
INNODB_UNDO_DIRECTORYNULL./COMPILE-TIMEGLOBALVARCHARDirectory where undo tablespace files live, this path can be absolute.NULLNULLNULLNULLYESREQUIREDNULL
MAX_JOIN_SIZE9.223.372.036.854.775.8079.223.372.036.854.775.807COMPILE-TIME9.223.372.036.854.775.807SESSIONBIGINT UNSIGNEDJoins that are probably going to read more than max_join_size records return an error19.223.372.036.854.775.8071NULLNOREQUIREDNULL
SKIP_PARALLEL_REPLICATIONOFFNULLCOMPILE-TIMEOFFSESSION ONLYBOOLEANIf set when a transaction is written to the binlog, parallel apply of that transaction will be avoided on a slave where slave_parallel_mode is not "aggressive". Can be used to avoid unnecessary rollback and retry for transactions that are likely to cause a conflict if replicated in parallel.NULLNULLNULLOFF,ONNONULLNULL
TCP_KEEPALIVE_INTERVALNULL0COMPILE-TIME0GLOBALINTThe interval, in seconds, between when successive keep-alive packets are sent if no acknowledgement is received.If set to 0, system dependent default is used.02.147.4831NULLNOREQUIREDNULL
INNODB_FT_RESULT_CACHE_LIMITNULL2.000.000.000COMPILE-TIME2.000.000.000GLOBALBIGINT UNSIGNEDInnoDB Fulltext search query result cache limit in bytes1.000.0009.223.372.036.854.775.8070NULLNOREQUIREDNULL
SLAVE_PARALLEL_MAX_QUEUEDNULL131.072COMPILE-TIME131.072GLOBALBIGINT UNSIGNEDLimit on how much memory SQL threads should use per parallel replication thread when reading ahead in the relay log looking for opportunities for parallel replication. Only used when --slave-parallel-threads > 0.02.147.483.6471NULLNOREQUIREDNULL
WSREP_SYNC_WAIT00COMPILE-TIME0SESSIONINT UNSIGNEDEnsure "synchronous" read view before executing an operation of the type specified by bitmask: 1 - READ(includes SELECT, SHOW and BEGIN/START TRANSACTION); 2 - UPDATE and DELETE; 4 - INSERT and REPLACE0151NULLNOOPTIONALNULL
SECURE_AUTHNULLONCOMPILE-TIMEONGLOBALBOOLEANDisallow authentication for accounts that have old (pre-4.1) passwordsNULLNULLNULLOFF,ONNOOPTIONALNULL
WSREP_NODE_INCOMING_ADDRESSNULLAUTOCOMPILE-TIMEAUTOGLOBALVARCHARClient connection addressNULLNULLNULLNULLNOREQUIREDNULL
WSREP_PATCH_VERSIONNULLwsrep_26.22COMPILE-TIMENULLGLOBALVARCHARWsrep patch version, for example wsrep_25.10.NULLNULLNULLNULLYESNULLNULL
INNODB_ENCRYPTION_ROTATE_KEY_AGENULL1COMPILE-TIME1GLOBALINT UNSIGNEDKey rotation - re-encrypt in background all pages that were encrypted with a key that many (or more) versions behind. Value 0 indicates that key rotation is disabled.04.294.967.2950NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_EVENTS_STAGES_HISTORY_LONG_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTNumber of rows in EVENTS_STAGES_HISTORY_LONG. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
OPTIMIZER_TRACEenabled=offenabled=offCOMPILE-TIMEenabled=offSESSIONFLAGSETControls tracing of the Optimizer: optimizer_trace=option=val[,option=val...], where option is one of {enabled} and val is one of {on, off, default}NULLNULLNULLenabled,defaultNOREQUIREDNULL
REPLICATE_IGNORE_DBNULLCOMPILE-TIMEGLOBALVARCHARTell the slave to restrict replication to updates of tables whose names do not appear in the comma-separated list. For statement-based replication, only the default database (that is, the one selected by USE) is considered, not any explicitly mentioned tables in the query. For row-based replication, the actual names of table(s) being updated are checked.NULLNULLNULLNULLNONULLNULL
REQUIRE_SECURE_TRANSPORTNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANWhen this option is enabled, connections attempted using insecure transport will be rejected. Secure transports are SSL/TLS, Unix sockets or named pipes.NULLNULLNULLOFF,ONNOOPTIONALNULL
IGNORE_BUILTIN_INNODBNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANDisable initialization of builtin InnoDB pluginNULLNULLNULLOFF,ONYESOPTIONALNULL
INNODB_READ_AHEAD_THRESHOLDNULL56COMPILE-TIME56GLOBALBIGINT UNSIGNEDNumber of pages that must be accessed sequentially for InnoDB to trigger a readahead.0640NULLNOREQUIREDNULL
ANALYZE_SAMPLE_PERCENTAGE100,00100,00COMPILE-TIME100,00SESSIONDOUBLEPercentage of rows from the table ANALYZE TABLE will sample to collect table statistics. Set to 0 to let MariaDB decide what percentage of rows to sample.0100NULLNULLNOREQUIREDNULL
INNODB_READ_ONLYNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANStart InnoDB in read only mode (off by default)NULLNULLNULLOFF,ONYESOPTIONALNULL
INNODB_LOG_WRITE_AHEAD_SIZENULL512COMPILE-TIME512GLOBALINT UNSIGNEDRedo log write size to avoid read-on-write; must be a power of two5124.0961NULLYESREQUIREDNULL
INNODB_IMMEDIATE_SCRUB_DATA_UNCOMPRESSEDNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable scrubbing of dataNULLNULLNULLOFF,ONNOREQUIREDNULL
SYNC_RELAY_LOG_INFONULL10.000COMPILE-TIME10.000GLOBALINT UNSIGNEDSynchronously flush relay log info to disk after every #th transaction. Use 0 to disable synchronous flushing04.294.967.2951NULLNOREQUIREDNULL
INNODB_MONITOR_RESET_ALLNULLCOMPILE-TIMEGLOBALVARCHARReset all values for a monitor counterNULLNULLNULLNULLNOREQUIREDNULL
SLAVE_MAX_STATEMENT_TIMENULL0,00COMPILE-TIME0,00GLOBALDOUBLEA query that has taken more than slave_max_statement_time seconds to run on the slave will be aborted. The argument will be treated as a decimal value with microsecond precision. A value of 0 (default) means no timeout031.536.000NULLNULLNOREQUIREDNULL
INNODB_OPTIMIZE_FULLTEXT_ONLYNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANOnly optimize the Fulltext index of the tableNULLNULLNULLOFF,ONNONONENULL
RPL_SEMI_SYNC_SLAVE_TRACE_LEVELNULL32COMPILE-TIME32GLOBALBIGINT UNSIGNEDThe tracing level for semi-sync replication.09.223.372.036.854.775.8071NULLNOREQUIREDNULL
INNODB_STATS_METHODNULLnulls_equalCOMPILE-TIMEnulls_equalGLOBALENUMSpecifies how InnoDB index statistics collection code should treat NULLs. Possible values are NULLS_EQUAL (default), NULLS_UNEQUAL and NULLS_IGNOREDNULLNULLNULLnulls_equal,nulls_unequal,nulls_ignoredNOREQUIREDNULL
JOIN_CACHE_LEVEL22COMPILE-TIME2SESSIONBIGINT UNSIGNEDControls what join operations can be executed with join buffers. Odd numbers are used for plain join buffers while even numbers are used for linked buffers081NULLNOREQUIREDNULL
SSL_CIPHERNULLCOMPILE-TIMEGLOBALVARCHARSSL cipher to use (implies --ssl)NULLNULLNULLNULLYESREQUIREDNULL
WSREP_RESTART_SLAVENULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANShould MariaDB slave be restarted automatically, when node joins back to clusterNULLNULLNULLOFF,ONNOOPTIONALNULL
LOG_SLOW_RATE_LIMIT11COMPILE-TIME1SESSIONBIGINT UNSIGNEDWrite to slow log every #th slow query. Set to 1 to log everything. Increase it to reduce the size of the slow or the performance impact of slow logging14.294.967.2951NULLNOREQUIREDNULL
WSREP_PROVIDERNULLnoneCOMPILE-TIMEnoneGLOBALVARCHARPath to replication provider libraryNULLNULLNULLNULLYESREQUIREDNULL
ARIA_SORT_BUFFER_SIZE268.434.432268.434.432COMPILE-TIME268.434.432SESSIONBIGINT UNSIGNEDThe buffer that is allocated when sorting the index when doing a REPAIR or when creating indexes with CREATE INDEX or ALTER TABLE.16.3521.152.921.504.606.846.9751NULLNOREQUIREDNULL
GTID_BINLOG_POSNULLCOMPILE-TIMENULLGLOBALVARCHARLast GTID logged to the binary log, per replicationdomainNULLNULLNULLNULLYESNULLNULL
INNODB_PURGE_RSEG_TRUNCATE_FREQUENCYNULL128COMPILE-TIME128GLOBALBIGINT UNSIGNEDDeprecated parameter with no effect11280NULLNONULLNULL
EXTRA_MAX_CONNECTIONSNULL1COMPILE-TIME1GLOBALBIGINT UNSIGNEDThe number of connections on extra-port1100.0001NULLNOREQUIREDNULL
INNODB_BUFFER_POOL_SIZENULL134.217.728COMPILE-TIME134.217.728GLOBALBIGINT UNSIGNEDThe size of the memory buffer InnoDB uses to cache data and indexes of its tables.2.097.1529.223.372.036.854.775.8071.048.576NULLNOREQUIREDNULL
SQL_SLAVE_SKIP_COUNTER00COMPILE-TIME0SESSIONBIGINT UNSIGNEDSkip the next N events from the master log04.294.967.2951NULLNONULLNULL
INNODB_LOG_SPIN_WAIT_DELAYNULL0COMPILE-TIME0GLOBALINT UNSIGNEDDeprecated parameter with no effect06.0000NULLNOOPTIONALNULL
SSL_CAPATHNULLCOMPILE-TIMEGLOBALVARCHARCA directory (check OpenSSL docs, implies --ssl)NULLNULLNULLNULLYESREQUIREDNULL
INNODB_BUFFER_POOL_LOAD_NOWNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANTrigger an immediate load of the buffer pool from a file named @@innodb_buffer_pool_filenameNULLNULLNULLOFF,ONNOREQUIREDNULL
TABLE_OPEN_CACHENULL2.000COMPILE-TIME2.000GLOBALBIGINT UNSIGNEDThe number of cached open tables101.048.5761NULLNOREQUIREDNULL
IGNORE_DB_DIRSNULLCOMPILE-TIMEGLOBALVARCHARSpecifies a directory to add to the ignore list when collecting database names from the datadir. Put a blank argument to reset the list accumulated so far.NULLNULLNULLNULLYESREQUIREDNULL
LOWER_CASE_TABLE_NAMESNULL0COMPILE-TIME0GLOBALINT UNSIGNEDIf set to 1 table names are stored in lowercase on disk and table names will be case-insensitive. Should be set to 2 if you are using a case insensitive file system021NULLYESOPTIONALNULL
BINLOG_CHECKSUMNULLCRC32COMPILE-TIMECRC32GLOBALENUMType of BINLOG_CHECKSUM_ALG. Include checksum for log events in the binary logNULLNULLNULLNONE,CRC32NOREQUIREDNULL
LC_TIME_NAMESen_USen_USCOMPILE-TIMEen_USSESSIONENUMSet the language used for the month names and the days of the weekNULLNULLNULLNULLNONULLNULL
INNODB_PAGE_SIZENULL16.384COMPILE-TIME16.384GLOBALBIGINT UNSIGNEDPage size to use for all InnoDB tablespaces.4.09665.5360NULLYESOPTIONALNULL
WSREP_DATA_HOME_DIRNULL/var/lib/mysql/COMPILE-TIME/var/lib/mysql/GLOBALVARCHARhome directory for wsrep providerNULLNULLNULLNULLYESREQUIREDNULL
ARIA_ENCRYPT_TABLESNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEncrypt tables (only for tables with ROW_FORMAT=PAGE (default) and not FIXED/DYNAMIC)NULLNULLNULLOFF,ONNOOPTIONALNULL
FT_BOOLEAN_SYNTAXNULL+ -><()~*:""&|COMPILE-TIME+ -><()~*:""&|GLOBALVARCHARList of operators for MATCH ... AGAINST ( ... IN BOOLEAN MODE)NULLNULLNULLNULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_EVENTS_STATEMENTS_HISTORY_LONG_SIZENULL-1COMPILE-TIME-1GLOBALBIGINTNumber of rows in EVENTS_STATEMENTS_HISTORY_LONG. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
MAX_ERROR_COUNT6464COMPILE-TIME64SESSIONBIGINT UNSIGNEDMax number of errors/warnings to store for a statement065.5351NULLNOREQUIREDNULL
RPL_SEMI_SYNC_MASTER_WAIT_POINTNULLAFTER_COMMITCOMPILE-TIMEAFTER_COMMITGLOBALENUMShould transaction wait for semi-sync ack after having synced binlog, or after having committed in storage engine.NULLNULLNULLAFTER_SYNC,AFTER_COMMITNOREQUIREDNULL
BINLOG_COMMIT_WAIT_COUNTNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDIf non-zero, binlog write will wait at most binlog_commit_wait_usec microseconds for at least this many commits to queue up for group commit to the binlog. This can reduce I/O on the binlog and provide increased opportunity for parallel apply on the slave, but too high a value will decrease commit throughput.09.223.372.036.854.775.8071NULLNOREQUIREDNULL
ARIA_CHECKPOINT_LOG_ACTIVITYNULL1.048.576COMPILE-TIME1.048.576GLOBALBIGINT UNSIGNEDNumber of bytes that the transaction log has to grow between checkpoints before a new checkpoint is written to the log.04.294.967.2951NULLNOREQUIREDNULL
THREAD_POOL_SIZENULL1AUTO8GLOBALINT UNSIGNEDNumber of thread groups in the pool. This parameter is roughly equivalent to maximum number of concurrently executing threads (threads in a waiting state do not count as executing).1100.0001NULLNOREQUIREDNULL
INNODB_FLUSH_LOG_AT_TRX_COMMITNULL1COMPILE-TIME1GLOBALBIGINT UNSIGNEDControls the durability/speed trade-off for commits. Set to 0 (write and flush redo log to disk only once per second), 1 (flush to disk at each commit), 2 (write to log at commit but flush to disk only once per second) or 3 (flush to disk at prepare and at commit, slower and usually redundant). 1 and 3 guarantees that after a crash, committed transactions will not be lost and will be consistent with the binlog and other transactional engines. 2 can get inconsistent and lose transactions if there is a power failure or kernel crash but not if mysqld crashes. 0 has no guarantees in case of crash. 0 and 2 can be faster than 1 or 3.030NULLNOOPTIONALNULL
LOG_DISABLED_STATEMENTSspspCOMPILE-TIMEspSESSIONSETDon't log certain types of statements to general logNULLNULLNULLslave,spNOREQUIREDNULL
WSREP_PROVIDER_OPTIONSNULLCOMPILE-TIMEGLOBALVARCHARSemicolon (;) separated list of wsrep options (see wsrep_provider_options documentation).NULLNULLNULLNULLNOREQUIREDNULL
DIV_PRECISION_INCREMENT44COMPILE-TIME4SESSIONBIGINT UNSIGNEDPrecision of the result of '/' operator will be increased on that value0381NULLNOREQUIREDNULL
MAX_PREPARED_STMT_COUNTNULL16.382COMPILE-TIME16.382GLOBALINT UNSIGNEDMaximum number of prepared statements in the server04.294.967.2951NULLNOREQUIREDNULL
DATETIME_FORMATNULL%Y-%m-%d %H:%i:%sCOMPILE-TIME%Y-%m-%d %H:%i:%sGLOBALVARCHARThe DATETIME format (ignored)NULLNULLNULLNULLYESREQUIREDNULL
WSREP_SST_DONORNULLCOMPILE-TIMEGLOBALVARCHARpreferred donor node for the SSTNULLNULLNULLNULLNOREQUIREDNULL
REPORT_USERNULLCOMPILE-TIMEGLOBALVARCHARThe account user name of the slave to be reported to the master during slave registrationNULLNULLNULLNULLYESREQUIREDNULL
INNODB_COMPRESSION_PAD_PCT_MAXNULL50COMPILE-TIME50GLOBALBIGINT UNSIGNEDPercentage of empty space on a data page that can be reserved to make the page compressible.0750NULLNOOPTIONALNULL
ARIA_CHECKPOINT_INTERVALNULL30COMPILE-TIME30GLOBALBIGINT UNSIGNEDInterval between tries to do an automatic checkpoints. In seconds; 0 means 'no automatic checkpoints' which makes sense only for testing.04.294.967.2951NULLNOREQUIREDNULL
QUERY_CACHE_STRIP_COMMENTSOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANStrip all comments from a query before storing it in the query cacheNULLNULLNULLOFF,ONNOOPTIONALNULL
HAVE_SSLNULLDISABLEDCOMPILE-TIMENULLGLOBALVARCHARIf the server supports secure connections, will be set to YES, otherwise will be set to NO. If set to DISABLED, the server was compiled with TLS support, but was not started with TLS support (see the mysqld options). See also have_openssl.NULLNULLNULLNULLYESNULLNULL
SKIP_REPLICATIONOFFNULLCOMPILE-TIMEOFFSESSION ONLYBOOLEANChanges are logged into the binary log with the @@skip_replication flag set. Such events will not be replicated by slaves that run with --replicate-events-marked-for-skip set different from its default of REPLICATE. See Selectively skipping replication of binlog events for more information.NULLNULLNULLOFF,ONNONULLNULL
GTID_STRICT_MODENULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnforce strict seq_no ordering of events in the binary log. Slave stops with an error if it encounters an event that would cause it to generate an out-of-order binlog if executed. When ON the same server-id semisync-replicated transactions that duplicate existing ones in binlog are ignored without error and slave interruption.NULLNULLNULLOFF,ONNOOPTIONALNULL
DEFAULT_TMP_STORAGE_ENGINECOMPILE-TIMENULLSESSIONVARCHARThe default storage engine for user-created temporary tablesNULLNULLNULLNULLNONULLNULL
SLAVE_TRANSACTION_RETRY_ERRORSNULL1158,1159,1160,1161,1205,1213,1020,1429,2013,12701COMPILE-TIMEGLOBALVARCHARTells the slave thread to retry transaction for replication when a query event returns an error from the provided list. Deadlock error, elapsed lock wait timeout, net read error, net read timeout, net write error, net write timeout, connect error and 2 types of lost connection error are automatically added to this listNULLNULLNULLNULLYESREQUIREDNULL
DELAYED_INSERT_TIMEOUTNULL300COMPILE-TIME300GLOBALBIGINT UNSIGNEDHow long a INSERT DELAYED thread should wait for INSERT statements before terminating131.536.0001NULLNOREQUIREDNULL
LOG_OUTPUTNULLFILECOMPILE-TIMEFILEGLOBALSETHow logs should be writtenNULLNULLNULLNONE,FILE,TABLENOREQUIREDNULL
QUERY_CACHE_TYPEOFFOFFCOMPILE-TIMEOFFSESSIONENUMOFF = Don't cache or retrieve results. ON = Cache all results except SELECT SQL_NO_CACHE ... queries. DEMAND = Cache only SELECT SQL_CACHE ... queriesNULLNULLNULLOFF,ON,DEMANDNOREQUIREDNULL
INNODB_FT_AUX_TABLENULLCOMPILE-TIMEGLOBALVARCHARFTS internal auxiliary table to be checkedNULLNULLNULLNULLNOREQUIREDNULL
INNODB_CMP_PER_INDEX_ENABLEDNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable INFORMATION_SCHEMA.innodb_cmp_per_index, may have negative impact on performance (off by default)NULLNULLNULLOFF,ONNOOPTIONALNULL
SYSTEM_TIME_ZONENULLWIBCOMPILE-TIMENULLGLOBALVARCHARThe server system time zoneNULLNULLNULLNULLYESNULLNULL
INNODB_ONLINE_ALTER_LOG_MAX_SIZENULL134.217.728COMPILE-TIME134.217.728GLOBALBIGINT UNSIGNEDMaximum modification log file size for online index creation65.5369.223.372.036.854.775.8070NULLNOREQUIREDNULL
SLAVE_TRANSACTION_RETRIESNULL10COMPILE-TIME10GLOBALBIGINT UNSIGNEDNumber of times the slave SQL thread will retry a transaction in case it failed with a deadlock, elapsed lock wait timeout or listed in slave_transaction_retry_errors, before giving up and stopping04.294.967.2951NULLNOREQUIREDNULL
UPDATABLE_VIEWS_WITH_LIMITYESYESCOMPILE-TIMEYESSESSIONENUMYES = Don't issue an error message (warning only) if a VIEW without presence of a key of the underlying table is used in queries with a LIMIT clause for updating. NO = Prohibit update of a VIEW, which does not contain a key of the underlying table and the query uses a LIMIT clause (usually get from GUI tools)NULLNULLNULLNO,YESNOREQUIREDNULL
STORAGE_ENGINEInnoDBInnoDBCOMPILE-TIMEInnoDBSESSIONVARCHARAlias for @@default_storage_engine. DeprecatedNULLNULLNULLNULLNONULLNULL
LOCAL_INFILENULLONCOMPILE-TIMEONGLOBALBOOLEANEnable LOAD DATA LOCAL INFILENULLNULLNULLOFF,ONNOOPTIONALNULL
GTID_SEQ_NO0NULLCOMPILE-TIME0SESSION ONLYBIGINT UNSIGNEDInternal server usage, for replication with global transaction id. When set, next event group logged to the binary log will use this sequence number, not generate a new one, thus allowing to preserve master's GTID in slave's binlog.09.223.372.036.854.775.8071NULLNONULLNULL
RPL_SEMI_SYNC_SLAVE_ENABLEDNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable semi-synchronous replication slave (disabled by default).NULLNULLNULLOFF,ONNOOPTIONALNULL
DATADIRNULL/var/lib/mysql/COMPILE-TIME/var/lib/mysql/GLOBALVARCHARPath to the database root directoryNULLNULLNULLNULLYESREQUIREDNULL
RELAY_LOG_INDEXNULLCOMPILE-TIMENULLGLOBALVARCHARThe location and name to use for the file that keeps a list of the last relay logs.NULLNULLNULLNULLYESNULLNULL
WSREP_MAX_WS_SIZENULL2.147.483.647COMPILE-TIME2.147.483.647GLOBALBIGINT UNSIGNEDMax write set size (bytes)1.0242.147.483.6471NULLNOREQUIREDNULL
SQL_QUOTE_SHOW_CREATEONONCOMPILE-TIMEONSESSIONBOOLEANIf set to 1, the default, the server will quote identifiers for SHOW CREATE DATABASE, SHOW CREATE TABLE and SHOW CREATE VIEW statements. Quoting is disabled if set to 0. Enable to ensure replications works when identifiers require quoting.NULLNULLNULLOFF,ONNONULLNULL
INSERT_ID0NULLCOMPILE-TIME0SESSION ONLYBIGINT UNSIGNEDThe value to be used by the following INSERT or ALTER TABLE statement when inserting an AUTO_INCREMENT value09.223.372.036.854.775.8071NULLNONULLNULL
WSREP_MODENULLCOMPILE-TIMEGLOBALSETSet of WSREP features that are enabled.NULLNULLNULLSTRICT_REPLICATION,BINLOG_ROW_FORMAT_ONLY,REQUIRED_PRIMARY_KEY,REPLICATE_MYISAM,REPLICATE_ARIA,DISALLOW_LOCAL_GTID,BF_ABORT_MARIABACKUPNOREQUIREDNULL
OLD_PASSWORDSOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANUse old password encryption method (needed for 4.0 and older clients)NULLNULLNULLOFF,ONNOOPTIONALNULL
WSREP_CERTIFICATION_RULESNULLstrictCOMPILE-TIMEstrictGLOBALENUMCertification rules to use in the cluster. Possible values are: "strict": stricter rules that could result in more certification failures. "optimized": relaxed rules that allow more concurrency and cause less certification failures.NULLNULLNULLstrict,optimizedNOREQUIREDNULL
ROWID_MERGE_BUFF_SIZE8.388.6088.388.608COMPILE-TIME8.388.608SESSIONBIGINT UNSIGNEDThe size of the buffers used [NOT] IN evaluation via partial matching09.223.372.036.854.775.8071NULLNOREQUIREDNULL
PERFORMANCE_SCHEMA_MAX_TABLE_HANDLESNULL-1COMPILE-TIME-1GLOBALBIGINTMaximum number of opened instrumented tables. Use 0 to disable, -1 for automated sizing.-11.048.5761NULLYESREQUIREDNULL
WSREP_CAUSAL_READSOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANSetting this variable is equivalent to setting wsrep_sync_wait READ flagNULLNULLNULLOFF,ONNOOPTIONALNULL
COLUMN_COMPRESSION_THRESHOLD100100COMPILE-TIME100SESSIONINT UNSIGNEDMinimum column data length eligible for compression04.294.967.2951NULLNOREQUIREDNULL
LAST_GTIDNULLCOMPILE-TIMENULLSESSION ONLYVARCHARThe GTID of the last commit (if binlogging was enabled), or the empty string if none.NULLNULLNULLNULLYESNULLNULL
WSREP_SST_RECEIVE_ADDRESSNULLAUTOCOMPILE-TIMEAUTOGLOBALVARCHARAddress where node is waiting for SST contactNULLNULLNULLNULLNOREQUIREDNULL
SLAVE_TYPE_CONVERSIONSNULLCOMPILE-TIMEGLOBALSETSet of slave type conversions that are enabled. If the variable is empty, no conversions are allowed and it is expected that the types match exactlyNULLNULLNULLALL_LOSSY,ALL_NON_LOSSYNOREQUIREDNULL
MYISAM_SORT_BUFFER_SIZE134.216.704134.216.704COMPILE-TIME134.216.704SESSIONBIGINT UNSIGNEDThe buffer that is allocated when sorting the index when doing a REPAIR or when creating indexes with CREATE INDEX or ALTER TABLE4.0961.152.921.504.606.846.9751NULLNOREQUIREDNULL
ARIA_PAGECACHE_DIVISION_LIMITNULL100COMPILE-TIME100GLOBALBIGINT UNSIGNEDThe minimum percentage of warm blocks in key cache11001NULLNOREQUIREDNULL
INNODB_OLD_BLOCKS_PCTNULL37COMPILE-TIME37GLOBALINT UNSIGNEDPercentage of the buffer pool to reserve for 'old' blocks.5950NULLNOREQUIREDNULL
IN_PREDICATE_CONVERSION_THRESHOLD1.0001.000COMPILE-TIME1.000SESSIONINT UNSIGNEDThe minimum number of scalar elements in the value list of IN predicate that triggers its conversion to IN subquery. Set to 0 to disable the conversion.04.294.967.2951NULLNOREQUIREDNULL
TIME_FORMATNULL%H:%i:%sCOMPILE-TIME%H:%i:%sGLOBALVARCHARThe TIME format (ignored)NULLNULLNULLNULLYESREQUIREDNULL
INNODB_DEFRAGMENT_FILL_FACTOR_N_RECSNULL20COMPILE-TIME20GLOBALINT UNSIGNEDHow many records of space defragmentation should leave on the page. This variable, together with innodb_defragment_fill_factor, is introduced so defragmentation won't pack the page too full and cause page split on the next insert on every page. The variable indicating more defragmentation gain is the one effective.11000NULLNOREQUIREDNULL
SQL_LOG_OFFOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANIf set to 1 (0 is the default), no logging to the general query log is done for the client. Only clients with the SUPER privilege can update this variable.NULLNULLNULLOFF,ONNONULLNULL
ARIA_PAGECACHE_AGE_THRESHOLDNULL300COMPILE-TIME300GLOBALBIGINT UNSIGNEDThis characterizes the number of hits a hot block has to be untouched until it is considered aged enough to be downgraded to a warm block. This specifies the percentage ratio of that number of hits to the total number of blocks in the page cache.1009.223.372.036.854.775.807100NULLNOREQUIREDNULL
SLAVE_PARALLEL_MODENULLoptimisticCOMPILE-TIMEoptimisticGLOBALENUMControls what transactions are applied in parallel when using --slave-parallel-threads. Possible values: "optimistic" tries to apply most transactional DML in parallel, and handles any conflicts with rollback and retry. "conservative" limits parallelism in an effort to avoid any conflicts. "aggressive" tries to maximise the parallelism, possibly at the cost of increased conflict rate. "minimal" only parallelizes the commit steps of transactions. "none" disables parallel apply completely.NULLNULLNULLnone,minimal,conservative,optimistic,aggressiveNONULLNULL
ARIA_RECOVER_OPTIONSNULLBACKUP,QUICKCOMPILE-TIMEBACKUP,QUICKGLOBALSETSpecifies how corrupted tables should be automatically repairedNULLNULLNULLNORMAL,BACKUP,FORCE,QUICK,OFFNOOPTIONALNULL
SKIP_SHOW_DATABASENULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANDon't allow 'SHOW DATABASE' commandsNULLNULLNULLOFF,ONYESOPTIONALNULL
WSREP_TRX_FRAGMENT_UNITbytesbytesCOMPILE-TIMEbytesSESSIONENUMUnit for streaming replication transaction fragments' size: bytes, rows, statementsNULLNULLNULLbytes,rows,statementsNOREQUIREDNULL
AUTOCOMMITONONCOMPILE-TIMEONSESSIONBOOLEANIf set to 1, the default, all queries are committed immediately. If set to 0, they are only committed upon a COMMIT statement, or rolled back with a ROLLBACK statement. If autocommit is set to 0, and then changed to 1, all open transactions are immediately committed.NULLNULLNULLOFF,ONNONULLNULL
SLAVE_SQL_VERIFY_CHECKSUMNULLONCOMPILE-TIMEONGLOBALBOOLEANForce checksum verification of replication events after reading them from relay log. Note: Events are always checksum-verified by slave on receiving them from the network before writing them to the relay logNULLNULLNULLOFF,ONNOOPTIONALNULL
EQ_RANGE_INDEX_DIVE_LIMIT200200COMPILE-TIME200SESSIONINT UNSIGNEDThe optimizer will use existing index statistics instead of doing index dives for equality ranges if the number of equality ranges for the index is larger than or equal to this number. If set to 0, index dives are always used.04.294.967.2951NULLNOREQUIREDNULL
WARNING_COUNT0NULLCOMPILE-TIMENULLSESSION ONLYBIGINT UNSIGNEDThe number of errors, warnings, and notes that resulted from the last statement that generated messages09.223.372.036.854.775.8071NULLYESNULLNULL
MYISAM_STATS_METHODNULLS_UNEQUALNULLS_UNEQUALCOMPILE-TIMENULLS_UNEQUALSESSIONENUMSpecifies how MyISAM index statistics collection code should treat NULLs. Possible values of name are NULLS_UNEQUAL (default behavior for 4.1 and later), NULLS_EQUAL (emulate 4.0 behavior), and NULLS_IGNOREDNULLNULLNULLNULLS_UNEQUAL,NULLS_EQUAL,NULLS_IGNOREDNOREQUIREDNULL
INIT_FILENULLCOMPILE-TIMEGLOBALVARCHARRead SQL commands from this file at startupNULLNULLNULLNULLYESREQUIREDNULL
INNODB_COMPRESSION_LEVELNULL6COMPILE-TIME6GLOBALINT UNSIGNEDCompression level used for zlib compression. 0 is no compression, 1 is fastest, 9 is best compression and default is 6.090NULLNOREQUIREDNULL
INTERACTIVE_TIMEOUT28.80028.800COMPILE-TIME28.800SESSIONBIGINT UNSIGNEDThe number of seconds the server waits for activity on an interactive connection before closing it131.536.0001NULLNOREQUIREDNULL
TRANSACTION_PREALLOC_SIZE4.0964.096COMPILE-TIME4.096SESSIONBIGINT UNSIGNEDPersistent buffer for transactions to be stored in binary log1.024134.217.7281.024NULLNOREQUIREDNULL
ERROR_COUNT0NULLCOMPILE-TIMENULLSESSION ONLYBIGINT UNSIGNEDThe number of errors that resulted from the last statement that generated messages09.223.372.036.854.775.8071NULLYESNULLNULL
VERSION_COMPILE_OSNULLdebian-linux-gnuCOMPILE-TIMENULLGLOBALVARCHAROperating system that MariaDB was built on, for example debian-linux-gnu.NULLNULLNULLNULLYESNULLNULL
SLAVE_LOAD_TMPDIRNULL/tmpAUTOGLOBALVARCHARThe location where the slave should put its temporary files when replicating a LOAD DATA INFILE commandNULLNULLNULLNULLYESREQUIREDNULL
FT_MIN_WORD_LENNULL4COMPILE-TIME4GLOBALBIGINT UNSIGNEDThe minimum length of the word to be included in a FULLTEXT index. Note: FULLTEXT indexes must be rebuilt after changing this variable1841NULLYESREQUIREDNULL
LOG_TC_SIZENULL24.576AUTO24.576GLOBALBIGINT UNSIGNEDSize of transaction coordinator log.12.2889.223.372.036.854.775.8074.096NULLYESREQUIREDNULL
WSREP_FORCED_BINLOG_FORMATNULLNONECOMPILE-TIMENONEGLOBALENUMbinlog format to take effect over user's choiceNULLNULLNULLMIXED,STATEMENT,ROW,NONENOREQUIREDNULL
SLAVE_RUN_TRIGGERS_FOR_RBRNULLNOCOMPILE-TIMENOGLOBALENUMModes for how triggers in row-base replication on slave side will be executed. Legal values are NO (default), YES, LOGGING and ENFORCE. NO means that trigger for RBR will not be running on slave. YES and LOGGING means that triggers will be running on slave, if there was not triggers running on the master for the statement. LOGGING also means results of that the executed triggers work will be written to the binlog. ENFORCE means that triggers will always be run on the slave, even if there are triggers on the master. ENFORCE implies LOGGING.NULLNULLNULLNO,YES,LOGGING,ENFORCENOREQUIREDNULL
MAX_SP_RECURSION_DEPTH00COMPILE-TIME0SESSIONBIGINT UNSIGNEDMaximum stored procedure recursion depth02551NULLNOOPTIONALNULL
MAX_WRITE_LOCK_COUNTNULL4.294.967.295COMPILE-TIME4.294.967.295GLOBALBIGINT UNSIGNEDAfter this many write locks, allow some read locks to run in between14.294.967.2951NULLNOREQUIREDNULL
IDLE_READONLY_TRANSACTION_TIMEOUT00COMPILE-TIME0SESSIONINT UNSIGNEDThe number of seconds the server waits for read-only idle transaction031.536.0001NULLNOREQUIREDNULL
WSREP_SST_AUTHNULLCOMPILE-TIMEGLOBALVARCHARAuthentication for SST connectionNULLNULLNULLNULLNOREQUIREDNULL
REPLICATE_EVENTS_MARKED_FOR_SKIPNULLREPLICATECOMPILE-TIMEREPLICATEGLOBALENUMWhether the slave should replicate events that were created with @@skip_replication=1 on the master. Default REPLICATE (no events are skipped). Other values are FILTER_ON_SLAVE (events will be sent by the master but ignored by the slave) and FILTER_ON_MASTER (events marked with @@skip_replication=1 will be filtered on the master and never be sent to the slave).NULLNULLNULLREPLICATE,FILTER_ON_SLAVE,FILTER_ON_MASTERNOREQUIREDNULL
SLAVE_SKIP_ERRORSNULLOFFCOMPILE-TIMEGLOBALVARCHARTells the slave thread to continue replication when a query event returns an error from the provided listNULLNULLNULLNULLYESREQUIREDNULL
KEY_CACHE_BLOCK_SIZENULL1.024COMPILE-TIME1.024GLOBALBIGINT UNSIGNEDThe default size of key cache blocks51216.384512NULLNOREQUIREDNULL
ARIA_LOG_DIR_PATHNULL/var/lib/mysql/COMPILE-TIME/var/lib/mysql/GLOBALVARCHARPath to the directory where to store transactional logNULLNULLNULLNULLYESREQUIREDNULL
WSREP_OSU_METHODTOITOICOMPILE-TIMETOISESSIONENUMMethod for Online Schema UpgradeNULLNULLNULLTOI,RSUNOOPTIONALNULL
INNODB_FLUSH_METHODNULLO_DIRECTCOMPILE-TIMEO_DIRECTGLOBALENUMWith which method to flush data.NULLNULLNULLfsync,O_DSYNC,littlesync,nosync,O_DIRECT,O_DIRECT_NO_FSYNCYESREQUIREDNULL
WSREP_CERTIFY_NONPKNULLONCOMPILE-TIMEONGLOBALBOOLEANCertify tables with no primary keyNULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_BUFFER_POOL_SIZE_MAXNULL134.217.728COMPILE-TIME0GLOBALBIGINT UNSIGNEDMaximum innodb_buffer_pool_size09.223.372.036.854.775.8078.388.608NULLYESREQUIREDNULL
TCP_NODELAYONONCOMPILE-TIMEONSESSIONBOOLEANSet option TCP_NODELAY (disable Nagle's algorithm) on socketNULLNULLNULLOFF,ONNOOPTIONALNULL
MYISAM_USE_MMAPNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANUse memory mapping for reading and writing MyISAM tablesNULLNULLNULLOFF,ONNONONENULL
ENCRYPT_TMP_DISK_TABLESNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEncrypt temporary on-disk tables (created as part of query execution)NULLNULLNULLOFF,ONNOOPTIONALNULL
INNODB_BUFFER_POOL_LOAD_AT_STARTUPNULLONCOMPILE-TIMEONGLOBALBOOLEANLoad the buffer pool from a file named @@innodb_buffer_pool_filenameNULLNULLNULLOFF,ONYESREQUIREDNULL
SLAVE_DOMAIN_PARALLEL_THREADSNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDMaximum number of parallel threads to use on slave for events in a single replication domain. When using multiple domains, this can be used to limit a single domain from grabbing all threads and thus stalling other domains. The default of 0 means to allow a domain to grab as many threads as it wants, up to the value of slave_parallel_threads.016.3831NULLNOREQUIREDNULL
VERSIONNULL10.11.14-MariaDB-0ubuntu0.24.04.1COMPILE-TIMENULLGLOBALVARCHARServer version number. It may also include a suffix with configuration or build information. -debug indicates debugging support was enabled on the server, and -log indicates at least one of the binary log, general log or slow query log are enabled, for example 10.1.1-MariaDB-mariadb1precise-log.NULLNULLNULLNULLYESNULLNULL
INNODB_SNAPSHOT_ISOLATIONOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANUse snapshot isolation (write-write conflict detection).NULLNULLNULLOFF,ONNOOPTIONALNULL
SKIP_EXTERNAL_LOCKINGNULLONCOMPILE-TIMENULLGLOBALBOOLEANDon't use system (external) lockingNULLNULLNULLOFF,ONYESNULLNULL
INNODB_FT_ENABLE_DIAG_PRINTNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANWhether to enable additional FTS diagnostic printout NULLNULLNULLOFF,ONNOOPTIONALNULL
LOG_SLAVE_UPDATESNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANTells the slave to log the updates from the slave thread to the binary log. You will need to turn it on if you plan to daisy-chain the slaves.NULLNULLNULLOFF,ONYESOPTIONALNULL
HAVE_SYMLINKNULLYESCOMPILE-TIMENULLGLOBALVARCHARIf symbolic link support is enabled, will be set to YES, otherwise will be set to NO. Required for the INDEX DIRECTORY and DATA DIRECTORY table options (see CREATE TABLE) and Windows symlink support. Will be set to DISABLED if the server is started with the --skip-symbolic-links option.NULLNULLNULLNULLYESNULLNULL
DEADLOCK_TIMEOUT_LONG50.000.00050.000.000COMPILE-TIME50.000.000SESSIONBIGINT UNSIGNEDLong timeout for the two-step deadlock detection (in microseconds)04.294.967.2951NULLNOREQUIREDNULL
WSREP_GTID_MODENULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANAutomatically update the (joiner) node's wsrep_gtid_domain_id value with that of donor's (received during state transfer) and use it in place of gtid_domain_id for all galera transactions. When OFF (default), wsrep_gtid_domain_id is simply ignored (backward compatibility).NULLNULLNULLOFF,ONNOOPTIONALNULL
PROTOCOL_VERSIONNULL10COMPILE-TIMENULLGLOBALINT UNSIGNEDThe version of the client/server protocol used by the MariaDB server04.294.967.2951NULLYESNULLNULL
INNODB_FLUSH_NEIGHBORSNULL1COMPILE-TIME1GLOBALBIGINT UNSIGNEDSet to 0 (don't flush neighbors from buffer pool), 1 (flush contiguous neighbors from buffer pool) or 2 (flush neighbors from buffer pool), when flushing a block020NULLNOOPTIONALNULL
DEBUG_NO_THREAD_ALARMNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANDisable system thread alarm calls. Disabling it may be useful in debugging or testing, never do it in productionNULLNULLNULLOFF,ONYESOPTIONALNULL
SECURE_TIMESTAMPNULLNOCOMPILE-TIMENOGLOBALENUMRestricts direct setting of a session timestamp. Possible levels are: YES - timestamp cannot deviate from the system clock, REPLICATION - replication thread can adjust timestamp to match the master's, SUPER - a user with this privilege and a replication thread can adjust timestamp, NO - historical behavior, anyone can modify session timestampNULLNULLNULLNO,SUPER,REPLICATION,YESYESREQUIREDNULL
ENFORCE_STORAGE_ENGINECOMPILE-TIMENULLSESSIONVARCHARForce the use of a storage engine for new tablesNULLNULLNULLNULLNONULLNULL
SYNC_MASTER_INFONULL10.000COMPILE-TIME10.000GLOBALINT UNSIGNEDSynchronously flush master info to disk after every #th event. Use 0 to disable synchronous flushing04.294.967.2951NULLNOREQUIREDNULL
SKIP_NAME_RESOLVENULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANDon't resolve hostnames. All hostnames are IP's or 'localhost'.NULLNULLNULLOFF,ONYESOPTIONALNULL
INNODB_DEADLOCK_DETECTNULLONCOMPILE-TIMEONGLOBALBOOLEANEnable/disable InnoDB deadlock detector (default ON). if set to OFF, deadlock detection is skipped, and we rely on innodb_lock_wait_timeout in case of deadlock.NULLNULLNULLOFF,ONNONONENULL
INNODB_STATS_ON_METADATANULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnable statistics gathering for metadata commands such as SHOW TABLE STATUS for tables that use transient statistics (off by default)NULLNULLNULLOFF,ONNOOPTIONALNULL
WSREP_RECOVERNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANRecover database state after crash and exitNULLNULLNULLOFF,ONYESOPTIONALNULL
READ_BINLOG_SPEED_LIMITNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDMaximum speed(KB/s) to read binlog from master (0 = no limit)09.223.372.036.854.775.8071NULLNOREQUIREDNULL
GTID_CLEANUP_BATCH_SIZENULL64COMPILE-TIME64GLOBALINT UNSIGNEDNormally does not need tuning. How many old rows must accumulate in the mysql.gtid_slave_pos table before a background job will be run to delete them. Can be increased to reduce number of commits if using many different engines with --gtid_pos_auto_engines, or to reduce CPU overhead if using a huge number of different gtid_domain_ids. Can be decreased to reduce number of old rows in the table.02.147.483.6471NULLNOREQUIREDNULL
WSREP_STATUS_FILENULLCOMPILE-TIMEGLOBALVARCHARwsrep status output filenameNULLNULLNULLNULLYESREQUIREDNULL
UNIQUE_CHECKSONONCOMPILE-TIMEONSESSIONBOOLEANIf set to 1, the default, secondary indexes in InnoDB tables are performed. If set to 0, storage engines can (but are not required to) assume that duplicate keys are not present in input data. Set to 0 to speed up imports of large tables to InnoDB. The storage engine will still issue a duplicate key error if it detects one, even if set to 0.NULLNULLNULLOFF,ONNONULLNULL
INNODB_LOG_GROUP_HOME_DIRNULL./COMPILE-TIMEGLOBALVARCHARPath to ib_logfile0NULLNULLNULLNULLYESREQUIREDNULL
MAX_SEEKS_FOR_KEY4.294.967.2954.294.967.295COMPILE-TIME4.294.967.295SESSIONBIGINT UNSIGNEDLimit assumed max number of seeks when looking up rows based on a key14.294.967.2951NULLNOREQUIREDNULL
INNODB_DEFRAGMENT_N_PAGESNULL7COMPILE-TIME7GLOBALINT UNSIGNEDNumber of pages considered at once when merging multiple pages to defragment2320NULLNOREQUIREDNULL
KEY_CACHE_SEGMENTSNULL0COMPILE-TIME0GLOBALBIGINT UNSIGNEDThe number of segments in a key cache0641NULLNOREQUIREDNULL
LOG_SLOW_FILTERadmin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_diskadmin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_diskCOMPILE-TIMEadmin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_diskSESSIONSETLog only certain types of queries to the slow log. If variable empty all kind of queries are logged. All types are bound by slow_query_time, except 'not_using_index' which is always logged if enabledNULLNULLNULLadmin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,not_using_index,query_cache,query_cache_miss,tmp_table,tmp_table_on_diskNOREQUIREDNULL
QUERY_CACHE_MIN_RES_UNITNULL4.096COMPILE-TIME4.096GLOBALBIGINT UNSIGNEDThe minimum size for blocks allocated by the query cache04.294.967.2958NULLNOREQUIREDNULL
INNODB_OPEN_FILESNULL2.000COMPILE-TIME0GLOBALBIGINT UNSIGNEDHow many files at the maximum InnoDB keeps open at the same time.09.223.372.036.854.775.8070NULLYESREQUIREDNULL
SSL_KEYNULLCOMPILE-TIMEGLOBALVARCHARX509 key in PEM format (implies --ssl)NULLNULLNULLNULLYESREQUIREDNULL
INNODB_LOG_FILE_SIZENULL100.663.296COMPILE-TIME100.663.296GLOBALBIGINT UNSIGNEDRedo log size in bytes.4.194.3049.223.372.036.854.775.8074.096NULLNOREQUIREDNULL
DEFAULT_STORAGE_ENGINEInnoDBInnoDBCOMPILE-TIMEInnoDBSESSIONVARCHARThe default storage engine for new tablesNULLNULLNULLNULLNONULLNULL
VERSION_SOURCE_REVISIONNULL053f9bcb5b147bf00edb99e1310bae9125b7f125COMPILE-TIMENULLGLOBALVARCHARSource control revision id for MariaDB source codeNULLNULLNULLNULLYESNULLNULL
SQL_WARNINGSOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANIf set to 1, single-row INSERTs will produce a string containing warning information if a warning occurs.NULLNULLNULLOFF,ONNONULLNULL
OPTIMIZER_MAX_SEL_ARG_WEIGHT32.00032.000COMPILE-TIME32.000SESSIONBIGINT UNSIGNEDThe maximum weight of the SEL_ARG graph. Set to 0 for no limit04.294.967.2951NULLNOREQUIREDNULL
LARGE_PAGE_SIZENULL0COMPILE-TIMENULLGLOBALINT UNSIGNEDPreviously showed the size of large memory pages, unused since multiple page size support was added04.294.967.2951NULLYESNULLNULL
ARIA_PAGECACHE_FILE_HASH_SIZENULL512COMPILE-TIME512GLOBALBIGINT UNSIGNEDNumber of hash buckets for open and changed files. If you have a lot of Aria files open you should increase this for faster flush of changes. A good value is probably 1/10 of number of possible open Aria files.12816.3841NULLYESREQUIREDNULL
READ_RND_BUFFER_SIZE262.144262.144COMPILE-TIME262.144SESSIONBIGINT UNSIGNEDWhen reading rows in sorted order after a sort, the rows are read through this buffer to avoid a disk seeks12.147.483.6471NULLNOREQUIREDNULL
WSREP_NODE_NAMENULLayam-mrothol-dev-ubuntu-s-1vcpu-512mb-10gb-sgp1COMPILE-TIMEayam-mrothol-dev-ubuntu-s-1vcpu-512mb-10gb-sgp1GLOBALVARCHARName of this node. This name can be used in wsrep_sst_donor as a preferred donor. Note that multiple nodes in a cluster can have the same name.NULLNULLNULLNULLNOREQUIREDNULL
IN_TRANSACTION0NULLCOMPILE-TIMENULLSESSION ONLYBIGINT UNSIGNEDWhether there is an active transaction011NULLYESNULLNULL
REPLICATE_IGNORE_TABLENULLCOMPILE-TIMEGLOBALVARCHARTells the slave thread not to replicate any statement that updates the specified table, even if any other tables might be updated by the same statement.NULLNULLNULLNULLNONULLNULL
ARIA_LOG_FILE_SIZENULL1.073.741.824COMPILE-TIME1.073.741.824GLOBALBIGINT UNSIGNEDLimit for transaction log size8.388.6084.294.967.2958.192NULLNOREQUIREDNULL
INNODB_NUMA_INTERLEAVENULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANUse NUMA interleave memory policy to allocate InnoDB buffer pool.NULLNULLNULLOFF,ONYESNONENULL
OPTIMIZER_SEARCH_DEPTH6262COMPILE-TIME62SESSIONBIGINT UNSIGNEDMaximum depth of search performed by the query optimizer. Values larger than the number of relations in a query result in better query plans, but take longer to compile a query. Values smaller than the number of tables in a relation result in faster optimization, but may produce very bad query plans. If set to 0, the system will automatically pick a reasonable value.0621NULLNOREQUIREDNULL
INNODB_CHECKSUM_ALGORITHMNULLfull_crc32COMPILE-TIMEfull_crc32GLOBALENUMThe algorithm InnoDB uses for page checksumming. Possible values are FULL_CRC32 for new files, always use CRC-32C; for old, see CRC32 below; STRICT_FULL_CRC32 for new files, always use CRC-32C; for old, see STRICT_CRC32 below; CRC32 write crc32, allow previously used algorithms to match when reading; STRICT_CRC32 write crc32, do not allow other algorithms to match when reading; New files created with full_crc32 are readable by MariaDB 10.4.3+NULLNULLNULLcrc32,strict_crc32,full_crc32,strict_full_crc32NOREQUIREDNULL
TCP_KEEPALIVE_TIMENULL0COMPILE-TIME0GLOBALINTTimeout, in seconds, with no activity until the first TCP keep-alive packet is sent.If set to 0, system dependent default is used.02.147.4831NULLNOREQUIREDNULL
ARIA_LOG_PURGE_TYPENULLimmediateCOMPILE-TIMEimmediateGLOBALENUMSpecifies how Aria transactional log will be purgedNULLNULLNULLimmediate,external,at_flushNOREQUIREDNULL
READ_ONLYNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANMake all non-temporary tables read-only, with the exception for replication (slave) threads and users with the 'READ ONLY ADMIN' privilegeNULLNULLNULLOFF,ONNOOPTIONALNULL
MYSQL56_TEMPORAL_FORMATNULLONCOMPILE-TIMEONGLOBALBOOLEANUse MySQL-5.6 (instead of MariaDB-5.3) format for TIME, DATETIME, TIMESTAMP columns.NULLNULLNULLOFF,ONNOOPTIONALNULL
REPLICATE_WILD_IGNORE_TABLENULLCOMPILE-TIMEGLOBALVARCHARTells the slave thread to not replicate to the tables that match the given wildcard pattern.NULLNULLNULLNULLNONULLNULL
ARIA_BLOCK_SIZENULL8.192COMPILE-TIME8.192GLOBALBIGINT UNSIGNEDBlock size to be used for Aria index pages.4.09632.7681.024NULLYESREQUIREDNULL
INNODB_DATA_FILE_PATHNULLibdata1:12M:autoextendCOMPILE-TIMEibdata1:12M:autoextendGLOBALVARCHARPath to individual files and their sizes.NULLNULLNULLNULLYESREQUIREDNULL
WSREP_SR_STORENULLtableCOMPILE-TIMEtableGLOBALENUMStorage for streaming replication fragmentsNULLNULLNULLnone,tableYESREQUIREDNULL
DEADLOCK_TIMEOUT_SHORT10.00010.000COMPILE-TIME10.000SESSIONBIGINT UNSIGNEDShort timeout for the two-step deadlock detection (in microseconds)04.294.967.2951NULLNOREQUIREDNULL
SQL_IF_EXISTSOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANIf set to 1 adds an implicate IF EXISTS to ALTER, RENAME and DROP of TABLES, VIEWS, FUNCTIONS and PACKAGESNULLNULLNULLOFF,ONNONULLNULL
WSREP_DIRTY_READSOFFOFFCOMPILE-TIMEOFFSESSIONBOOLEANAllow reads even when the node is not in the primary component.NULLNULLNULLOFF,ONNOOPTIONALNULL
ARIA_GROUP_COMMITNULLnoneCOMPILE-TIMEnoneGLOBALENUMSpecifies Aria group commit mode. Possible values are "none" (no group commit), "hard" (with waiting to actual commit), "soft" (no wait for commit (DANGEROUS!!!))NULLNULLNULLnone,hard,softNOREQUIREDNULL
INNODB_DEFRAGMENT_FILL_FACTORNULL0,90COMPILE-TIME0,90GLOBALDOUBLEA number between [0.7, 1] that tells defragmentation how full it should fill a page. Default is 0.9. Number below 0.7 won't make much sense.This variable, together with innodb_defragment_fill_factor_n_recs, is introduced so defragmentation won't pack the page too full and cause page split on the next insert on every page. The variable indicating more defragmentation gain is the one effective.0,701NULLNULLNOREQUIREDNULL
MAX_ALLOWED_PACKET16.777.21616.777.216COMPILE-TIME16.777.216SESSIONBIGINT UNSIGNEDMax packet length to send to or receive from the server1.0241.073.741.8241.024NULLNOREQUIREDNULL
ALTER_ALGORITHMDEFAULTDEFAULTCOMPILE-TIMEDEFAULTSESSIONENUMSpecify the alter table algorithmNULLNULLNULLDEFAULT,COPY,INPLACE,NOCOPY,INSTANTNOOPTIONALNULL
USERSTATNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANEnables statistics gathering for USER_STATISTICS, CLIENT_STATISTICS, INDEX_STATISTICS and TABLE_STATISTICS tables in the INFORMATION_SCHEMANULLNULLNULLOFF,ONNOOPTIONALNULL
SQL_LOG_BINONONCOMPILE-TIMEONSESSIONBOOLEANIf set to 0 (1 is the default), no logging to the binary log is done for the client. Only clients with the SUPER privilege can update this variable. Can have unintended consequences if set globally, see SET SQL_LOG_BIN. Starting MariaDB 10.1.7, this variable does not affect the replication of events in a Galera cluster.NULLNULLNULLOFF,ONNONULLNULL
SESSION_TRACK_SYSTEM_VARIABLESautocommit,character_set_client,character_set_connection,character_set_results,time_zoneautocommit,character_set_client,character_set_connection,character_set_results,time_zoneCOMPILE-TIMEautocommit,character_set_client,character_set_connection,character_set_results,time_zoneSESSIONVARCHARTrack changes in registered system variables. NULLNULLNULLNULLNOREQUIREDNULL
SERVER_UIDNULLQcZPUixbD6gFEmDGoJmlmMbCQdc=COMPILE-TIMENULLGLOBALVARCHARAutomatically calculated server unique id hashNULLNULLNULLNULLYESNULLNULL
ARIA_SYNC_LOG_DIRNULLNEWFILECOMPILE-TIMENEWFILEGLOBALENUMControls syncing directory after log file growth and new file creationNULLNULLNULLNEVER,NEWFILE,ALWAYSNOREQUIREDNULL
INNODB_PURGE_BATCH_SIZENULL127COMPILE-TIME127GLOBALBIGINT UNSIGNEDNumber of UNDO log pages to purge in one batch from the history list.15.0000NULLNOOPTIONALNULL
INNODB_FORCE_PRIMARY_KEYNULLOFFCOMPILE-TIMEOFFGLOBALBOOLEANDo not allow creating a table without primary key (off by default)NULLNULLNULLOFF,ONNOOPTIONALNULL
TMPDIRNULL/tmpCOMPILE-TIMEGLOBALVARCHARPath for temporary files. Several paths may be specified, separated by a colon (:), in this case they are used in a round-robin fashionNULLNULLNULLNULLYESREQUIREDNULL
RELAY_LOG_PURGENULLONCOMPILE-TIMEONGLOBALBOOLEANif disabled - do not purge relay logs. if enabled - purge them as soon as they are no more needed.NULLNULLNULLOFF,ONNOOPTIONALNULL
AUTO_INCREMENT_INCREMENT11COMPILE-TIME1SESSIONBIGINT UNSIGNEDAuto-increment columns are incremented by this165.5351NULLNOOPTIONALNULL
INNODB_FT_TOTAL_CACHE_SIZENULL640.000.000COMPILE-TIME640.000.000GLOBALBIGINT UNSIGNEDTotal memory allocated for InnoDB Fulltext Search cache32.000.0001.099.511.627.7760NULLNOREQUIREDNULL
REPLICATE_ANNOTATE_ROW_EVENTSNULLONCOMPILE-TIMEONGLOBALBOOLEANTells the slave to write annotate rows events received from the master to its own binary log. Ignored if log_slave_updates is not setNULLNULLNULLOFF,ONYESOPTIONALNULL
OPTIMIZER_MAX_SEL_ARGS16.00016.000COMPILE-TIME16.000SESSIONBIGINT UNSIGNEDThe maximum number of SEL_ARG objects created when optimizing a range. If more objects would be needed, the range will not be used by the optimizer.04.294.967.2951NULLNOREQUIREDNULL
TABLE_OPEN_CACHE_INSTANCESNULL8COMPILE-TIME8GLOBALINT UNSIGNEDMaximum number of table cache instances1641NULLYESREQUIREDNULL
IDLE_TRANSACTION_TIMEOUT00COMPILE-TIME0SESSIONINT UNSIGNEDThe number of seconds the server waits for idle transaction031.536.0001NULLNOREQUIREDNULL
RELAY_LOG_INFO_FILENULLrelay-log.infoCOMPILE-TIMEGLOBALVARCHARThe location and name of the file that remembers where the SQL replication thread is in the relay logs.NULLNULLNULLNULLYESREQUIREDNULL
BINLOG_ANNOTATE_ROW_EVENTSONONCOMPILE-TIMEONSESSIONBOOLEANTells the master to annotate RBR events with the statement that caused these eventsNULLNULLNULLOFF,ONNOOPTIONALNULL
Total Baris: 674