Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions run/props.mysql
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
db=mysql
driver=com.mysql.jdbc.Driver
conn=jdbc:mysql://localhost:4000/tpcc?useSSL=false&useServerPrepStmts=true&useConfigs=maxPerformance&rewriteBatchedStatements=true
conn=jdbc:mysql://172.16.6.48:3308/benchmarksql?useSSL=false&useServerPrepStmts=true&useConfigs=maxPerformance&rewriteBatchedStatements=true&&zeroDateTimeBehavior=convertToNull
user=root
password=

warehouses=1
warehouses=10
loadWorkers=4

terminals=1
terminals=100
//To run specified transactions per terminal- runMins must equal zero
runTxnsPerTerminal=0
//To run for specified minutes- runTxnsPerTerminal must equal zero
runMins=10
runMins=5
//Number of total transactions per minute
limitTxnsPerMin=0

Expand Down
7 changes: 4 additions & 3 deletions run/runBenchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ fi
SEQ=$(expr $(cat "${SEQ_FILE}") + 1) || exit 1
echo "${SEQ}" > "${SEQ_FILE}"

source funcs.sh $1
source ./funcs.sh $1

setCP || exit 1

myOPTS="-Dprop=$1 -DrunID=${SEQ}"
# options params: -Ddebug, default value: 0
myOPTS="-Dprop=$1 -DrunID=${SEQ} -Dprocessor=10 -Ddebug=0"

java -cp "$myCP" $myOPTS jTPCC
java -cp "$myCP" $myOPTS jTPCCRunner
2 changes: 1 addition & 1 deletion run/runLoader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ $# -lt 1 ] ; then
exit 2
fi

source funcs.sh $1
source ./funcs.sh $1
shift

setCP || exit 1
Expand Down
2 changes: 1 addition & 1 deletion run/runSQL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fi
# ----
# Load common functions
# ----
source funcs.sh $1
source ./funcs.sh $1

# ----
# Determine which SQL file to use.
Expand Down
Loading