@@ -115,7 +115,7 @@ jobs:
115
115
fail-fast : false
116
116
matrix :
117
117
# BROKEN: tpch
118
- benchmark : [ 'epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
118
+ benchmark : [ 'chbenchmark', ' epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
119
119
steps :
120
120
- name : Download artifact
121
121
uses : actions/download-artifact@v4
@@ -149,6 +149,10 @@ jobs:
149
149
echo "The ${{matrix.benchmark}} benchmark is not supported for sqlite."
150
150
exit 0
151
151
else
152
+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
153
+ # Disable synchronous mode for sqlite tpcc data loading to save some time.
154
+ java -jar benchbase.jar -b tpcc -c config/sqlite/sample_tpcc_nosync_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
155
+ fi
152
156
java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/sqlite/sample_${{matrix.benchmark}}_config.xml --create=true --load=true --execute=true --json-histograms results/histograms.json
153
157
fi
154
158
@@ -179,7 +183,7 @@ jobs:
179
183
fail-fast : false
180
184
matrix :
181
185
# FIXME: Add tpch back in (#333).
182
- benchmark : [ 'auctionmark', 'epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
186
+ benchmark : [ 'auctionmark', 'chbenchmark', ' epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
183
187
services :
184
188
mariadb : # https://hub.docker.com/_/mariadb
185
189
image : mariadb:latest
@@ -233,6 +237,9 @@ jobs:
233
237
(sleep 10 && ./scripts/interrupt-docker-db-service.sh mariadb) &
234
238
java -jar benchbase.jar -b tpcc -c config/mariadb/sample_tpcc_config.xml --execute=true --json-histograms results/histograms.json
235
239
else
240
+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
241
+ java -jar benchbase.jar -b tpcc -c config/mariadb/sample_tpcc_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
242
+ fi
236
243
java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/mariadb/sample_${{matrix.benchmark}}_config.xml --create=true --load=true --execute=true --json-histograms results/histograms.json
237
244
fi
238
245
@@ -258,7 +265,7 @@ jobs:
258
265
strategy :
259
266
fail-fast : false
260
267
matrix :
261
- benchmark : [ 'auctionmark', 'epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
268
+ benchmark : [ 'auctionmark', 'chbenchmark', ' epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
262
269
services :
263
270
mysql : # https://hub.docker.com/_/mysql
264
271
image : mysql:latest
@@ -311,6 +318,9 @@ jobs:
311
318
(sleep 10 && ./scripts/interrupt-docker-db-service.sh mysql) &
312
319
java -jar benchbase.jar -b tpcc -c config/mysql/sample_tpcc_config.xml --execute=true --json-histograms results/histograms.json
313
320
else
321
+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
322
+ java -jar benchbase.jar -b tpcc -c config/mysql/sample_tpcc_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
323
+ fi
314
324
java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/mysql/sample_${{matrix.benchmark}}_config.xml --create=true --load=true --execute=true --json-histograms results/histograms.json
315
325
fi
316
326
@@ -336,7 +346,7 @@ jobs:
336
346
strategy :
337
347
fail-fast : false
338
348
matrix :
339
- benchmark : [ 'auctionmark', 'epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
349
+ benchmark : [ 'auctionmark', 'chbenchmark', ' epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
340
350
services :
341
351
oracle :
342
352
image : gvenzl/oracle-xe:21.3.0-slim-faststart
@@ -393,6 +403,9 @@ jobs:
393
403
(sleep 10 && ./scripts/interrupt-docker-db-service.sh oracle) &
394
404
java -jar benchbase.jar -b tpcc -c config/oracle/sample_tpcc_config.xml --execute=true --json-histograms results/histograms.json
395
405
else
406
+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
407
+ java -jar benchbase.jar -b tpcc -c config/oracle/sample_tpcc_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
408
+ fi
396
409
java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/oracle/sample_${{matrix.benchmark}}_config.xml --create=true --load=true --execute=true --json-histograms results/histograms.json
397
410
fi
398
411
@@ -424,7 +437,7 @@ jobs:
424
437
strategy :
425
438
fail-fast : false
426
439
matrix :
427
- benchmark : [ 'auctionmark', 'epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
440
+ benchmark : [ 'auctionmark', 'chbenchmark', ' epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpcc-with-reconnects', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
428
441
steps :
429
442
# Note: we download just the docker-compose scripts/configs rather than the
430
443
# whole source code repo for better testing.
@@ -479,6 +492,9 @@ jobs:
479
492
(sleep 10 && ./scripts/interrupt-docker-db-service.sh postgres) &
480
493
java -jar benchbase.jar -b tpcc -c config/postgres/sample_tpcc_config.xml -im 1000 -mt advanced --execute=true --json-histograms results/histograms.json
481
494
else
495
+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
496
+ java -jar benchbase.jar -b tpcc -c config/postgres/sample_tpcc_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
497
+ fi
482
498
java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/postgres/sample_${{matrix.benchmark}}_config.xml -im 1000 -mt advanced --create=true --load=true --execute=true --json-histograms results/histograms.json
483
499
fi
484
500
@@ -515,12 +531,14 @@ jobs:
515
531
fail-fast : false
516
532
matrix :
517
533
# TODO: Add tpcc-with-reconnects benchmark support
534
+ # TODO: Add chbenchmark benchmark support
518
535
benchmark : [ 'auctionmark', 'epinions', 'hyadapt', 'noop', 'otmetrics', 'resourcestresser', 'seats', 'sibench', 'smallbank', 'tatp', 'templated', 'tpcc', 'tpch', 'twitter', 'voter', 'wikipedia', 'ycsb' ]
519
536
services :
520
537
cockroach : # https://hub.docker.com/repository/docker/timveil/cockroachdb-single-node
521
538
image : timveil/cockroachdb-single-node:latest
522
539
env :
523
540
DATABASE_NAME : benchbase
541
+ # TODO: Expand for additional config adjustments (See Also: #405, #519, #525)
524
542
MEMORY_SIZE : .75
525
543
ports :
526
544
- 26257:26257
@@ -557,6 +575,9 @@ jobs:
557
575
(sleep 10 && ./scripts/interrupt-docker-db-service.sh cockroachdb) &
558
576
java -jar benchbase.jar -b tpcc -c config/cockroachdb/sample_tpcc_config.xml --execute=true --json-histograms results/histograms.json
559
577
else
578
+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
579
+ java -jar benchbase.jar -b tpcc -c config/cockroachdb/sample_tpcc_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
580
+ fi
560
581
java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/cockroachdb/sample_${{matrix.benchmark}}_config.xml --create=true --load=true --execute=true --json-histograms results/histograms.json
561
582
fi
562
583
@@ -655,6 +676,9 @@ jobs:
655
676
(sleep 10 && ./scripts/interrupt-docker-db-service.sh sqlserver) &
656
677
java -jar benchbase.jar -b tpcc -c config/sqlserver/sample_tpcc_config.xml -im 1000 -mt advanced --execute=true --json-histograms results/histograms.json
657
678
else
679
+ if [ ${{matrix.benchmark}} == chbenchmark ]; then
680
+ java -jar benchbase.jar -b tpcc -c config/sqlserver/sample_tpcc_config.xml --create=true --load=true --execute=false --json-histograms results/histograms.json
681
+ fi
658
682
java -jar benchbase.jar -b ${{matrix.benchmark}} -c config/sqlserver/sample_${{matrix.benchmark}}_config.xml -im 1000 -mt advanced --create=true --load=true --execute=true --json-histograms results/histograms.json
659
683
fi
660
684
0 commit comments