- What is innodb_flush_log_at_trx_commit?
- What is Innodb_online_alter_log_max_size?
- What is Innodb_stats_persistent_sample_pages?
- What is Innodb_flush_method?
- What is Sync_binlog?
- What is Innodb_autoinc_lock_mode?
- What is Innodb_data_file_path?
- What is Innodb_adaptive_hash_index?
- What is Innodb_read_io_threads?
- What is Log_bin_trust_function_creators?
- What is Innodb_open_files?
- What is innodb_buffer_pool_size?
- What is Innodb_flush_method O_direct?
- What is Innodb_buffer_pool_instances?
- What is Innodb_log_files_in_group?
What is innodb_flush_log_at_trx_commit?
Description. InnoDB will regularly flush logs to the disk. ... If innodb_flush_log_at_trx_commit is set to 0, the log buffer is written out to the log file once per second and the flush to disk operation is performed on the log file. However, nothing is done at a transaction commit.
What is Innodb_online_alter_log_max_size?
innodb_online_alter_log_max_size — MariaDB Enterprise Documentation. Enterprise Documentation / Reference / Reference for MariaDB Enterprise Server / System Variables for MariaDB Enterprise Server / innodb_online_alter_log_max_size.
What is Innodb_stats_persistent_sample_pages?
innodb_stats_persistent_sample_pages. It is used for number of index pages to sample when estimating cardinality and other statistics for an indexed column.
What is Innodb_flush_method?
innodb_flush_method variable specifies how InnoDB opens and flushes log and data files. ... If innodb_flush_method is set to O_DIRECT it'd avoid double buffering and reduce swap pressure and helps improving performance.
What is Sync_binlog?
MySQL's got a sync_binlog configuration option. You typically set it in my. cnf, and its value is an integer from 0-n. This value determines how many binary log writes need to occur before its contents are flushed out of the buffer and onto disk.
What is Innodb_autoinc_lock_mode?
This variable defines the lock mode to use for generating auto-increment values. The permissible values are 0, 1 or 2 (for “traditional”, “consecutive” or “interleaved” lock mode, respectively). In most cases, this variable is set to the default of 1.
What is Innodb_data_file_path?
By default, a single system tablespace data file, named ibdata1 , is created in the data directory. The size and number of system tablespace data files is defined by the innodb_data_file_path startup option. For configuration information, see System Tablespace Data File Configuration.
What is Innodb_adaptive_hash_index?
The adaptive hash index is enabled by the innodb_adaptive_hash_index variable, or turned off at server startup by --skip-innodb-adaptive-hash-index . Based on the observed pattern of searches, a hash index is built using a prefix of the index key. ... InnoDB has a mechanism that monitors index searches.
What is Innodb_read_io_threads?
innodb_read_io_threads. The number of I/O threads for read operations in InnoDB. The default value is 4. innodb_write_io_threads. The number of I/O threads for write operations in InnoDB.
What is Log_bin_trust_function_creators?
By default, this variable has a value of 0, but you can change it like this: mysql> SET GLOBAL log_bin_trust_function_creators = 1; You can also set this variable at server startup. If binary logging is not enabled, log_bin_trust_function_creators does not apply.
What is Innodb_open_files?
innodb_open_files controls the number of InnoDB files ( . ibd ) the server can keep open at once; whilst table_open_cache controls the number of table definition ( . frm ) files the server can have open at once.
What is innodb_buffer_pool_size?
innodb_buffer_pool_size is the MySQL configuration parameter that specifies the amount of memory allocated to the InnoDB buffer pool by MySQL. This is one of the most important settings in the MySQL hosting configuration and should be configured based on the available system RAM.
What is Innodb_flush_method O_direct?
O_DIRECT: Data files are opened with the O_DIRECT flag. Log files are opened with no options. It usesthe fsync system call to flush the log files to storage, ensuring no double buffering on the data files, because all read and write operations go directly to disk.
What is Innodb_buffer_pool_instances?
Innodb_buffer_pool_instances = 64 is the maximum value allowed by MySQL.
What is Innodb_log_files_in_group?
innodb_buffer_pool_size is the amount of memory to use to cache tables, indexes and a few other things. This is the main tunable and you will want to set it quite high for performance reasons - there are plenty of resources discussing this.