forked from facebook/mysql-5.6
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmy.cnf-terark-template
57 lines (45 loc) · 1.69 KB
/
my.cnf-terark-template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
[mysqld]
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
# These are commonly set, remove the # and set as required.
# basedir = .....
# datadir = .....
# port = .....
# server_id = .....
# socket = .....
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
#sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
rocksdb
default-storage-engine=rocksdb
#rocksdb_validate_tables=2
skip-innodb
default-tmp-storage-engine=MyISAM
character-set-server=utf8
collation-server=utf8_bin
user = mysql
bind-address = 0.0.0.0
back_log = 600
max_connections = 6000
basedir = /usr/local/mysql-on-terarkdb-4.8-bmi2-0
log_error = /usr/local/mysql-on-terarkdb-4.8-bmi2-0/log/mysql_error.log
# general_log_file = /usr/local/mysql-on-terarkdb-4.8-bmi2-0/log/mysql.log
# general_log = 1
datadir = /usr/local/mysql-on-terarkdb-4.8-bmi2-0/data
log-bin = /usr/local/mysql-on-terarkdb-4.8-bmi2-0/log/mysql-bin
pid-file = /usr/local/mysql-on-terarkdb-4.8-bmi2-0/data/mysql.pid
binlog-format=ROW
secure_file_priv=""
rocksdb_commit_in_the_middle=ON
rocksdb_bulk_load_size=1000
rocksdb_strict_collation_check=OFF