diff --git a/my.cnf b/my.cnf index c08286f..561a7ad 100644 --- a/my.cnf +++ b/my.cnf @@ -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 diff --git a/stop.sh b/stop.sh new file mode 100644 index 0000000..c027247 --- /dev/null +++ b/stop.sh @@ -0,0 +1 @@ +mysqladmin --socket=/tmp/myrocks.sock -p"*" -uroot shutdown