This commit is contained in:
eson 2020-02-28 01:47:42 +08:00
parent 31de2d1a5f
commit 51407795a6
2 changed files with 3 additions and 1 deletions

3
my.cnf
View File

@ -1,5 +1,6 @@
[mysql]
user=root
port=2206
socket=/tmp/myrocks.sock
@ -29,7 +30,7 @@ rocksdb_max_open_files=-1
rocksdb_max_background_jobs=8
rocksdb_max_total_wal_size=4G
rocksdb_block_size=16384
rocksdb_block_cache_size=8G
rocksdb_block_cache_size=4G
rocksdb_table_cache_numshardbits=6
# rate limiter

1
stop.sh Normal file
View File

@ -0,0 +1 @@
mysqladmin --socket=/tmp/myrocks.sock -p"*" -uroot shutdown