mariadbd & mysqld for MariaDB Community Server 10.2
This page is part of MariaDB's Documentation.
The parent of this page is: Command-Line Interfaces for MariaDB Community Server 10.2
Topics on this page:
Overview
The mysqld
utility runs the server process for MariaDB Community Server 10.2. It is generally started using the systemd process management system.
MariaDB Community Server 10.2 does not provide a symbolic link to the utility's new name (mariadbd
), so the legacy name must be used.
mysqld Options for MariaDB Community Server 10.2
Option | Description |
---|---|
Allows use of UDFs consisting of only one symbol xxx() without corresponding xxx_ | |
Use ANSI SQL syntax instead of MySQL syntax. This mode will also set transaction isolation level 'serializable'. | |
Enable or disable Aria plugin. One of: ON, OFF, FORCE (don't start if the plugin fails to load), FORCE_ | |
Block size to be used for Aria index pages. | |
Interval between tries to do an automatic checkpoints. In seconds; 0 means 'no automatic checkpoints' which makes sense only for testing. | |
Number of bytes that the transaction log has to grow between checkpoints before a new checkpoint is written to the log. | |
Encrypt tables (only for tables with ROW_ | |
Number of consecutive log recovery failures after which logs will be automatically deleted to cure the problem; 0 (the default) disables the feature. | |
Specifies Aria group commit mode. Possible values are "none" (no group commit), "hard" (with waiting to actual commit), "soft" (no wait for commit (DANGEROUS!!!)) | |
Interval between commite in microseconds (1/1000000c). 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_ | |
Path to the directory where to store transactional log | |
Limit for transaction log size | |
Specifies how Aria transactional log will be purged. One of: immediate, external, at_ | |
Don't use the fast sort index method to created index if the temporary file would get bigger than this. | |
Maintain page checksums (can be overridden per table with PAGE_ | |
This 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. | |
The 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. | |
The minimum percentage of warm blocks in key cache | |
Number 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. | |
Specifies how corrupted tables should be automatically repaired. Any combination of: NORMAL, BACKUP, FORCE, QUICK, OFF | |
Number of threads to use when repairing Aria tables. The value of 1 disables parallel repair. | |
The buffer that is allocated when sorting the index when doing a REPAIR or when creating indexes with CREATE INDEX or ALTER TABLE. | |
Specifies how Aria index statistics collection code should treat NULLs. One of: nulls_ | |
Controls syncing directory after log file growth and new file creation. One of: NEVER, NEWFILE, ALWAYS | |
Auto-increment columns are incremented by this | |
Offset added to Auto-increment columns. Used when auto-increment-increment != 1 | |
Set default value for autocommit (0 or 1) (Defaults to on; use --skip-autocommit to disable.) | |
Creating and dropping stored procedures alters ACLs (Defaults to on; use --skip-automatic-sp-privileges to disable.) | |
The 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 time (Automatically configured unless set explicitly) | |
Path to installation directory. All paths are usually resolved relative to this | |
Old 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. sql_ | |
IP address to bind to. | |
Tells the master to annotate RBR events with the statement that caused these events (Defaults to on; use --skip-binlog-annotate-row-events to disable.) | |
The 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 performance | |
Type of BINLOG_ | |
If non-zero, binlog write will wait at most binlog_ | |
Maximum time, in microseconds, to wait for more commits to queue up for binlog group commit. Only takes effect if the value of binlog_ | |
Causes 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_ | |
Tells the master it should log updates for the specified database, and exclude all others not explicitly mentioned. | |
What 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. | |
Tells the master that updates to the given database should not be logged to the binary log. | |
Run 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. (Defaults to on; use --skip-binlog-optimize-thread-scheduling to disable.) | |
The maximum size of a row-based binary log event in bytes. Rows will be grouped into events smaller than this size if possible. The value has to be a multiple of 256. | |
Controls 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 (e.g., 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). | |
The 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. | |
Enable or disable BLACKHOLE plugin. One of: ON, OFF, FORCE (don't start if the plugin fails to load), FORCE_ | |
Used by mysql installation scripts. | |
Size of tree cache used in bulk insert optimisation. Note that this is a limit per thread! | |
Don't ignore client side character set value sent during handshake. (Defaults to on; use --skip-character-set-client-handshake to disable.) | |
Set the filesystem character set. | |
Set the default character set. | |
Directory where character sets are | |
Chroot mysqld daemon during startup. | |
Set the default collation. | |
The transaction completion type. One of: NO_ | |
Use concurrent insert with MyISAM. One of: NEVER, AUTO, ALWAYS | |
The number of seconds the mysqld server is waiting for a connect packet before responding with 'Bad handshake' | |
Write error output on screen; don't remove the console window on windows. | |
Write core on errors. | |
Enable or disable cracklib_ | |
Path to a cracklib dictionary | |
Path to the database root directory | |
The DATE format (ignored) | |
The DATETIME format (ignored) | |
Long search depth for the two-step deadlock detection | |
Short search depth for the two-step deadlock detection | |
Long timeout for the two-step deadlock detection (in microseconds) | |
Short timeout for the two-step deadlock detection (in microseconds) | |
Built in DBUG debugger. Disabled in this build. | |
Option used by mysql-test for debugging and testing of replication. | |
Option used by mysql-test for debugging and testing of replication. | |
Used for debugging. Use at your own risk. | |
Set up signals usable for debugging. | |
Option used by mysql-test for debugging and testing of replication. | |
Disables system sync calls. Only for running tests or debugging! | |
Disable system thread alarm calls. Disabling it may be useful in debugging or testing, never do it in production | |
Option used by mysql-test for debugging and testing of replication. | |
Default flags for the regex library. Any combination of: DOTALL, DUPNAMES, EXTENDED, EXTRA, MULTILINE, UNGREEDY | |
The default storage engine for new tables | |
Set the default time zone. | |
The default storage engine for user-created temporary tables | |
The default week format used by WEEK() functions | |
Read this file after the global files are read. | |
Only read default options from the given file #. | |
Additionally read default groups with # appended as a suffix. | |
Specifies how MyISAM tables handles CREATE TABLE DELAY_ | |
After inserting delayed_ | |
How long a INSERT DELAYED thread should wait for INSERT statements before terminating | |
What 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 again | |
Load keys for des_ | |
Enable or disable DISKS plugin. One of: ON, OFF, FORCE (don't start if the plugin fails to load), FORCE_ | |
Precision of the result of '/' operator will be increased on that value | |
Enable or disable ed25519 plugin. One of: ON, OFF, FORCE (don't start if the plugin fails to load), FORCE_ | |
Encrypt binary logs (including relay logs) | |
Encrypt temporary on-disk tables (created as part of query execution) | |
Encrypt temporary files (created for filesort, binary log cache, etc) | |
Force the use of a storage engine for new tables | |
The 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. | |
Enable the event scheduler. Possible values are ON, OFF, and DISABLED (keep the event scheduler completely deactivated, it cannot be activated run-time) | |
The maximum number of rows a subquery may examine in order to be executed during optimization and used for constant optimization | |
If non-zero, binary logs will be purged after expire_ | |
This 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. The old behavior is deprecated. | |
Use system (external) locking (disabled by default). With this option enabled you can run myisamchk to test (not repair) tables while the MySQL server is running. Disable with --skip-external-locking. | |
The number of connections on extra-port | |
Extra port number to use for tcp connections in a one-thread-per-connection manner. 0 means don't use another port | |
Enable or disable FEEDBACK plugin. One of: ON, OFF, FORCE (don't start if the plugin fails to load), FORCE_ | |
Proxy server host:port. | |
Wait this many seconds before retrying a failed send. | |
Timeout (in seconds) for the sending the report. | |
Space separated URLs to send the feedback report to. | |
User specified string that will be included in the feedback report. | |
Enable or disable file_ | |
Encryption algorithm to use, aes_ | |
Key to encrypt / decrypt the keyfile. | |
Path and name of the key file. | |
Setup the server to use flashback. This enables binary log in row mode and will enable extra logging for DDL's needed by flashback feature | |
Flush MyISAM tables to disk between SQL commands | |
A dedicated thread is created to flush all tables at the given interval | |
List of operators for MATCH ... AGAINST ( ... IN BOOLEAN MODE) | |
The maximum length of the word to be included in a FULLTEXT index. Note: FULLTEXT indexes must be rebuilt after changing this variable | |
The minimum length of the word to be included in a FULLTEXT index. Note: FULLTEXT indexes must be rebuilt after changing this variable | |
Number of best matches to use for query expansion | |
Use stopwords from this file instead of built-in list | |
Set up signals usable for debugging. Deprecated, use --debug-gdb instead. | |
Log connections and queries to a table or log file. Defaults logging to a file 'hostname'.log or a table mysql.general_ | |
Log connections and queries to given file | |
Recognize command-line options by their unambiguos prefixes. (Defaults to on; use --skip-getopt-prefix-matching to disable.) | |
The maximum length of the result of function GROUP_ | |
Enable or disable gssapi plugin. One of: ON, OFF, FORCE (don't start if the plugin fails to load), FORCE_ | |
Keytab file path for Kerberos authentication | |
GSSAPI target name - service principal name for Kerberos authentication. | |
Used 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_ | |
When 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. | |
Enforce strict seq_ | |
Display this help and exit. | |
Number of bytes used for a histogram. If set to 0, no histograms are created by ANALYZE. | |
Specifies type of the histograms created by ANALYZE. Possible values are: SINGLE_ | |
How many host names should be cached to avoid resolving. (Automatically configured unless set explicitly) | |
Disable initialization of builtin InnoDB plugin | |
Specifies 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. | |
Command(s) that are executed for each new connection (unless the user has SUPER privilege) | |
Read SQL commands from this file at startup | |
Set the replication role. One of: MASTER, SLAVE | |
Command(s) that are executed by a slave server each time the SQL thread starts | |
Enable or disable InnoDB plugin. One of: ON, OFF, FORCE (don't start if the plugin fails to load), FORCE_ | |
Attempt flushing dirty pages to avoid IO bursts at checkpoints. (Defaults to on; use --skip-innodb-adaptive-flushing to disable.) | |
Percentage of log capacity below which no adaptive flushing happens. | |
Enable InnoDB adaptive hash index (enabled by default). Disable with --skip-innodb-adaptive-hash-index. (Defaults to on; use --skip-innodb-adaptive-hash-index to disable.) | |
It is an alias for innodb_ | |
Number of InnoDB Adaptive Hash Index Partitions (default 8) | |
The upper limit of the sleep delay in usec. Value of 0 disables it. | |
Data file autoextend increment in megabytes | |
The 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) | |
check if spaces needs scrubbing every innodb_ | |
Enable scrubbing of compressed data by background threads (same as encryption_ | |
scrub spaces that were last scrubbed longer than innodb_ | |
Enable scrubbing of uncompressed data by background threads (same as encryption_ | |
A 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). | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Size of a single memory chunk within each buffer pool instance for resizing buffer pool. Online buffer pool resizing happens at this granularity. 0 means disable resizing buffer pool. | |
Dump the buffer pool into a file named @@innodb_ | |
Trigger an immediate dump of the buffer pool into a file named @@innodb_ | |
Dump only the hottest N% of each buffer pool, defaults to 25 | |
Filename to/from which to dump/load the InnoDB buffer pool | |
Number of buffer pool instances, set to higher value on high-end machines to increase scalability | |
Abort a currently running load of the buffer pool | |
Load the buffer pool from a file named @@innodb_ | |
Trigger an immediate load of the buffer pool from a file named @@innodb_ | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
The size of the memory buffer InnoDB uses to cache data and indexes of its tables. | |
Enable or disable INNODB_ | |
Maximum on-disk size of change buffer in terms of percentage of the buffer pool. | |
Buffer changes to reduce random access: OFF, ON, inserting, deleting, changing, or purging. | |
The algorithm InnoDB uses for page checksumming. Possible values are CRC32 (hardware accelerated if the CPU supports it) write crc32, allow any of the other checksums to match when reading; STRICT_ | |
DEPRECATED. Use innodb_ | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions.. One of: LEGACY, HIGH_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable INFORMATION_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Helps in performance tuning in heavily concurrent environments. | |
Compression algorithm used on page compression. One of: none, zlib, lz4, lzo, lzma, bzip2, or snappy | |
Is compression the default for new tables | |
If 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 padding | |
Compression level used for zlib compression. 0 is no compression, 1 is fastest, 9 is best compression and default is 6. | |
Percentage of empty space on a data page that can be reserved to make the page compressible. | |
Number of times a thread is allowed to enter InnoDB within the same SQL query after it has once got the ticket | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions.. One of: assert, warn, salvage, deprecated | |
Path to individual files and their sizes. | |
The common part for InnoDB table spaces. | |
Enable/disable InnoDB deadlock detector (default ON). if set to OFF, deadlock detection is skipped, and we rely on innodb_ | |
Default encryption key id used for table encryption. | |
The default ROW FORMAT for all innodb tables created without explicit ROW_ | |
Enable/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. | |
A 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_ | |
How many records of space defragmentation should leave on the page. This variable, together with innodb_ | |
Do not defragment a single index more than this number of time per second.This controls the number of time defragmentation thread can request X_ | |
Number of pages considered at once when merging multiple pages to defragment | |
How many defragment stats changes there are before the stats are written to persistent storage. Set to 0 meaning disable defragment stats tracking. | |
Whether to disable OS system file cache for sort I/O | |
Enable InnoDB doublewrite buffer (enabled by default). Disable with --skip-innodb-doublewrite. (Defaults to on; use --skip-innodb-doublewrite to disable.) | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions.. One of: LEGACY, BACKOFF, DEPRECATED | |
Enable redo log encryption | |
Enable encryption for tables. Don't forget to enable --innodb-encrypt-log too. One of: OFF, ON, FORCE | |
Enrypt the temporary table data. | |
Key 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. | |
Use this many iops for background key rotation | |
Number of threads performing background key rotation and scrubbing | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Speeds up the shutdown process of the InnoDB storage engine. Possible values are 0, 1 (faster) or 2 (fastest - crash-like). | |
Maximum number of seconds that semaphore times out in InnoDB. | |
File format to use for new tables in .ibd files. | |
Whether to perform system file format check. (Defaults to on; use --skip-innodb-file-format-check to disable.) | |
The highest file format in the tablespace. | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Stores each InnoDB table to an .ibd file in the database dir. (Defaults to on; use --skip-innodb-file-per-table to disable.) | |
Percentage of B-tree page filled during bulk insert | |
Write and flush logs every (n) second. | |
Controls 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. | |
With which method to flush data. | |
Set 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 block | |
Allow IO bursts at the checkpoints ignoring io_ | |
Number of iterations over which the background flushing is averaged. | |
Force InnoDB to load metadata of corrupted table. | |
Do not allow to create table without primary key (off by default) | |
Helps to save your data in case the disk image of the database becomes corrupt. | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions.. One of: SYNC_ | |
FTS internal auxiliary table to be checked | |
Enable or disable INNODB_ | |
InnoDB Fulltext search cache size in bytes | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Whether to enable additional FTS diagnostic printout | |
Create FTS index with stopword. (Defaults to on; use --skip-innodb-ft-enable-stopword to disable.) | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
InnoDB Fulltext search maximum token size in characters | |
InnoDB Fulltext search minimum token size in characters | |
InnoDB Fulltext search number of words to optimize for each optimize table call | |
InnoDB Fulltext search query result cache limit in bytes | |
The user supplied stopword table name. | |
InnoDB Fulltext search parallel sort degree, will round up to nearest power of 2 number | |
Total memory allocated for InnoDB Fulltext Search cache | |
User supplied stopword table name, effective in the session level. | |
DEPRECATED. This setting has no effect. | |
Enable scrubbing of data | |
DEPRECATED. This setting has no effect. | |
Number of IOPs the server can do. Tunes the background IO rate | |
Limit to which innodb_ | |
No effect for this build. | |
Support large index prefix length of REC_ | |
The algorithm Innodb uses for deciding which locks to grant next when a lock is released. Possible values are FCFS grant the locks in First-Come-First-Served order; VATS use the Variance-Aware-Transaction-Scheduling algorithm, which uses an Eldest-Transaction-First heuristic.. One of: fcfs, vats | |
Timeout in seconds an InnoDB transaction may wait for a lock before being rolled back. Values above 100000000 disable the timeout. | |
Enable or disable INNODB_ | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Enable or disable INNODB_ | |
DEPRECATED. This option may be removed in future releases. Please use READ COMMITTED transaction isolation level instead. Force InnoDB to not use next-key locking, to use only row-level locking. | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
The size of the buffer which InnoDB uses to write log to the log files on disk. | |
Deprecated and translated to innodb_ | |
DEPRECATED. Whether to require checksums for InnoDB redo log blocks. (Defaults to on; use --skip-innodb-log-checksums to disable.) | |
Enables/disables the logging of entire compressed page images. InnoDB logs the compressed pages to prevent corruption if the zlib compression algorithm changes. When turned OFF, InnoDB will assume that the zlib compression algorithm doesn't change. (Defaults to on; use --skip-innodb-log-compressed-pages to disable.) | |
Size of each log file in a log group. | |
Number of log files in the log group. InnoDB writes to the files in a circular fashion. | |
Path to InnoDB log files. | |
DEPRECATED. Ignored in MariaDB 10.5. Reduce redo logging when natively creating indexes or rebuilding tables. Enabling this may slow down backup and cause delay due to page flushing. | |
Redo log write ahead unit size to avoid read-on-write, it should match the OS cache block IO size | |
How deep to scan LRU to keep it clean | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Percentage of dirty pages allowed in bufferpool. | |
Percentage of dirty pages at which flushing kicks in. | |
Desired maximum length of the purge queue (0 = no limit) | |
Maximum delay of user threads in micro-seconds | |
Wait until History list length is below the specified limit | |
Desired maximum UNDO tablespace size in bytes | |
Enable or disable INNODB_ | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Turn off a monitor counter | |
Turn on a monitor counter | |
Reset a monitor counter | |
Reset all values for a monitor counter | |
DEPRECATED. Number of multi-threaded flush threads | |
Enable or disable INNODB_ | |
Percentage of the buffer pool to reserve for 'old' blocks. | |
Move 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. | |
Maximum modification log file size for online index creation | |
How many files at the maximum InnoDB keeps open at the same time. | |
Only optimize the Fulltext index of the table | |
Page cleaner threads can be from 1 to 64. Default is 4. | |
Page size to use for all InnoDB tablespaces. | |
Enable prefix optimization to sometimes avoid cluster index lookups. | |
Print all deadlocks to MariaDB error log (off by default) | |
Number of UNDO log pages to purge in one batch from the history list. | |
Dictates rate at which UNDO records are purged. Value N means purge rollback segment(s) on every Nth iteration of purge invocation | |
Purge threads can be from 1 to 32. Default is 4. | |
Whether to use read ahead for random access within an extent. | |
Number of pages that must be accessed sequentially for InnoDB to trigger a readahead. | |
Number of background read I/O threads in InnoDB. | |
Start InnoDB in read only mode (off by default) | |
Replication thread delay (ms) on the slave server if innodb_ | |
Roll back the complete transaction on lock wait timeout, for 4.x compatibility (disabled by default) | |
Number of undo logs to use (deprecated). | |
Use backup-safe TRUNCATE TABLE and crash-safe RENAME (incompatible with older MariaDB 10.2; ON by default) (Defaults to on; use --skip-innodb-safe-truncate to disable.) | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Enable background redo log (ib_ | |
Background redo log scrubbing speed in bytes/sec | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Memory buffer size for index creation | |
Maximum delay between polling for a spin lock (4 by default) | |
InnoDB 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) (Defaults to on; use --skip-innodb-stats-auto-recalc to disable.) | |
Include delete marked records when calculating persistent statistics | |
Specifies how InnoDB index statistics collection code should treat NULLs. Possible values are NULLS_ | |
The number of rows modified before we calculate new statistics (default 0 = current limits) | |
Enable statistics gathering for metadata commands such as SHOW TABLE STATUS for tables that use transient statistics (off by default) | |
InnoDB persistent statistics enabled for all tables unless overridden at table level (Defaults to on; use --skip-innodb-stats-persistent to disable.) | |
The number of leaf index pages to sample when calculating persistent statistics (by ANALYZE, default 20) | |
Deprecated, use innodb_ | |
Enable traditional statistic calculation based on number of configured pages (default true) (Defaults to on; use --skip-innodb-stats-traditional to disable.) | |
The number of leaf index pages to sample when calculating transient statistics (if persistent statistics are not used, default 8) | |
Enable SHOW ENGINE INNODB STATUS output in the innodb_ | |
Enable InnoDB monitor output to the error log. | |
Enable InnoDB lock monitor output to the error log. Requires innodb_ | |
Use strict mode when evaluating create options. (Defaults to on; use --skip-innodb-strict-mode to disable.) | |
Enable InnoDB support for the XA two-phase commit (Defaults to on; use --skip-innodb-support-xa to disable.) | |
Size of the mutex/lock wait array. | |
Count of spin-loop rounds in InnoDB mutexes (30 by default) | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Enable InnoDB locking in LOCK TABLES (Defaults to on; use --skip-innodb-table-locks to disable.) | |
Enable or disable INNODB_ | |
Enable or disable INNODB_ | |
Path to files and their sizes making temp-tablespace. | |
Helps in performance tuning in heavily concurrent environments. Sets the maximum number of threads allowed inside InnoDB. Value 0 will disable the thread throttling. | |
Time of innodb thread sleeping before joining InnoDB queue (usec). Value 0 disable a sleep | |
Directory for temporary non-tablespace files. | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Enable or disable INNODB_ | |
Directory where undo tablespace files live, this path can be absolute. | |
Enable or Disable Truncate of UNDO tablespace. | |
Number of undo logs to use. | |
Number of undo tablespaces to use. | |
Enable atomic writes, instead of using the doublewrite buffer, for files on devices that supports atomic writes. This option only works on Linux with either FusionIO cards using the directFS filesystem or with Shannon cards using any file system. (Defaults to on; use --skip-innodb-use-atomic-writes to disable.) | |
Use posix_ | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
DEPRECATED. Use multi-threaded flush. Default FALSE. | |
Use native AIO if supported on this platform. (Defaults to on; use --skip-innodb-use-native-aio to disable.) | |
Deprecated and ignored; only exists to allow easier upgrade from earlier XtraDB versions. | |
Deallocate (punch_ | |
Number of background write I/O threads in InnoDB. | |
The number of seconds the server waits for activity on an interactive connection before closing it | |
The size of the buffer that is used for joins | |
The limit of the space for all join buffers used by a query | |
Controls what join operations can be executed with join buffers. Odd numbers are used for plain join buffers while even numbers are used for linked buffers | |
Don't overwrite stale .MYD and .MYI even if no directory is specified | |
The size in bytes of MyISAM key cache, which is the buffer used for MyISAM index blocks. | |
This 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 cache | |
The default size of key cache blocks | |
The minimum percentage of warm blocks in key cache | |
Number 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. | |
The number of segments in a key cache | |
Client error messages in given language. May be given as a full path. Deprecated. Use --lc-messages-dir instead. | |
Enable support for large pages | |
Set the language used for the error messages. | |
Directory where error messages are | |
Set the language used for the month names and the days of the week. | |
Enable LOAD DATA LOCAL INFILE (Defaults to on; use --skip-local-infile to disable.) | |
Enable or disable LOCALES plugin. One of: ON, OFF, FORCE (don't start if the plugin fails to load), FORCE_ | |
Timeout in seconds to wait for a lock before returning an error. | |
Basename for all log files and the .pid file. This sets all log file names at once (in 'datadir') and is normally the only option you need for specifying log files. Sets names for --log-bin, --log-bin-index, --relay-log, --relay-log-index, --general-log-file, --log-slow-query-log-file, --log-error-file, and --pid-file | |
Log update queries in binary format. Optional argument should be name for binary log. If not given 'datadir'/'log-basename'-bin or 'datadir'/mysql-bin will be used (the later if --log-basename is not specified). We strongly recommend to use either --log-basename or specify a filename to ensure that replication doesn't stop if the real hostname of the computer changes. | |
Whether the binary log can be compressed | |
Minimum length of sql statement(in statement mode) or record(in row mode)that can be compressed. | |
File that holds the names for last binary log files. | |
If 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 TRUE | |
Log 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 used | |
Log all MyISAM changes to file. | |
How logs should be written. Any combination of: NONE, FILE, TABLE | |
Log queries that are executed without benefit of any index to the slow log if it is open | |
Don't log extra information to update and slow-query logs. | |
Tells 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. | |
Log slow OPTIMIZE, ANALYZE, ALTER and other administrative statements to the slow log if it is open. (Defaults to on; use --skip-log-slow-admin-statements to disable.) | |
Log only certain types of queries. Any combination of: admin, filesort, filesort_ | |
Write 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 logging | |
Log slow statements executed by slave thread to the slow log if it is open. (Defaults to on; use --skip-log-slow-slave-statements to disable.) | |
Verbosity level for the slow log. Any combination of: innodb, query_ | |
Path to transaction coordinator log (used for transactions that affect more than one storage engine, when binary log is disabled). | |
Size of transaction coordinator log. | |
Log some not critical warnings to the general log file.Value can be between 0 and 11. Higher values mean more verbosity | |
Log all queries that have taken more than long_ | |
INSERT/DELETE/UPDATE has lower priority than selects | |
If 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 system | |
The location and name of the file that remembers the master and where the I/O replication thread is in the master's binlogs. Defaults to master.info | |
The number of tries the slave will make to connect to the master before giving up. | |
Force checksum verification of logged events in the binary log before sending them to slaves or printing them in the output of SHOW BINLOG EVENTS | |
Max packet length to send to or receive from the server | |
Sets the total size of the transactional cache | |
Binary log will be rotated automatically when the size exceeds this value. | |
Sets the total size of the statement cache | |
If there is more than this number of interrupted connections from a host this host will be blocked from further connections | |
Maximum number of clients allowed to connect concurrently. | |
Don't start more than this number of threads to handle INSERT DELAYED statements. If set to zero INSERT DELAYED will be not used | |
Maximum length considered for digest text. | |
Max number of errors/warnings to store for a statement | |
Don't allow creation of heap tables bigger than this | |
Joins that are probably going to read more than max_ | |
Max number of bytes in sorted records | |
The maximum BLOB length to send to server from mysql_ | |
Maximum number of prepared statements in the server | |
Maximum number of iterations when executing recursive queries | |
relay log will be rotated automatically when the size exceeds this value. If 0 at startup, it's set to max_ | |
Limit assumed max number of seeks when looking up rows based on a key | |
Amount of memory a single user session is allowed to allocate. This limits the value of the session variable MEM_ | |
The number of bytes to use when sorting BLOB or TEXT values (only the first max_ | |
Maximum stored procedure recursion depth | |
A query that has taken more than max_ | |
Unused, will be removed. | |
The maximum number of active connections for a single user (0 = no limit) | |
After this many write locks, allow some read locks to run in between | |
Lock mysqld in memory. | |
Enable or disable METADATA_ | |
Unused | |
Unused | |
Don't write queries to slow log that examine fewer rows than that | |
Size of buffer to use when using MRR with range access | |
Ignored. Use mrr_ | |
Block size to be used for MyISAM index pages | |
Default pointer size to be used for MyISAM tables | |
Don't use the fast sort index method to created index if the temporary file would get bigger than this | |
Restricts the total memory used for memory mapping of MySQL tables | |
Specifies how corrupted tables should be automatically repaired. Any combination of: DEFAULT, BACKUP, FORCE, QUICK, BACKUP_ | |
If 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 repair | |
The buffer that is allocated when sorting the index when doing a REPAIR or when creating indexes with CREATE INDEX or ALTER TABLE | |
Specifies how MyISAM index statistics collection code should treat NULLs. Possible values of name are NULLS_ | |
Use memory mapping for reading and writing MyISAM tables | |
Use MySQL-5.6 (instead of MariaDB-5.3) format for TIME, DATETIME, TIMESTAMP columns. (Defaults to on; use --skip-mysql56-temporal-format to disable.) | |
Buffer length for TCP/IP and socket communication | |
Number of seconds to wait for more data from a connection before aborting the read | |
If a read on a communication port is interrupted, retry this many times before giving up | |
Number of seconds to wait for a block to be written to a connection before aborting the write | |
Don't read default options from any option file. | |
Use compatible behavior from previous MariaDB version. See also --old-mode | |
Use old, non-optimized alter table | |
Used to emulate old behavior from earlier MariaDB or MySQL versions. Any combination of: NO_ | |
Use old password encryption method (needed for 4.0 and older clients) | |
Enable old-style user limits (before 5.0.3, user resources were counted per each user+host vs. per account). | |
If 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_ | |
Controls 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 number of retrieved rows | |
Maximum 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. | |
Controls number of record samples to check condition selectivity | |
Fine-tune the optimizer behavior. Takes a comma-separated list of option=value pairs, where value is on, off, or default, and options are: index_ | |
Controls 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 samples | |
Enable or disable pam plugin. One of: ON, OFF, FORCE (don't start if the plugin fails to load), FORCE_ | |
Use mysql_ | |
Compare usernames case insensitively to work around pam_ | |
Enable or disable partition plugin. One of: ON, OFF, FORCE (don't start if the plugin fails to load), FORCE_ | |
Enable the performance schema. | |
Maximum number of instrumented user@host accounts. Use 0 to disable, -1 for automated sizing. | |
Default startup value for the events_ | |
Default startup value for the events_ | |
Default startup value for the events_ | |
Default startup value for the events_ | |
Default startup value for the events_ | |
--performance-schema-consumer-events-statements-history-long | Default startup value for the events_ |
Default startup value for the events_ | |
Default startup value for the events_ | |
Default startup value for the events_ | |
Default startup value for the global_ | |
Default startup value for the statements_ | |
Default startup value for the thread_ | |
Size of the statement digest. Use 0 to disable, -1 for automated sizing. | |
Number of rows in EVENTS_ | |
Number of rows per thread in EVENTS_ | |
Number of rows in EVENTS_ | |
Number of rows per thread in EVENTS_ | |
Number of rows in EVENTS_ | |
Number of rows per thread in EVENTS_ | |
Maximum number of instrumented hosts. Use 0 to disable, -1 for automated sizing. | |
Default startup value for a performance schema instrument. | |
Maximum number of condition instruments. | |
Maximum number of instrumented condition objects. Use 0 to disable, -1 for automated sizing. | |
Maximum length considered for digest text, when stored in performance_ | |
Maximum number of file instruments. | |
Maximum number of opened instrumented files. | |
Maximum number of instrumented files. Use 0 to disable, -1 for automated sizing. | |
Maximum number of mutex instruments. | |
Maximum number of instrumented MUTEX objects. Use 0 to disable, -1 for automated sizing. | |
Maximum number of rwlock instruments. | |
Maximum number of instrumented RWLOCK objects. Use 0 to disable, -1 for automated sizing. | |
Maximum number of socket instruments. | |
Maximum number of opened instrumented sockets. Use 0 to disable, -1 for automated sizing. | |
Maximum number of stage instruments. | |
Maximum number of statement instruments. | |
Maximum number of opened instrumented tables. Use 0 to disable, -1 for automated sizing. | |
Maximum number of instrumented tables. Use 0 to disable, -1 for automated sizing. | |
Maximum number of thread instruments. | |
Maximum number of instrumented threads. Use 0 to disable, -1 for automated sizing. | |
Size of session attribute string buffer per thread. Use 0 to disable, -1 for automated sizing. | |
Maximum number of rows in SETUP_ | |
Maximum number of rows in SETUP_ | |
Maximum number of instrumented users. Use 0 to disable, -1 for automated sizing. | |
Pid file used by safe_ | |
Directory for plugins | |
Semicolon-separated list of plugins to load, where each plugin is specified as ether a plugin_ | |
Optional semicolon-separated list of plugins to load. This option adds to the list specified by --plugin-load in an incremental way. It can be specified many times, adding more plugins every time. | |
The lowest desirable plugin maturity. Plugins less mature than that will not be installed or loaded. One of: unknown, experimental, alpha, beta, gamma, stable | |
Port number to use for connection or 0 to default to, my.cnf, $MYSQL_ | |
Maximum time in seconds to wait for the port to become free. (Default: No wait). | |
The size of the buffer that is allocated when preloading indexes | |
Print the program argument list and exit. | |
Number of statements about which profiling information is maintained. If set to 0, no profiles are stored. See SHOW PROFILES. | |
Seconds between sending progress reports to the client for time-consuming statements. Set to 0 to disable progress reporting. | |
Allocation block size for query parsing and execution | |
Don't cache results that are bigger than this | |
The minimum size for blocks allocated by the query cache | |
The memory allocated to store results from old queries | |
Strip all comments from a query before storing it in the query cache | |
OFF = Don't cache or retrieve results. ON = Cache all results except SELECT SQL_ | |
Invalidate queries in query cache on LOCK for write | |
Persistent buffer for query parsing and execution | |
Enable or disable QUERY_ | |
Enable or disable QUERY_ | |
Select base of log for query_ | |
Enable or disable query response time statisics collecting | |
Allocation block size for storing ranges during optimization | |
Maximum speed(KB/s) to read binlog from master (0 = no limit) | |
Each 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 value | |
Make all non-temporary tables read-only, with the exception for replication (slave) threads and users with the SUPER privilege | |
When reading rows in sorted order after a sort, the rows are read through this buffer to avoid a disk seeks | |
The location and name to use for relay logs. | |
The location and name to use for the file that keeps a list of the last relay logs | |
The location and name of the file that remembers where the SQL replication thread is in the relay logs. | |
if disabled - do not purge relay logs. if enabled - purge them as soon as they are no more needed. (Defaults to on; use --skip-relay-log-purge to disable.) | |
Enables 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. | |
Maximum space to use for all relay logs | |
Tells the slave to write annotate rows events received from the master to its own binary log. Ignored if log_ | |
Tells the slave thread to restrict replication to the specified database. To specify more than one database, use the directive multiple times, once for each database. Note that this will only work if you do not use cross-database queries such as UPDATE some_ | |
Tells the slave thread to restrict replication to the specified table. To specify more than one table, use the directive multiple times, once for each table. This will work for cross-database updates, in contrast to replicate-do-db. | |
Whether the slave should replicate events that were created with @@skip_ | |
Tells the slave thread to not replicate to the specified database. To specify more than one database to ignore, use the directive multiple times, once for each database. This option will not work if you use cross database updates. If you need cross database updates to work, make sure you have 3.23.28 or later, and use replicate-wild-ignore-table=db_ | |
Tells the slave thread to not replicate to the specified table. To specify more than one table to ignore, use the directive multiple times, once for each table. This will work for cross-database updates, in contrast to replicate-ignore-db. | |
Updates to a database with a different name than the original. Example: replicate-rewrite-db=master_ | |
In replication, if set to 1, do not skip events having our server id. Default value is 0 (to break infinite loops in circular replication). Can't be set to 1 if --log-slave-updates is used. | |
Tells the slave thread to restrict replication to the tables that match the specified wildcard pattern. To specify more than one table, use the directive multiple times, once for each table. This will work for cross-database updates. Example: replicate-wild-do-table=foo%.bar% will replicate only updates to tables in all databases that start with foo and whose table names start with bar. | |
Tells the slave thread to not replicate to the tables that match the given wildcard pattern. To specify more than one table to ignore, use the directive multiple times, once for each table. This will work for cross-database updates. Example: replicate-wild-ignore-table=foo%.bar% will not do updates to tables in databases that start with foo and whose table names start with bar. | |
Hostname 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 hosts | |
The account password of the slave to be reported to the master during slave registration | |
Port 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 unset | |
The account user name of the slave to be reported to the master during slave registration | |
Enable or disable ROCKSDB plugin. One of: ON, OFF, FORCE (don't start if the plugin fails to load), FORCE_ | |
DBOptions::access_ | |
DBOptions::advise_ | |
DBOptions::allow_ | |
DBOptions::allow_ | |
DBOptions::allow_ | |
Allow server still to start successfully even if RocksDB corruption is detected. | |
Deleting rows by primary key lookup, without reading rows (Blind Deletes). Blind delete is disabled if the table has secondary key | |
block_ | |
BlockBasedTableOptions::block_ | |
BlockBasedTableOptions::block_ | |
BlockBasedTableOptions::block_ | |
Use bulk-load mode for inserts. This disables unique_ | |
Allow bulk loading of sk keys during bulk-load. Can be changed only when bulk load is disabled. | |
Allow unsorted input during bulk-load. Can be changed only when bulk load is disabled. | |
Max #records in a batch for bulk-load mode | |
DBOptions::bytes_ | |
Include RocksDB block cache content in core dump. (Defaults to on; use --skip-rocksdb-cache-dump to disable.) | |
Specify the size of block cache high-pri pool | |
BlockBasedTableOptions::cache_ | |
cache_ | |
Enable or disable ROCKSDB_ | |
Enable or disable ROCKSDB_ | |
How many percentages of rows to be checksummed | |
Enables collecting SST file properties on each flush (Defaults to on; use --skip-rocksdb-collect-sst-properties to disable.) | |
Commit rows implicitly every rocksdb_ | |
TransactionOptions::commit_ | |
Compact column family | |
DBOptions::compaction_ | |
RocksDB will trigger compaction for the file if it has more than this number sequential deletes per window | |
Counting SingleDelete as rocksdb_ | |
Minimum file size required for compaction_ | |
Size of the window for counting rocksdb_ | |
Enable or disable ROCKSDB_ | |
Checkpoint directory | |
DBOptions::create_ | |
DBOptions::create_ | |
RocksDB data directory | |
DBOptions::db_ | |
Enable or disable ROCKSDB_ | |
Enable or disable ROCKSDB_ | |
Enable or disable ROCKSDB_ | |
Enables deadlock detection | |
Number of transactions deadlock detection will traverse through before assuming deadlock | |
For debugging purposes only. Sleeping specified seconds for simulating long running compactions. | |
Test only to override rocksdb estimates of table size in a memtable | |
In case if cardinality is zero, overrides it with some value (Defaults to on; use --skip-rocksdb-debug-optimizer-no-zero-cardinality to disable.) | |
For debugging purposes only. If true, compaction filtering will not occur on PK TTL data. This variable is a no-op in non-debug builds. | |
For debugging purposes only. Overrides the TTL read filtering time to time + debug_ | |
For debugging purposes only. Overrides the TTL of records to now() + debug_ | |
For debugging purposes only. Sets the snapshot during compaction to now() + debug_ | |
default cf options for RocksDB | |
DBOptions::delayed_ | |
Delete column family | |
DBOptions::delete_ | |
Enable two phase commit for MyRocks (Defaults to on; use --skip-rocksdb-enable-2pc to disable.) | |
Enables using SstFileWriter for bulk loading (Defaults to on; use --skip-rocksdb-enable-bulk-load-api to disable.) | |
Whether to enable optimization where we cache the read from a failed insertion attempt in INSERT ON DUPLICATE KEY UPDATE (Defaults to on; use --skip-rocksdb-enable-insert-with-update-caching to disable.) | |
DBOptions::enable_ | |
Enable expired TTL records to be dropped during compaction. (Defaults to on; use --skip-rocksdb-enable-ttl to disable.) | |
For tables with TTL, expired records are skipped/filtered out during processing and in query results. Disabling this will allow these records to be seen, but as a result rows may disappear in the middle of transactions as they are dropped during compaction. Use with caution. (Defaults to on; use --skip-rocksdb-enable-ttl-read-filtering to disable.) | |
DBOptions::enable_ | |
DBOptions::error_ | |
Raise an error instead of warning if a sub-optimal collation is used (Defaults to on; use --skip-rocksdb-error-on-suboptimal-collation to disable.) | |
Sync on transaction commit. Similar to innodb_ | |
Force to always compute memtable stats (Defaults to on; use --skip-rocksdb-force-compute-memtable-stats to disable.) | |
Time in usecs to cache memtable estimates | |
Acts similar to force_ | |
Forces memstore flush which may block all write requests so be careful | |
Used to override the result of records_ | |
Git revision of the RocksDB library used by MyRocks | |
Enable or disable ROCKSDB_ | |
BlockBasedTableOptions::hash_ | |
Ignore MyRocks' data directory errors. (CAUTION: Use only to start the server and perform repairs. Do NOT use for regular operation) | |
Enable ignoring unknown options passed to RocksDB (Defaults to on; use --skip-rocksdb-ignore-unknown-options to disable.) | |
Enable or disable ROCKSDB_ | |
BlockBasedTableOptions::index_ | |
Filter level for info logs to be written mysqld error log. Valid values include 'debug_ | |
Timeout for experimental I/O watchdog. | |
DBOptions::is_ | |
DBOptions::keep_ | |
Support large index prefix length of 3072 bytes. If off, the maximum index prefix length is 767. | |
Take and hold locks on rows that are scanned but not updated | |
Number of seconds to wait for lock | |
Enable or disable ROCKSDB_ | |
DBOptions::log_ | |
DBOptions::manifest_ | |
How many rocksdb threads to run for manual compactions | |
DBOptions::manual_ | |
Skipping holding any lock on row access. Not effective on slave. | |
DBOptions::max_ | |
Maximum number of recent deadlocks to store | |
DBOptions::max_ | |
DBOptions::max_ | |
Maximum number of pending + ongoing number of manual compactions. | |
DBOptions::max_ | |
Maximum number of locks a transaction can have | |
DBOptions::max_ | |
DBOptions::max_ | |
Size to allocate for merge sort buffers written out to disk during inplace index creation. | |
Size that we have to work with during combine (reading from disk) phase of external sort during fast index creation. | |
Fast index creation creates a large tmp file on disk during index creation. Removing this large file all at once when index creation is complete can cause trim stalls on Flash. This variable specifies a duration to sleep (in milliseconds) between calling chsize() to truncate the file in chunks. The chunk size is the same as merge_ | |
DBOptions::new_ | |
BlockBasedTableOptions::no_ | |
option overrides per cf for RocksDB | |
DBOptions::paranoid_ | |
Disable all rocksdb background operations | |
Enable or disable ROCKSDB_ | |
Enable or disable ROCKSDB_ | |
Perf Context Level for rocksdb internal timer stat collection | |
Path for BlockBasedTableOptions::persistent_ | |
Size of cache in MB for BlockBasedTableOptions::persistent_ | |
pin_ | |
Logging queries that got snapshot conflict errors into *.err log | |
DBOptions::rate_ | |
Used to override the result of records_ | |
Remove mariabackup checkpoint | |
Reset the RocksDB internal statistics without restarting the DB. | |
Whether to roll back the complete transaction or a single statement on lock wait timeout (a single statement by default) | |
Sets a number of seconds to wait between optimizer stats recomputation. Only changed indexes will be refreshed. | |
Wake up drop index thread | |
Simulated cache size for RocksDB | |
Skip using bloom filter for reads | |
Skip filling block cache on read requests | |
Skip unique constraint checking for the specified tables | |
DBOptions::sst_ | |
Enable or disable ROCKSDB_ | |
DBOptions::stats_ | |
Statistics Level for RocksDB. Default is 0 (kExceptHistogramOrTimers) | |
The number of indexes per second to recalculate statistics for. 0 to disable background recalculation. | |
Include checksums when writing index/table records | |
Enforce case sensitive collation for MyRocks indexes (Defaults to on; use --skip-rocksdb-strict-collation-check to disable.) | |
List of tables (using regex) that are excluded from the case sensitive collation enforcement | |
DBOptions::table_ | |
Percentage of entries to sample when collecting statistics about table properties. Specify either 0 to sample everything or percentage [1..100]. By default 10% of entries are sampled. | |
Directory for temporary files during DDL operations. | |
Generate trace output in the log for each call to the SstFileWriter | |
Enable or disable ROCKSDB_ | |
DBOptions::two_ | |
Allowing statement based binary logging which may break consistency | |
Option updates per column family for RocksDB | |
DBOptions::use_ | |
Use ClockCache instead of default LRUCache for RocksDB | |
DBOptions::use_ | |
DBOptions::use_ | |
DBOptions::use_ | |
Verify all .frm files match all RocksDB tables (0 means no verification, 1 means verify and fail on error, and 2 means verify but continue | |
Verify checksums when reading index/table records | |
DBOptions::wal_ | |
DBOptions::wal_ | |
DBOptions::wal_ | |
DBOptions::WAL_ | |
DBOptions::WAL_ | |
BlockBasedTableOptions::whole_ | |
Maximum size of write batch in bytes. 0 means no limit. | |
WriteOptions::disableWAL for RocksDB | |
WriteOptions::ignore_ | |
DBOptions::write_ | |
The size of the buffers used [NOT] IN evaluation via partial matching | |
Skip some optimize stages (for testing). Deprecated. | |
Don't allow new user creation by the user who has no write privileges to the mysql.user table. | |
Disallow authentication for accounts that have old (pre-4.1) passwords (Defaults to on; use --skip-secure-auth to disable.) | |
Limit LOAD DATA, SELECT ... OUTFILE, and LOAD_ | |
Enable or disable SEQUENCE plugin. One of: ON, OFF, FORCE (don't start if the plugin fails to load), FORCE_ | |
Enable or disable SERVER_ | |
Specifies the set of events to monitor. Can be CONNECT, QUERY, TABLE, QUERY_ | |
Comma separated list of users to exclude from auditing. | |
Path to the log file. | |
Force log rotation now. | |
Maximum size of the log to start the rotation. | |
Number of rotations before log is removed. | |
Comma separated list of users to monitor. | |
Turn on/off the logging. | |
Auditing mode. | |
Desired output type. Possible values - 'syslog', 'file' or 'null' as no output. | |
Limit on the length of the query string in a record. | |
The 'facility' parameter of the SYSLOG record. The default is LOG_ | |
The SYSLOG identifier - the beginning of each SYSLOG record. | |
The <info> string to be added to the SYSLOG record. | |
The 'priority' parameter of the SYSLOG record. The default is LOG_ | |
Uniquely identifies the server instance in the community of replication partners | |
Track changes to the default schema. (Defaults to on; use --skip-session-track-schema to disable.) | |
Track changes to the session state. | |
Track changes in registered system variables. For compatibility with MySQL defaults this variable should be set to "autocommit, character_ | |
Track 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 withthe same characteristics (isolation level, read only/read write,snapshot - but not any work done / data modified within the transaction). | |
Show user and password in SHOW SLAVE HOSTS on this master. | |
Don't print [Note] to the error log during startup. | |
Enable or disable simple_ | |
Minimal required number of digits | |
Minimal required number of letters of the same letter case.This limit is applied separately to upper-case and lower-case letters | |
Minimal required password length | |
Minimal required number of other (not letters or digits) characters | |
Deprecated option; Exist only for compatibility with old my.cnf files | |
Start without grant tables. This gives all users FULL ACCESS to all tables. | |
Don't cache host names. | |
Don't resolve hostnames. All hostnames are IP's or 'localhost'. | |
Don't allow connection with TCP/IP | |
Don't allow 'SHOW DATABASE' commands | |
If set, slave is not autostarted. | |
Use compression on master/slave protocol | |
How 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. | |
Maximum 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_ | |
How 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. | |
The location where the slave should put its temporary files when replicating a LOAD DATA INFILE command | |
The maximum packet length to sent successfully from the master to slave. | |
Number of seconds to wait for more data from any master/slave connection before aborting the read | |
Limit 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. | |
Controls 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. | |
If 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 slave | |
Alias for slave_ | |
Modes for how triggers in row-base replication on slave side will be executed. Legal values are NO (default), YES and LOGGING. 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. | |
Tells the slave thread to continue replication when a query event returns an error from the provided list | |
Force 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 log (Defaults to on; use --skip-slave-sql-verify-checksum to disable.) | |
Number of times the slave SQL thread will retry a transaction in case it failed with a deadlock or elapsed lock wait timeout, before giving up and stopping | |
Configures how data type conversions are handled when row-based binary log events are applied. When set to the empty string, data types must match exactly, and no conversions are allowed. | |
If creating the thread takes longer than this value (in seconds), the Slow_ | |
Log slow queries to a table or log file. Defaults logging to a file 'hostname'-slow.log or a table mysql.slow_ | |
Log slow queries to given log file. Defaults logging to 'hostname'-slow.log. Must be enabled to activate other slow log options | |
Socket file to use for connection | |
Each thread that needs to do a sort allocates a buffer of this size | |
Enable or disable SPIDER plugin. One of: ON, OFF, FORCE (don't start if the plugin fails to load), FORCE_ | |
Enable or disable SPIDER_ | |
Mode of auto increment. | |
Number of first read records when background search is used | |
Mode of background search | |
Number of second read records when background search is used | |
Temporary table's engine for BKA | |
Mode of BKA for Spider | |
The type of temporary table name for bka | |
Index block size | |
Bulk insert size | |
The mode of bulk updating and deleting | |
Bulk update size | |
Read casually if it is possible | |
Connection recycle mode | |
Strict connection recycle | |
Return same error code until interval passes if connection is failed | |
Use mutex at connecting | |
Connect retry count | |
Connect retry interval | |
Wait timeout of connecting to remote server | |
Mode of cardinality confirmation at background. | |
Interval of cardinality confirmation.(second) | |
Mode of cardinality confirmation. | |
Cardinality synchronization in partitioned table. | |
Type of cardinality calculation. | |
Weight coefficient to calculate effectiveness of index from cardinality of column. | |
The type of delete_ | |
Execute "REPLACE" and "INSERT IGNORE" on remote server and avoid duplicate check on local server | |
Send 'ORDER BY' and 'LIMIT' to remote server directly | |
dry access | |
Read error mode if error | |
Write error mode if error | |
Number of first read records | |
Force prepare, commit, rollback mode | |
Log query to remote server in general log | |
Initial sql string alloc size | |
Internal limit | |
Internal offset | |
Execute optimize to remote server | |
Execute optimize to remote server with local | |
Manage SQL_ | |
Unlock tables for using connections in sql | |
Use inner xa transaction | |
The type of internal_ | |
Action of inner xa and snapshot both using | |
Remote server transmission when lock tables is executed at local | |
Exchange select lock to lock tables | |
Log sql at logging result errors | |
Log error from remote server in error log | |
Use low memory mode when SQL(SELECT) internally issued to a remote server is executed and get a result list | |
Max columns for order by | |
Sprit read mode for multi range | |
Wait timeout of receiving data from remote server | |
Wait timeout of sending data to remote server | |
Ping interval at transaction start | |
The retrieval result from a remote server is acquired by acquisition one by one | |
Number of records in a page when acquisition one by one | |
Read only | |
Set remote access charset at connecting for improvement performance of connection if you know | |
Set autocommit mode at connecting for improvement performance of connection if you know | |
Set remote database at connecting for improvement performance of connection if you know | |
Set SQL_ | |
Set remote time_ | |
Set transaction isolation level at connecting for improvement performance of connection if you know | |
Reset sql string alloc after execute | |
Permit one to link same server's table | |
Number of second read records | |
The mode of using columns at select clause | |
Lock for select with update | |
Use offset and limit parameter in SQL for split_ | |
The limit value for semi_ | |
Table lock during execute a sql | |
Use different connection if semi_ | |
Take a transaction during execute a sql (Defaults to on; use --skip-spider-semi-trx to disable.) | |
Transaction isolation level during execute a sql | |
Skip generating internal default condition | |
Number of rows at a select | |
Mode of table state confirmation at background. | |
Interval of table state confirmation.(second) | |
Mode of table state confirmation. | |
Table state synchronization in partitioned table. | |
XA support (Defaults to on; use --skip-spider-support-xa to disable.) | |
Sync autocommit (Defaults to on; use --skip-spider-sync-autocommit to disable.) | |
Sync time_ | |
Sync transaction isolation level (Defaults to on; use --skip-spider-sync-trx-isolation to disable.) | |
Return same error code until interval passes if table init is failed | |
The interval time between bulk insert and next bulk insert at coping | |
The number of rows inserted with bulk insert of one time at coping | |
Number of rows for bulk inserting | |
Table loop mode if the number of tables in table list are less than the number of result sets | |
Use real table for temporary table list | |
Mutex count of table lock for Spider UDFs | |
Mutex count of table mon for Spider UDFs | |
When start trx with snapshot, it send to all connections | |
Use start transaction with consistent snapshot | |
Use default database (Defaults to on; use --skip-spider-use-default-database to disable.) | |
Execute flush logs to remote server | |
Use handler for reading | |
Remote server transmission existence when UDF is used at condition and "engine_ | |
Execute optimize to remote server with local | |
Use table charset for remote access | |
Sets the sql mode. Any combination of: REAL_ | |
Enable SSL for connection (automatically enabled if an ssl option is used). | |
CA file in PEM format (check OpenSSL docs, implies --ssl) | |
CA directory (check OpenSSL docs, implies --ssl) | |
X509 cert in PEM format (implies --ssl) | |
SSL cipher to use (implies --ssl) | |
CRL file in PEM format (check OpenSSL docs, implies --ssl) | |
CRL directory (check OpenSSL docs, implies --ssl) | |
X509 key in PEM format (implies --ssl) | |
Print a symbolic stack trace on failure (Defaults to on; use --skip-stack-trace to disable.) | |
Allow only CTEs compliant to SQL standard (Defaults to on; use --skip-standard-compliant-cte to disable.) | |
The soft upper limit for number of cached stored routines for one connection. | |
When password validation plugins are enabled, reject passwords that cannot be validated (passwords specified as a hash) (Defaults to on; use --skip-strict-password-validation to disable.) | |
Enable support for super large pages. | |
Enable symbolic link support. (Defaults to on; use --skip-symbolic-links to disable.) | |
Synchronously flush binary log to disk after every #th event. Use 0 (default) to disable synchronous flushing | |
Sync .frm files to disk on creation (Defaults to on; use --skip-sync-frm to disable.) | |
Synchronously flush master info to disk after every #th event. Use 0 to disable synchronous flushing | |
Synchronously flush relay log to disk after every #th event. Use 0 to disable synchronous flushing | |
Synchronously flush relay log info to disk after every #th transaction. Use 0 to disable synchronous flushing | |
Non-default option to alias SYSDATE() to NOW() to make it safe-replicable. Since 5.0, SYSDATE() returns a `dynamic' value different for different invocations, even within the same statement. | |
Deprecated; use --table-open-cache instead. | |
The number of cached table definitions | |
The number of cached open tables | |
Maximum number of table cache instances | |
Decision to use in heuristic recover process. One of: OFF, COMMIT, ROLLBACK | |
Using this option will cause most temporary files created to use a small set of names, rather than a unique name for each new file. (Defaults to on; use --skip-temp-pool to disable.) | |
Controls how many threads are cached for use by new client connections. Threads are freed after 5 minutes of idle time. | |
Permits the application to give the threads system a hint for the desired number of threads that should be run at the same time.This variable has no effect, and is deprecated. It will be removed in a future release. | |
Define threads usage for handling queries. One of: one-thread-per-connection, no-threads, pool-of-threads | |
Timeout in seconds for an idle thread in the thread pool.Worker thread will be shut down after timeout | |
Maximum allowed number of worker threads in the thread pool | |
How many additional active worker threads in a group are allowed. | |
The number of milliseconds before a dequeued low-priority statement is moved to the high-priority queue | |
Threadpool 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. | |
Number 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). | |
Maximum 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. | |
The stack size for each thread | |
The TIME format (ignored) | |
Specify whether to time mutexes. Deprecated, has no effect. | |
Max size for data for an internal temporary on-disk MyISAM or Aria table. | |
If 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_ | |
Alias for tmp_ | |
Path for temporary files. Several paths may be specified, separated by a colon (:), in this case they are used in a round-robin fashion | |
Allocation block size for transactions to be stored in binary log | |
Default transaction isolation level. One of: READ-UNCOMMITTED, READ-COMMITTED, REPEATABLE-READ, SERIALIZABLE | |
Persistent buffer for transactions to be stored in binary log | |
Default transaction access mode. True if transactions are read-only. | |
YES = 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) | |
Specifies how to use system statistics tables. One of: NEVER, COMPLEMENTARY, PREFERABLY | |
Run mysqld daemon as user. | |
Enable or disable user_ | |
Enables statistics gathering for USER_ | |
Used with --help option for detailed help. | |
Output version information and exit. | |
The number of seconds the server waits for activity on a connection before closing it | |
To automatically control the assignment of autoincrement variables (Defaults to on; use --skip-wsrep-auto-increment-control to disable.) | |
Setting this variable is equivalent to setting wsrep_ | |
Certification 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. | |
Certify tables with no primary key (Defaults to on; use --skip-wsrep-certify-nonPK to disable.) | |
Address to initially connect to cluster | |
Name for the cluster | |
To convert locking sessions into transactions | |
home directory for wsrep provider | |
DBUG options to provider library | |
To enable debug level logging | |
To desynchronize the node from the cluster | |
Allow reads even when the node is not in the primary component. | |
Enable a workaround to handle the cases where inserting a DEFAULT value into an auto-increment column could fail with duplicate key error | |
binlog format to take effect over user's choice. One of: MIXED, STATEMENT, ROW, NONE | |
When wsrep_ | |
Automatically update the (joiner) node's wsrep_ | |
To commit LOAD DATA transaction after every 10K rows inserted (Defaults to on; use --skip-wsrep-load-data-splitting to disable.) | |
To log multi-master conflicts | |
Max number of rows in write set | |
Max write set size (bytes) | |
mysql replication group commit | |
Used to startup the first node in a Galera Cluster, which is known as bootstrapping. | |
Specifies 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. | |
Client connection address | |
Name of this node. This name can be used in wsrep_ | |
Defines the command that a Galera node runs whenever cluster membership or the state of the node changes. | |
To enable wsrep replication | |
Method for Online Schema Upgrade. One of: TOI, RSU | |
Path to replication provider library | |
Semicolon (;) separated list of wsrep options (see wsrep_ | |
Recover database state after crash and exit | |
Variable to set to reject queries. One of: NONE, ALL, ALL_ | |
To enable myisam replication | |
Should MariaDB slave be restarted automatically, when node joins back to cluster | |
Max number of times to retry a failed autocommit statement | |
Should slave thread do foreign key constraint checks (Defaults to on; use --skip-wsrep-slave-FK-checks to disable.) | |
Number of slave appliers to launch | |
Should slave thread do secondary index uniqueness checks | |
Authentication for SST connection | |
preferred donor node for the SST | |
Reject client queries when donating state snapshot transfer | |
State snapshot transfer method | |
Address where node is waiting for SST contact | |
global transaction position to start from | |
Ensure "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 REPLACE |
The following Command-line Options are not present in MariaDB Community Server 10.2.43 but are present in one or more older 10.2 CS versions. Click on an item to see its details, including when it was removed.
Option | Description |
---|---|
Enable or disable CHANGED_ | |
DEPRECATED. This option may be removed in future releases, together with the option innodb_ | |
Background commit interval in seconds | |
Disable row lock when direct access InnoDB through InnoDB APIs | |
Enable binlog for applications direct access InnoDB through InnoDB APIs | |
Enable MDL for applications direct access InnoDB through InnoDB APIs | |
InnoDB API transaction isolation level | |
Enable or disable INNODB_ | |
Use NUMA interleave memory policy to allocate InnoDB buffer pool. | |
Simulate compression failures. | |
Enable or disable INNODB_ | |
DEPRECATED. This option may be removed in future releases, together with the InnoDB's internal memory allocator. Use OS memory allocator instead of InnoDB's internal memory allocator (Defaults to on; use --skip-innodb-use-sys-malloc to disable.) | |
turns on background syncs for RocksDB | |
DBOptions::base_ | |
DBOptions::concurrent_ | |
Forces memtable flush on ANALZYE table to get accurate cardinality (Defaults to on; use --skip-rocksdb-flush-memtable-on-analyze to disable.) | |
DBOptions::max_ | |
DBOptions::max_ | |
List of tables that will use read-free replication on the slave (i.e., not lookup a row during replication) | |
DBOptions::use_ | |
Auxiliary info. | |
Allow only standards compiant CTE (Defaults to on; use --skip-standards-compliant-cte to disable.) | |
Enable or disable XTRADB_ | |
Enable or disable XTRADB_ | |
Enable or disable XTRADB_ |
To see options supported in other versions, see "mariadbd & mysqld Options by MariaDB Server Version".