diff --git a/lib/mysql/tidb-loadbalance-0.0.5.jar b/lib/mysql/tidb-loadbalance-0.0.5.jar new file mode 100644 index 0000000..bb7e6e1 Binary files /dev/null and b/lib/mysql/tidb-loadbalance-0.0.5.jar differ diff --git a/run/props.tidb b/run/props.tidb new file mode 100644 index 0000000..d34c774 --- /dev/null +++ b/run/props.tidb @@ -0,0 +1,36 @@ +db=mysql +driver=com.tidb.jdbc.Driver +conn=jdbc:tidb://172.16.4.203:4306/tpcc?useSSL=false&useServerPrepStmts=true&useConfigs=maxPerformance&rewriteBatchedStatements=true +user=root +password= + +warehouses=20 +loadWorkers=20 + +terminals=20 +//To run specified transactions per terminal- runMins must equal zero +runTxnsPerTerminal=0 +//To run for specified minutes- runTxnsPerTerminal must equal zero +runMins=10 +//Number of total transactions per minute +limitTxnsPerMin=0 + +//Set to true to run in 4.x compatible mode. Set to false to use the +//entire configured database evenly. +terminalWarehouseFixed=true + +//The following five values must add up to 100 +//The default percentages of 45, 43, 4, 4 & 4 match the TPC-C spec +newOrderWeight=45 +paymentWeight=43 +orderStatusWeight=4 +deliveryWeight=4 +stockLevelWeight=4 + +// Directory name to create for collecting detailed result data. +// Comment this out to suppress. +resultDirectory=my_result_%tY-%tm-%td_%tH%tM%tS +//osCollectorScript=./misc/os_collector_linux.py +//osCollectorInterval=1 +//osCollectorSSHAddr=user@dbhost +//osCollectorDevices=net_eth0 blk_sda