summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-system/lh_sqlserver.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'linhes/linhes-system/lh_sqlserver.cnf')
-rw-r--r--linhes/linhes-system/lh_sqlserver.cnf15
1 files changed, 8 insertions, 7 deletions
diff --git a/linhes/linhes-system/lh_sqlserver.cnf b/linhes/linhes-system/lh_sqlserver.cnf
index be2d5bd..6475ea2 100644
--- a/linhes/linhes-system/lh_sqlserver.cnf
+++ b/linhes/linhes-system/lh_sqlserver.cnf
@@ -41,9 +41,10 @@
datadir=/data/srv/mysql
skip-external-locking
+skip-name-resolve=ON
net_buffer_length = 8K
-key_buffer_size = 768M
+key_buffer_size = 512M
max_allowed_packet = 1M
tmp_table_size = 256M
max_heap_table_size = 256M
@@ -55,9 +56,10 @@ thread_cache_size = 8
query_cache_type = 0
query_cache_size = 0
query_cache_limit = 2M
-join_buffer_size = 1M
-ignore-db-dir = lost+found
+join_buffer_size = 2M
+ignore_db_dirs = lost+found
table_open_cache = 5000
+table_definition_cache = 800
open_files_limit = 10000
# Uncomment the following if you are using InnoDB tables
@@ -66,14 +68,13 @@ open_files_limit = 10000
#innodb_log_group_home_dir = /var/lib/mysql
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
-#innodb_buffer_pool_size = 16M
+innodb_buffer_pool_size = 1500M
#innodb_additional_mem_pool_size = 2M
# Set .._log_file_size to 25 % of buffer pool size
-innodb_log_file_size = 16M
-#innodb_log_buffer_size = 8M
+innodb_log_file_size = 375M
+innodb_log_buffer_size = 32M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
-innodb_buffer_pool_instances = 1
# This group is only read by MariaDB-10.8 servers.
# If you use the same .cnf file for MariaDB of different versions,