|
Register | Downloads | Forum Rules | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread |
#1
|
||
MariaDB configuration file example
You can use the MariaDB configuration file (my.cnf) to configure MariaDB for your system.
The following example of the my.cnf file contains the minimum resource configuration that was tested for runtime metrics collection. Formore information about modifying your my.cnf file, see Configuring MariaDB with my.cnf. For a full list of the MariaDB server system variables, see server system variables. Code:
[client] port = 3306 socket = /tmp/mysql.sock [mysqld] port = 3306 socket = /tmp/mysql.sock back_log = 50 max_connections = 100 wait_timeout = 256 max_connect_errors = 10 table_open_cache = 2048 max_allowed_packet = 16M binlog_cache_size = 512M max_heap_table_size = 512M read_buffer_size = 64M read_rnd_buffer_size = 64M sort_buffer_size = 64M join_buffer_size = 64M thread_cache_size = 8 thread_concurrency = 8 thread_stack = 240K query_cache_size = 128M query_cache_limit = 2M ft_min_word_len = 4 default-storage-engine = InnoDB transaction_isolation = REPEATABLE-READ tmp_table_size = 512M log-bin=mysql-bin binlog_format=mixed slow_query_log long_query_time = 2 server-id = 1 # INNODB options innodb_buffer_pool_size = 4G innodb_buffer_pool_instances = 8 innodb_data_file_path = ibdata1:10M:autoextend innodb_write_io_threads = 8 innodb_read_io_threads = 8 innodb_thread_concurrency = 16 innodb_flush_log_at_trx_commit = 1 innodb_log_buffer_size = 1GB innodb_change_buffering = all innodb_change_buffer_max_size = 25 innodb_log_file_size = 512M innodb_log_files_in_group = 3 innodb_max_dirty_pages_pct = 90 innodb_lock_wait_timeout = 256 [mysqldump] quick max_allowed_packet = 50M [mysql] no-auto-rehash [mysqlhotcopy] interactive-timeout [mysqld_safe] open-files-limit = 8192 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[RELEASE] HeidiSQL 12.7 - database systems MariaDB, MySQL, Microsoft SQL, PostgreSQL | elboriyorker | Other Server Software | 0 | 07-13-2024 02:46 AM |
[RELEASE] MariaDB 10.6.18 (Windows) | elboriyorker | MySql Software | 0 | 07-13-2024 02:43 AM |
[INFO] MariaDB Community Server Files Depot | elboriyorker | MySql Software | 0 | 07-13-2024 02:38 AM |
Looking for File Explorer CAB File | stealth-twinturbo | HTC Touch Questions | 1 | 05-28-2008 09:45 PM |