Skip to content

Commit cbbb450

Browse files
ericavellaErica Vellanoweth
andauthored
HammerDB fixes, + TPCH implementation (#604)
* changes to implement mysql hammerdb tpch & tpcc, then postgresql hammerdb tpch. * fixing tests * cleanup * fixing test * editing hostname arg * fixing profile * fixing * editing * editing structure * removing mysql feature * fixing test * updating docs --------- Co-authored-by: Erica Vellanoweth <evellanoweth@microsoft.com>
1 parent 2d869c1 commit cbbb450

15 files changed

Lines changed: 1616 additions & 218 deletions

File tree

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
HammerDB CLI v4.12
2+
Copyright (C) 2003-2024 Steve Shaw
3+
Type "help" for a list of commands
4+
Initialized Jobs on-disk database /tmp/hammer.DB using existing tables (94,208 bytes)
5+
SETTING CONFIGURATION
6+
Database set to MySQL
7+
Benchmark set to TPC-C for MySQL
8+
Value 127.0.0.1 for connection:mysql_host is the same as existing value 127.0.0.1, no change made
9+
Value 3306 for connection:mysql_port is the same as existing value 3306, no change made
10+
Value /var/run/mysqld/mysqld.sock for connection:mysql_socket is the same as existing value /var/run/mysqld/mysqld.sock, no change made
11+
Value root for tpcc:mysql_user is the same as existing value root, no change made
12+
Value hammerdb_tpcc for tpcc:mysql_dbase is the same as existing value hammerdb_tpcc, no change made
13+
Value timed for tpcc:mysql_driver is the same as existing value timed, no change made
14+
Value 2 for tpcc:mysql_rampup is the same as existing value 2, no change made
15+
Value 5 for tpcc:mysql_duration is the same as existing value 5, no change made
16+
Value true for tpcc:mysql_allwarehouse is the same as existing value true, no change made
17+
Value true for tpcc:mysql_timeprofile is the same as existing value true, no change made
18+
Dictionary Settings for MySQL
19+
connection {
20+
mysql_host = 127.0.0.1
21+
mysql_port = 3306
22+
mysql_socket = /var/run/mysqld/mysqld.sock
23+
mysql_ssl = false
24+
mysql_ssl_two_way = false
25+
mysql_ssl_linux_capath = /etc/mysql/certs
26+
mysql_ssl_windows_capath = C:\mysql\certs
27+
mysql_ssl_ca = ca-cert.pem
28+
mysql_ssl_cert = client-cert.pem
29+
mysql_ssl_key = client-key.pem
30+
mysql_ssl_cipher = server
31+
mysql_oceanbase_port = 2881
32+
}
33+
tpcc {
34+
mysql_count_ware = 1
35+
mysql_num_vu = 1
36+
mysql_user = root
37+
mysql_pass = mysql
38+
mysql_dbase = hammerdb_tpcc
39+
mysql_storage_engine = innodb
40+
mysql_partition = false
41+
mysql_prepared = false
42+
mysql_history_pk = false
43+
mysql_no_stored_procs = false
44+
mysql_total_iterations = 10000000
45+
mysql_raiseerror = false
46+
mysql_keyandthink = false
47+
mysql_driver = timed
48+
mysql_rampup = 2
49+
mysql_duration = 5
50+
mysql_allwarehouse = true
51+
mysql_timeprofile = true
52+
mysql_async_scale = false
53+
mysql_async_client = 10
54+
mysql_async_verbose = false
55+
mysql_async_delay = 1000
56+
mysql_connect_pool = false
57+
}
58+
Script loaded, Type "print script" to view
59+
SEQUENCE STARTED
60+
1 VU TEST
61+
Vuser 1 created MONITOR - WAIT IDLE
62+
Vuser 2 created - WAIT IDLE
63+
2 Virtual Users Created with Monitor VU
64+
Vuser 1:RUNNING
65+
Vuser 1:Initializing xtprof time profiler
66+
Vuser 1:Ssl_cipher
67+
Vuser 1:DBVersion:8.0.44
68+
Vuser 1:Beginning rampup time of 2 minutes
69+
Vuser 2:RUNNING
70+
Vuser 2:Initializing xtprof time profiler
71+
Vuser 2:Ssl_cipher
72+
Vuser 2:Assigned 1 WIDs = 1 based on VU count 1, Warehouses = 1 out of 1
73+
Vuser 2:Processing 10000000 transactions with output suppressed...
74+
Vuser 1:Rampup 1 minutes complete ...
75+
Vuser 1:Rampup 2 minutes complete ...
76+
Vuser 1:Rampup complete, Taking start Transaction Count.
77+
Vuser 1:Timing test period of 5 in minutes
78+
Vuser 1:1 ...,
79+
Vuser 1:2 ...,
80+
Vuser 1:3 ...,
81+
Vuser 1:4 ...,
82+
Vuser 1:5 ...,
83+
Vuser 1:Test complete, Taking end Transaction Count.
84+
Vuser 1:1 Active Virtual Users configured
85+
Vuser 1:TEST RESULT : System achieved 11 NOPM from 25 MySQL TPM
86+
Vuser 1:Gathering timing data from Active Virtual Users...
87+
Vuser 2:FINISHED SUCCESS
88+
Vuser 1:Calculating timings...
89+
Vuser 1:Writing timing data to /tmp/hdbxtprofile.log
90+
Vuser 1:FINISHED SUCCESS
91+
ALL VIRTUAL USERS COMPLETE
92+
vudestroy success
93+
TEST SEQUENCE COMPLETE

0 commit comments

Comments
 (0)