设备管理21.01临时版本,oam-core和oam-snmp还未更新
This commit is contained in:
@@ -19,45 +19,78 @@
|
||||
[client]
|
||||
#password = your_password
|
||||
port = 3306
|
||||
socket = /tmp/mysql.sock
|
||||
socket = /var/lib/mysql/mysql.sock
|
||||
default-character-set = utf8mb4
|
||||
|
||||
# Here follows entries for some specific programs
|
||||
|
||||
# The MySQL server
|
||||
[mysqld]
|
||||
basedir=/home/cries/mysql
|
||||
datadir=/home/cries/dbdata
|
||||
#timezone test
|
||||
#default-time_zone = '+6:00'
|
||||
#relay_log=/home/ceiec/mariadb/binlogs/master-bin/relay-log
|
||||
#log_bin=/home/ceiec/mariadb/relaylogs/relay-bin/master-log
|
||||
binlog_format=mixed
|
||||
auto-increment-offset=1
|
||||
auto-increment-increment=2
|
||||
log_bin_trust_function_creators=1
|
||||
log_slave_updates=true
|
||||
sync_binlog=0
|
||||
binlog-checksum=CRC32
|
||||
master-verify-checksum=1
|
||||
slave-sql-verify-checksum=1
|
||||
slave-skip-errors=all
|
||||
relay_log_recovery=1
|
||||
port = 3306
|
||||
#datadir = /home/dbdata
|
||||
innodb_file_per_table = on
|
||||
skip_name_resolve = on
|
||||
lower_case_table_names = 1
|
||||
character-set-server = utf8mb4
|
||||
character-set-client-handshake = FALSE
|
||||
#slow_query_log_file = /home/mariadb/logs/slow_query.log
|
||||
#log_error = /home/mariadb/host01.err
|
||||
socket = /var/lib/mysql/mysql.sock
|
||||
skip-external-locking
|
||||
thread_stack = 256K
|
||||
table_cache = 128K
|
||||
sort_buffer_size = 6M
|
||||
back_log = 384
|
||||
key_buffer_size = 256M
|
||||
max_allowed_packet = 4M
|
||||
table_open_cache = 512
|
||||
thread_stack = 256K
|
||||
table_cache = 128K
|
||||
sort_buffer_size = 6M
|
||||
read_buffer_size = 4M
|
||||
read_rnd_buffer_size = 8M
|
||||
myisam_sort_buffer_size = 64M
|
||||
thread_cache_size = 8
|
||||
query_cache_size = 32M
|
||||
read_rnd_buffer_size = 8M
|
||||
myisam_sort_buffer_size = 64M
|
||||
thread_cache_size = 8
|
||||
query_cache_size = 32M
|
||||
join_buffer_size = 8M
|
||||
# Try number of CPU's*2 for thread_concurrency
|
||||
# Try number of CPU's*2 for thread_concurrency
|
||||
thread_concurrency = 8
|
||||
wait_timeout=2880000
|
||||
interactive_timeout = 2880000
|
||||
interactive_timeout = 2880000
|
||||
max_allowed_packet = 200M
|
||||
max_connections = 1500
|
||||
open-files-limit = 10240
|
||||
key_buffer_size=256M
|
||||
back_log = 512
|
||||
table_open_cache=2048
|
||||
innodb_file_per_table= 1
|
||||
innodb_buffer_pool_size = 2048M
|
||||
innodb_log_file_size = 1024M
|
||||
innodb_log_buffer_size = 16M
|
||||
innodb_flush_log_at_trx_commit = 2
|
||||
innodb_flush_method = 'O_DIRECT'
|
||||
innodb_max_dirty_pages_pct = 90
|
||||
innodb_log_file_size = 100M
|
||||
innodb_log_buffer_size = 1G
|
||||
innodb_buffer_pool_instances = 1
|
||||
innodb_flush_log_at_trx_commit = 1
|
||||
|
||||
# Try number of CPU's*2 for thread_concurrency
|
||||
max_connections = 1500
|
||||
open-files-limit = 10240
|
||||
|
||||
|
||||
key_buffer_size=256M
|
||||
back_log = 512
|
||||
table_open_cache=2048
|
||||
|
||||
innodb_file_per_table= 1
|
||||
innodb_buffer_pool_size = 2048M
|
||||
|
||||
innodb_log_file_size = 1024M
|
||||
innodb_log_buffer_size = 16M
|
||||
|
||||
innodb_flush_log_at_trx_commit = 2
|
||||
innodb_flush_method = 'O_DIRECT'
|
||||
|
||||
innodb_max_dirty_pages_pct = 90
|
||||
|
||||
# Point the following paths to a dedicated disk
|
||||
#tmpdir = /tmp/
|
||||
@@ -145,10 +178,11 @@ server-id = 1
|
||||
# of RAM but beware of setting memory usage too high
|
||||
#innodb_buffer_pool_size = 384M
|
||||
# Set .._log_file_size to 25 % of buffer pool size
|
||||
#innodb_log_file_size = 100M
|
||||
#innodb_log_buffer_size = 8M
|
||||
#innodb_flush_log_at_trx_commit = 1
|
||||
#innodb_lock_wait_timeout = 50
|
||||
innodb_log_file_size = 100M
|
||||
innodb_log_buffer_size = 1G
|
||||
innodb_buffer_pool_instances = 1
|
||||
innodb_flush_log_at_trx_commit = 1
|
||||
innodb_lock_wait_timeout = 50
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
|
||||
Reference in New Issue
Block a user