filename="sysbench-$(date +%d-%m-%y-%H_%M).log"
BMK_HOME=/test-data/BMK
source $BMK_HOME/.bench
threads=48
cd $BMK_HOME/sb_exec/lua
$BMK_HOME/sysbench-1.1-mysql80-ssl111L-x64 $BMK_HOME/sb_exec/lua/OLTP_RW-index_updates-trx.lua   --db-driver=mysql --mysql-host=localhost --events=0 --time=300 --mysql-db=test --mysql-password=.userMDS00 --mysql-socket=/primary/data/mysql.sock --mysql-user=tester --threads=${threads} --rand-type=uniform --tables=8 --forced-shutdown=1 --table-size=10000000 --mysql-ssl=disabled --thread-init-timeout=0 --auto-inc=on --report-interval=2 run 2>&1 >/test-data/repl-build/$filename &
wait

