[Commits] 6af0af7: Save LOCK% counters from rocksdb.perf_context_global
revision-id: 6af0af76cac5c9966add22d3790eb5f3281352da () parent(s): f49f210a200b07195e9280d7866c2c73d3a51e71 author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2020-04-06 12:21:24 +0300 message: Save LOCK% counters from rocksdb.perf_context_global --- run-test.sh | 2 +- setup-server/setup-fbmysql-clone.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/run-test.sh b/run-test.sh index 248db6b..e032586 100755 --- a/run-test.sh +++ b/run-test.sh @@ -225,7 +225,7 @@ for threads in 1 5 10 20 40 60 80 100; do $MYSQL_CMD -e "drop table if exists test.rocksdb_perf_context_global;" $MYSQL_CMD -e "create table test.rocksdb_perf_context_global as select * from information_schema.rocksdb_perf_context_global \ - where stat_type LIKE '%RANGELOCK%'" + where stat_type LIKE '%RANGELOCK%' or stat_type LIKE 'LOCK%'" SYSBENCH_ALL_ARGS="$SYSBENCH_ARGS --threads=$threads" diff --git a/setup-server/setup-fbmysql-clone.sh b/setup-server/setup-fbmysql-clone.sh index b7eab08..9359c26 100755 --- a/setup-server/setup-fbmysql-clone.sh +++ b/setup-server/setup-fbmysql-clone.sh @@ -64,7 +64,9 @@ log-error language=$BASEDIR/sql/share/english server-id=12 +rocksdb_perf_context_level=2 # rocksdb_use_range_locking=1 + EOF echo "$BASEDIR/sql/mysqld --defaults-file=`pwd`/my-fbmysql-$name.cnf"
participants (1)
-
psergey