Commit b39dd525 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent df873b86
...@@ -108,6 +108,9 @@ datadir = $neosql/data ...@@ -108,6 +108,9 @@ datadir = $neosql/data
# https://lab.nexedi.com/nexedi/slapos/blob/master/software/neoppod/my.cnf.in#L18 # https://lab.nexedi.com/nexedi/slapos/blob/master/software/neoppod/my.cnf.in#L18
# ---- 8< ---- # ---- 8< ----
# kirr: disabled
#plugin-load = ha_tokudb;ha_rocksdb
log_warnings = 1 log_warnings = 1
disable-log-bin disable-log-bin
...@@ -126,8 +129,9 @@ innodb_locks_unsafe_for_binlog = 1 ...@@ -126,8 +129,9 @@ innodb_locks_unsafe_for_binlog = 1
# Extra parameters. # Extra parameters.
log_slow_verbosity = explain,query_plan log_slow_verbosity = explain,query_plan
rocksdb_block_cache_size = 10G # kirr: rocksb disabled
rocksdb_max_background_compactions = 3 # rocksdb_block_cache_size = 10G
# rocksdb_max_background_compactions = 3
long_query_time = 1 long_query_time = 1
innodb_file_per_table = 1 innodb_file_per_table = 1
...@@ -146,11 +150,7 @@ EOF ...@@ -146,11 +150,7 @@ EOF
mysql_install_db --defaults-file=$mycnf mysql_install_db --defaults-file=$mycnf
fi fi
echo AAA mysqld --defaults-file=$mycnf &
mysqld --defaults-file=$mycnf # XXX &
echo BBB
} }
xmysql() { xmysql() {
...@@ -166,6 +166,15 @@ neopysql() { ...@@ -166,6 +166,15 @@ neopysql() {
Apy Apy
} }
# generate data in mariadb
gensql() {
neopysql
demo-zbigarray --worksize=$work gen neo://$cluster@$Mbind
xneoctl set cluster stopping
xmysql "SHUTDOWN"
wait # XXX fragile
sync
}
# generate data in data.sqlite # generate data in data.sqlite
...@@ -190,13 +199,13 @@ gensqlite() { ...@@ -190,13 +199,13 @@ gensqlite() {
#Sgo $fs1/data.fs #Sgo $fs1/data.fs
#gensqlite #gensqlite
gensql
#neopylite #neopylite
#time demo-zbigarray read neo://$cluster@$Mbind #time demo-zbigarray read neo://$cluster@$Mbind
#xneoctl set cluster stopping #xneoctl set cluster stopping
MDB
wait wait
exit exit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment