From 05d65296a24e9f5354b265c353e50953f32e9ac3 Mon Sep 17 00:00:00 2001 From: MaximilianJahns Date: Mon, 11 May 2026 12:43:30 +0200 Subject: [PATCH 1/3] Add CockroachDB TPC-C benchmark support --- cockroach/cockroach_tprocc_buildschema.tcl | 22 ++++++++++++ cockroach/cockroach_tprocc_deleteschema.tcl | 17 +++++++++ cockroach/cockroach_tprocc_run.tcl | 33 +++++++++++++++++ compose.yml | 13 ++++--- usage_scenario_cockroach.yml | 40 +++++++++++++++++++++ 5 files changed, 120 insertions(+), 5 deletions(-) create mode 100644 cockroach/cockroach_tprocc_buildschema.tcl create mode 100644 cockroach/cockroach_tprocc_deleteschema.tcl create mode 100644 cockroach/cockroach_tprocc_run.tcl create mode 100644 usage_scenario_cockroach.yml diff --git a/cockroach/cockroach_tprocc_buildschema.tcl b/cockroach/cockroach_tprocc_buildschema.tcl new file mode 100644 index 0000000..4dffb85 --- /dev/null +++ b/cockroach/cockroach_tprocc_buildschema.tcl @@ -0,0 +1,22 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db pg +dbset bm TPC-C +diset connection pg_host cockroachdb_container +diset connection pg_port 26257 +diset connection pg_sslmode disable +diset tpcc pg_superuser root +diset tpcc pg_superuserpass "" +diset tpcc pg_defaultdbase defaultdb +diset tpcc pg_user root +diset tpcc pg_pass "" +diset tpcc pg_dbase defaultdb +set vu [ numberOfCPUs ] +set warehouse [ expr {$vu * 20} ] +diset tpcc pg_count_ware $warehouse +diset tpcc pg_num_vu $vu +diset tpcc pg_partition false +diset tpcc pg_raiseerror true +puts "SCHEMA BUILD STARTED" +buildschema +puts "SCHEMA BUILD COMPLETED" diff --git a/cockroach/cockroach_tprocc_deleteschema.tcl b/cockroach/cockroach_tprocc_deleteschema.tcl new file mode 100644 index 0000000..49a0316 --- /dev/null +++ b/cockroach/cockroach_tprocc_deleteschema.tcl @@ -0,0 +1,17 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db pg +dbset bm TPC-C +diset connection pg_host cockroachdb_container +diset connection pg_port 26257 +diset connection pg_sslmode disable +diset tpcc pg_superuser root +diset tpcc pg_superuserpass "" +diset tpcc pg_defaultdbase defaultdb +diset tpcc pg_user root +diset tpcc pg_pass "" +diset tpcc pg_dbase defaultdb +diset tpcc pg_raiseerror true +puts "DROP SCHEMA STARTED" +deleteschema +puts "DROP SCHEMA COMPLETED" diff --git a/cockroach/cockroach_tprocc_run.tcl b/cockroach/cockroach_tprocc_run.tcl new file mode 100644 index 0000000..9bb6e90 --- /dev/null +++ b/cockroach/cockroach_tprocc_run.tcl @@ -0,0 +1,33 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db pg +dbset bm TPC-C +diset connection pg_host cockroachdb_container +diset connection pg_port 26257 +diset connection pg_sslmode disable +diset tpcc pg_superuser root +diset tpcc pg_superuserpass "" +diset tpcc pg_defaultdbase defaultdb +diset tpcc pg_user root +diset tpcc pg_pass "" +diset tpcc pg_dbase defaultdb +diset tpcc pg_driver timed +diset tpcc pg_rampup 2 +diset tpcc pg_duration 5 +diset tpcc pg_allwarehouse true +diset tpcc pg_timeprofile true +diset tpcc pg_keyandthink true +diset tpcc pg_raiseerror true +loadscript +puts "TEST STARTED" +vuset vu vcpu +vucreate +tcstart +tcstatus +set jobid [ vurun ] +vudestroy +tcstop +puts "TEST COMPLETE" +set of [ open /tmp/cockroach_tprocc w ] +puts $of $jobid +close $of diff --git a/compose.yml b/compose.yml index efe0461..ea30185 100644 --- a/compose.yml +++ b/compose.yml @@ -1,6 +1,6 @@ services: postgres: - image: postgres:18.1-trixie + image: postgres:18.3-trixie container_name: postgres_container environment: POSTGRES_USER: postgres @@ -9,7 +9,7 @@ services: ports: - "5432:5432" mariadb: - image: mariadb:12.1.2-noble + image: mariadb:12.2.2-noble container_name: mariadb_container environment: MYSQL_ROOT_PASSWORD: maria @@ -21,7 +21,6 @@ services: mysql: image: mysql:9.5.0-oraclelinux9 container_name: mysql_container - command: --default-authentication-plugin=mysql_native_password environment: MYSQL_ROOT_PASSWORD: mysql MYSQL_DATABASE: mysql @@ -29,8 +28,12 @@ services: MYSQL_PASSWORD: mysql ports: - "3307:3306" - - hammerdb: image: tpcorg/hammerdb:latest container_name: hammerdb_container + cockroachdb: + image: cockroachdb/cockroach:latest + container_name: cockroachdb_container + command: start-single-node --insecure + ports: + - "26257:26257" diff --git a/usage_scenario_cockroach.yml b/usage_scenario_cockroach.yml new file mode 100644 index 0000000..db6dedd --- /dev/null +++ b/usage_scenario_cockroach.yml @@ -0,0 +1,40 @@ +--- +name: HammerDB CockroachDB benchmark +author: Max Jahns +description: Benchmarks CockroachDB with HammerDB using TPC-C +compose-file: !include compose.yml +sci: + R_d: TPC-C SQL-op +services: + postgres: + mariadb: + mysql: + mssql: +flow: + - name: Build Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB BUILD + command: ./hammerdbcli auto /tmp/repo/cockroach/cockroach_tprocc_buildschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Query Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB RUN + command: ./hammerdbcli auto /tmp/repo/cockroach/cockroach_tprocc_run.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Drop Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB DROP + command: ./hammerdbcli auto /tmp/repo/cockroach/cockroach_tprocc_deleteschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true From ad1cca93c2a7e2a6ddccea64517021475bd3c25d Mon Sep 17 00:00:00 2001 From: MaximilianJahns Date: Wed, 13 May 2026 15:20:01 +0200 Subject: [PATCH 2/3] Remove deprecated sci key --- .../cockroach_tprocc_buildschema.tcl | 20 +++++++ .../cockroach_tprocc_deleteschema.tcl | 17 ++++++ test/cockroach/cockroach_tprocc_run.tcl | 33 ++++++++++++ test/maria/maria_tprocc_buildschema.tcl | 17 ++++++ test/maria/maria_tprocc_deleteschema.tcl | 13 +++++ test/maria/maria_tprocc_run.tcl | 28 ++++++++++ test/mssql/mssql_tprocc_buildschema.tcl | 21 ++++++++ test/mssql/mssql_tprocc_deleteschema.tcl | 19 +++++++ test/mssql/mssql_tprocc_run.tcl | 34 ++++++++++++ test/mysql/mysql_tprocc_buildschema.tcl | 17 ++++++ test/mysql/mysql_tprocc_deleteschema.tcl | 13 +++++ test/mysql/mysql_tprocc_run.tcl | 28 ++++++++++ test/oracle/oracle_tprocc_buildschema.tcl | 18 +++++++ test/oracle/oracle_tprocc_deleteschema.tcl | 12 +++++ test/oracle/oracle_tprocc_run.tcl | 29 ++++++++++ test/pg/pg_tprocc_buildschema.tcl | 20 +++++++ test/pg/pg_tprocc_deleteschema.tcl | 17 ++++++ test/pg/pg_tprocc_run.tcl | 33 ++++++++++++ usage_scenario_cockroach.yml | 2 - usage_scenario_cockroach_test.yml | 50 +++++++++++++++++ usage_scenario_maria_test.yml | 39 ++++++++++++++ usage_scenario_mssql_test.yml | 50 +++++++++++++++++ usage_scenario_mysql_test.yml | 39 ++++++++++++++ usage_scenario_oracle_test.yml | 53 +++++++++++++++++++ usage_scenario_pg_test.yml | 39 ++++++++++++++ 25 files changed, 659 insertions(+), 2 deletions(-) create mode 100644 test/cockroach/cockroach_tprocc_buildschema.tcl create mode 100644 test/cockroach/cockroach_tprocc_deleteschema.tcl create mode 100644 test/cockroach/cockroach_tprocc_run.tcl create mode 100644 test/maria/maria_tprocc_buildschema.tcl create mode 100644 test/maria/maria_tprocc_deleteschema.tcl create mode 100644 test/maria/maria_tprocc_run.tcl create mode 100644 test/mssql/mssql_tprocc_buildschema.tcl create mode 100644 test/mssql/mssql_tprocc_deleteschema.tcl create mode 100644 test/mssql/mssql_tprocc_run.tcl create mode 100644 test/mysql/mysql_tprocc_buildschema.tcl create mode 100644 test/mysql/mysql_tprocc_deleteschema.tcl create mode 100644 test/mysql/mysql_tprocc_run.tcl create mode 100644 test/oracle/oracle_tprocc_buildschema.tcl create mode 100644 test/oracle/oracle_tprocc_deleteschema.tcl create mode 100644 test/oracle/oracle_tprocc_run.tcl create mode 100644 test/pg/pg_tprocc_buildschema.tcl create mode 100644 test/pg/pg_tprocc_deleteschema.tcl create mode 100644 test/pg/pg_tprocc_run.tcl create mode 100644 usage_scenario_cockroach_test.yml create mode 100644 usage_scenario_maria_test.yml create mode 100644 usage_scenario_mssql_test.yml create mode 100644 usage_scenario_mysql_test.yml create mode 100644 usage_scenario_oracle_test.yml create mode 100644 usage_scenario_pg_test.yml diff --git a/test/cockroach/cockroach_tprocc_buildschema.tcl b/test/cockroach/cockroach_tprocc_buildschema.tcl new file mode 100644 index 0000000..99b754b --- /dev/null +++ b/test/cockroach/cockroach_tprocc_buildschema.tcl @@ -0,0 +1,20 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db pg +dbset bm TPC-C +diset connection pg_host cockroachdb_container +diset connection pg_port 26257 +diset connection pg_sslmode disable +diset tpcc pg_superuser root +diset tpcc pg_superuserpass "" +diset tpcc pg_defaultdbase defaultdb +diset tpcc pg_user root +diset tpcc pg_pass "" +diset tpcc pg_dbase defaultdb +diset tpcc pg_count_ware 1 +diset tpcc pg_num_vu 1 +diset tpcc pg_partition false +diset tpcc pg_raiseerror true +puts "SCHEMA BUILD STARTED" +buildschema +puts "SCHEMA BUILD COMPLETED" diff --git a/test/cockroach/cockroach_tprocc_deleteschema.tcl b/test/cockroach/cockroach_tprocc_deleteschema.tcl new file mode 100644 index 0000000..49a0316 --- /dev/null +++ b/test/cockroach/cockroach_tprocc_deleteschema.tcl @@ -0,0 +1,17 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db pg +dbset bm TPC-C +diset connection pg_host cockroachdb_container +diset connection pg_port 26257 +diset connection pg_sslmode disable +diset tpcc pg_superuser root +diset tpcc pg_superuserpass "" +diset tpcc pg_defaultdbase defaultdb +diset tpcc pg_user root +diset tpcc pg_pass "" +diset tpcc pg_dbase defaultdb +diset tpcc pg_raiseerror true +puts "DROP SCHEMA STARTED" +deleteschema +puts "DROP SCHEMA COMPLETED" diff --git a/test/cockroach/cockroach_tprocc_run.tcl b/test/cockroach/cockroach_tprocc_run.tcl new file mode 100644 index 0000000..584ad37 --- /dev/null +++ b/test/cockroach/cockroach_tprocc_run.tcl @@ -0,0 +1,33 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db pg +dbset bm TPC-C +diset connection pg_host cockroachdb_container +diset connection pg_port 26257 +diset connection pg_sslmode disable +diset tpcc pg_superuser root +diset tpcc pg_superuserpass "" +diset tpcc pg_defaultdbase defaultdb +diset tpcc pg_user root +diset tpcc pg_pass "" +diset tpcc pg_dbase defaultdb +diset tpcc pg_driver timed +diset tpcc pg_rampup 0 +diset tpcc pg_duration 1 +diset tpcc pg_allwarehouse true +diset tpcc pg_timeprofile true +diset tpcc pg_keyandthink true +diset tpcc pg_raiseerror true +loadscript +puts "TEST STARTED" +vuset vu 1 +vucreate +tcstart +tcstatus +set jobid [ vurun ] +vudestroy +tcstop +puts "TEST COMPLETE" +set of [ open /tmp/cockroach_tprocc w ] +puts $of $jobid +close $of diff --git a/test/maria/maria_tprocc_buildschema.tcl b/test/maria/maria_tprocc_buildschema.tcl new file mode 100644 index 0000000..a3a79b1 --- /dev/null +++ b/test/maria/maria_tprocc_buildschema.tcl @@ -0,0 +1,17 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db maria +dbset bm TPC-C +diset connection maria_host mariadb_container +diset connection maria_port 3306 +diset tpcc maria_count_ware 1 +diset tpcc maria_num_vu 1 +diset tpcc maria_user maria +diset tpcc maria_pass maria +diset tpcc maria_dbase maria +diset tpcc maria_storage_engine innodb +diset tpcc maria_partition false +diset tpcc maria_raiseerror true +puts "SCHEMA BUILD STARTED" +buildschema +puts "SCHEMA BUILD COMPLETED" diff --git a/test/maria/maria_tprocc_deleteschema.tcl b/test/maria/maria_tprocc_deleteschema.tcl new file mode 100644 index 0000000..8067ba2 --- /dev/null +++ b/test/maria/maria_tprocc_deleteschema.tcl @@ -0,0 +1,13 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db maria +dbset bm TPC-C +diset connection maria_host mariadb_container +diset connection maria_port 3306 +diset tpcc maria_user maria +diset tpcc maria_pass maria +diset tpcc maria_dbase maria +diset tpcc maria_raiseerror true +puts "DROP SCHEMA STARTED" +deleteschema +puts "DROP SCHEMA COMPLETED" diff --git a/test/maria/maria_tprocc_run.tcl b/test/maria/maria_tprocc_run.tcl new file mode 100644 index 0000000..2dd9398 --- /dev/null +++ b/test/maria/maria_tprocc_run.tcl @@ -0,0 +1,28 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db maria +dbset bm TPC-C +diset connection maria_host mariadb_container +diset connection maria_port 3306 +diset tpcc maria_user maria +diset tpcc maria_pass maria +diset tpcc maria_dbase maria +diset tpcc maria_driver timed +diset tpcc maria_rampup 0 +diset tpcc maria_duration 1 +diset tpcc maria_allwarehouse true +diset tpcc maria_timeprofile true +diset tpcc maria_raiseerror true +loadscript +puts "TEST STARTED" +vuset vu 1 +vucreate +tcstart +tcstatus +set jobid [ vurun ] +vudestroy +tcstop +puts "TEST COMPLETE" +set of [ open /tmp/maria_tprocc w ] +puts $of $jobid +close $of diff --git a/test/mssql/mssql_tprocc_buildschema.tcl b/test/mssql/mssql_tprocc_buildschema.tcl new file mode 100644 index 0000000..e53403e --- /dev/null +++ b/test/mssql/mssql_tprocc_buildschema.tcl @@ -0,0 +1,21 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db mssqls +dbset bm TPC-C +diset connection mssqls_tcp true +diset connection mssqls_port 1433 +diset connection mssqls_azure false +diset connection mssqls_encrypt_connection true +diset connection mssqls_trust_server_cert true +diset connection mssqls_linux_server mssql_container +diset connection mssqls_uid sa +diset connection mssqls_pass Mssql1234! +diset connection mssqls_linux_authent sql +diset connection mssqls_linux_odbc {ODBC Driver 18 for SQL Server} +diset tpcc mssqls_count_ware 1 +diset tpcc mssqls_num_vu 1 +diset tpcc mssqls_dbase tpcc +diset tpcc mssqls_raiseerror true +puts "SCHEMA BUILD STARTED" +buildschema +puts "SCHEMA BUILD COMPLETED" diff --git a/test/mssql/mssql_tprocc_deleteschema.tcl b/test/mssql/mssql_tprocc_deleteschema.tcl new file mode 100644 index 0000000..a4e3989 --- /dev/null +++ b/test/mssql/mssql_tprocc_deleteschema.tcl @@ -0,0 +1,19 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db mssqls +dbset bm TPC-C +diset connection mssqls_tcp true +diset connection mssqls_port 1433 +diset connection mssqls_azure false +diset connection mssqls_encrypt_connection true +diset connection mssqls_trust_server_cert true +diset connection mssqls_linux_server mssql_container +diset connection mssqls_uid sa +diset connection mssqls_pass Mssql1234! +diset connection mssqls_linux_authent sql +diset connection mssqls_linux_odbc {ODBC Driver 18 for SQL Server} +diset tpcc mssqls_dbase tpcc +diset tpcc mssqls_raiseerror true +puts "DROP SCHEMA STARTED" +deleteschema +puts "DROP SCHEMA COMPLETED" diff --git a/test/mssql/mssql_tprocc_run.tcl b/test/mssql/mssql_tprocc_run.tcl new file mode 100644 index 0000000..48d2ed1 --- /dev/null +++ b/test/mssql/mssql_tprocc_run.tcl @@ -0,0 +1,34 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db mssqls +dbset bm TPC-C +diset connection mssqls_tcp true +diset connection mssqls_port 1433 +diset connection mssqls_azure false +diset connection mssqls_encrypt_connection true +diset connection mssqls_trust_server_cert true +diset connection mssqls_linux_server mssql_container +diset connection mssqls_uid sa +diset connection mssqls_pass Mssql1234! +diset connection mssqls_linux_authent sql +diset connection mssqls_linux_odbc {ODBC Driver 18 for SQL Server} +diset tpcc mssqls_dbase tpcc +diset tpcc mssqls_driver timed +diset tpcc mssqls_rampup 0 +diset tpcc mssqls_duration 1 +diset tpcc mssqls_allwarehouse true +diset tpcc mssqls_timeprofile true +diset tpcc mssqls_raiseerror true +loadscript +puts "TEST STARTED" +vuset vu 1 +vucreate +tcstart +tcstatus +set jobid [ vurun ] +vudestroy +tcstop +puts "TEST COMPLETE" +set of [ open /tmp/mssql_tprocc w ] +puts $of $jobid +close $of diff --git a/test/mysql/mysql_tprocc_buildschema.tcl b/test/mysql/mysql_tprocc_buildschema.tcl new file mode 100644 index 0000000..b828e76 --- /dev/null +++ b/test/mysql/mysql_tprocc_buildschema.tcl @@ -0,0 +1,17 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db mysql +dbset bm TPC-C +diset connection mysql_host mysql_container +diset connection mysql_port 3307 +diset tpcc mysql_count_ware 1 +diset tpcc mysql_num_vu 1 +diset tpcc mysql_user mysql +diset tpcc mysql_pass mysql +diset tpcc mysql_dbase mysql +diset tpcc mysql_storage_engine innodb +diset tpcc mysql_partition false +diset tpcc mysql_raiseerror true +puts "SCHEMA BUILD STARTED" +buildschema +puts "SCHEMA BUILD COMPLETED" diff --git a/test/mysql/mysql_tprocc_deleteschema.tcl b/test/mysql/mysql_tprocc_deleteschema.tcl new file mode 100644 index 0000000..9977d66 --- /dev/null +++ b/test/mysql/mysql_tprocc_deleteschema.tcl @@ -0,0 +1,13 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db mysql +dbset bm TPC-C +diset connection mysql_host mysql_container +diset connection mysql_port 3307 +diset tpcc mysql_user mysql +diset tpcc mysql_pass mysql +diset tpcc mysql_dbase mysql +diset tpcc mysql_raiseerror true +puts "DROP SCHEMA STARTED" +deleteschema +puts "DROP SCHEMA COMPLETED" diff --git a/test/mysql/mysql_tprocc_run.tcl b/test/mysql/mysql_tprocc_run.tcl new file mode 100644 index 0000000..16f97c0 --- /dev/null +++ b/test/mysql/mysql_tprocc_run.tcl @@ -0,0 +1,28 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db mysql +dbset bm TPC-C +diset connection mysql_host mysql_container +diset connection mysql_port 3307 +diset tpcc mysql_user mysql +diset tpcc mysql_pass mysql +diset tpcc mysql_dbase mysql +diset tpcc mysql_driver timed +diset tpcc mysql_rampup 0 +diset tpcc mysql_duration 1 +diset tpcc mysql_allwarehouse true +diset tpcc mysql_timeprofile true +diset tpcc mysql_raiseerror true +loadscript +puts "TEST STARTED" +vuset vu 1 +vucreate +tcstart +tcstatus +set jobid [ vurun ] +vudestroy +tcstop +puts "TEST COMPLETE" +set of [ open /tmp/mysql_tprocc w ] +puts $of $jobid +close $of diff --git a/test/oracle/oracle_tprocc_buildschema.tcl b/test/oracle/oracle_tprocc_buildschema.tcl new file mode 100644 index 0000000..35b496a --- /dev/null +++ b/test/oracle/oracle_tprocc_buildschema.tcl @@ -0,0 +1,18 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db ora +dbset bm TPC-C +diset connection system_user system +diset connection system_password manager +diset connection instance //oracle_container:1521/freepdb1 +diset tpcc count_ware 1 +diset tpcc num_vu 1 +diset tpcc tpcc_user tpcc +diset tpcc tpcc_pass tpcc +diset tpcc tpcc_def_tab users +diset tpcc tpcc_def_temp temp +diset tpcc partition false +diset tpcc hash_clusters false +puts "SCHEMA BUILD STARTED" +buildschema +puts "SCHEMA BUILD COMPLETED" diff --git a/test/oracle/oracle_tprocc_deleteschema.tcl b/test/oracle/oracle_tprocc_deleteschema.tcl new file mode 100644 index 0000000..14d1f99 --- /dev/null +++ b/test/oracle/oracle_tprocc_deleteschema.tcl @@ -0,0 +1,12 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db ora +dbset bm TPC-C +diset connection system_user system +diset connection system_password manager +diset connection instance //oracle_container:1521/freepdb1 +diset tpcc tpcc_user tpcc +diset tpcc tpcc_pass tpcc +puts "DROP SCHEMA STARTED" +deleteschema +puts "DROP SCHEMA COMPLETED" diff --git a/test/oracle/oracle_tprocc_run.tcl b/test/oracle/oracle_tprocc_run.tcl new file mode 100644 index 0000000..43367f2 --- /dev/null +++ b/test/oracle/oracle_tprocc_run.tcl @@ -0,0 +1,29 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db ora +dbset bm TPC-C +diset connection system_user system +diset connection system_password manager +diset connection instance //oracle_container:1521/freepdb1 +diset tpcc tpcc_user tpcc +diset tpcc tpcc_pass tpcc +diset tpcc ora_driver timed +diset tpcc total_iterations 10000000 +diset tpcc rampup 0 +diset tpcc duration 1 +diset tpcc ora_timeprofile true +diset tpcc allwarehouse true +diset tpcc checkpoint false +loadscript +puts "TEST STARTED" +vuset vu 1 +vucreate +tcstart +tcstatus +set jobid [ vurun ] +vudestroy +tcstop +puts "TEST COMPLETE" +set of [ open /tmp/oracle_tprocc w ] +puts $of $jobid +close $of diff --git a/test/pg/pg_tprocc_buildschema.tcl b/test/pg/pg_tprocc_buildschema.tcl new file mode 100644 index 0000000..a77f46b --- /dev/null +++ b/test/pg/pg_tprocc_buildschema.tcl @@ -0,0 +1,20 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db pg +dbset bm TPC-C +diset connection pg_host postgres_container +diset connection pg_port 5432 +diset connection pg_sslmode disable +diset tpcc pg_superuser postgres +diset tpcc pg_superuserpass postgres +diset tpcc pg_defaultdbase postgres +diset tpcc pg_user postgres +diset tpcc pg_pass postgres +diset tpcc pg_dbase postgres +diset tpcc pg_count_ware 1 +diset tpcc pg_num_vu 1 +diset tpcc pg_partition false +diset tpcc pg_raiseerror true +puts "SCHEMA BUILD STARTED" +buildschema +puts "SCHEMA BUILD COMPLETED" diff --git a/test/pg/pg_tprocc_deleteschema.tcl b/test/pg/pg_tprocc_deleteschema.tcl new file mode 100644 index 0000000..166694b --- /dev/null +++ b/test/pg/pg_tprocc_deleteschema.tcl @@ -0,0 +1,17 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db pg +dbset bm TPC-C +diset connection pg_host postgres_container +diset connection pg_port 5432 +diset connection pg_sslmode disable +diset tpcc pg_superuser postgres +diset tpcc pg_superuserpass postgres +diset tpcc pg_defaultdbase postgres +diset tpcc pg_user postgres +diset tpcc pg_pass postgres +diset tpcc pg_dbase postgres +diset tpcc pg_raiseerror true +puts "DROP SCHEMA STARTED" +deleteschema +puts "DROP SCHEMA COMPLETED" diff --git a/test/pg/pg_tprocc_run.tcl b/test/pg/pg_tprocc_run.tcl new file mode 100644 index 0000000..9da79a4 --- /dev/null +++ b/test/pg/pg_tprocc_run.tcl @@ -0,0 +1,33 @@ +#!/bin/tclsh +puts "SETTING CONFIGURATION" +dbset db pg +dbset bm TPC-C +diset connection pg_host postgres_container +diset connection pg_port 5432 +diset connection pg_sslmode disable +diset tpcc pg_superuser postgres +diset tpcc pg_superuserpass postgres +diset tpcc pg_defaultdbase postgres +diset tpcc pg_user postgres +diset tpcc pg_pass postgres +diset tpcc pg_dbase postgres +diset tpcc pg_driver timed +diset tpcc pg_rampup 0 +diset tpcc pg_duration 1 +diset tpcc pg_allwarehouse true +diset tpcc pg_timeprofile true +diset tpcc pg_keyandthink true +diset tpcc pg_raiseerror true +loadscript +puts "TEST STARTED" +vuset vu 1 +vucreate +tcstart +tcstatus +set jobid [ vurun ] +vudestroy +tcstop +puts "TEST COMPLETE" +set of [ open /tmp/pg_tprocc w ] +puts $of $jobid +close $of diff --git a/usage_scenario_cockroach.yml b/usage_scenario_cockroach.yml index db6dedd..bdf8a14 100644 --- a/usage_scenario_cockroach.yml +++ b/usage_scenario_cockroach.yml @@ -3,8 +3,6 @@ name: HammerDB CockroachDB benchmark author: Max Jahns description: Benchmarks CockroachDB with HammerDB using TPC-C compose-file: !include compose.yml -sci: - R_d: TPC-C SQL-op services: postgres: mariadb: diff --git a/usage_scenario_cockroach_test.yml b/usage_scenario_cockroach_test.yml new file mode 100644 index 0000000..68a9e61 --- /dev/null +++ b/usage_scenario_cockroach_test.yml @@ -0,0 +1,50 @@ +--- +name: HammerDB CockroachDB benchmark (minimal test) +author: Max Jahns +description: Minimal test - Benchmarks CockroachDB with HammerDB using TPC-C (1 warehouse, 1 VU, 1 min) +compose-file: !include compose.yml +services: + postgres: + mariadb: + mysql: + mssql: + oracle: + depends_on: + cockroachdb: + condition: service_started +flow: + - name: Wait for CockroachDB + container: hammerdb_container + commands: + - type: console + note: Waiting for CockroachDB to be ready + command: sleep 20 + shell: sh + log-stdout: true + - name: Build Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB BUILD + command: ./hammerdbcli auto /tmp/repo/test/cockroach/cockroach_tprocc_buildschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Query Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB RUN + command: ./hammerdbcli auto /tmp/repo/test/cockroach/cockroach_tprocc_run.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Drop Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB DROP + command: ./hammerdbcli auto /tmp/repo/test/cockroach/cockroach_tprocc_deleteschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true diff --git a/usage_scenario_maria_test.yml b/usage_scenario_maria_test.yml new file mode 100644 index 0000000..b12d3dd --- /dev/null +++ b/usage_scenario_maria_test.yml @@ -0,0 +1,39 @@ +--- +name: HammerDB MariaDB benchmark (minimal test) +author: Didi Hoffmann +description: Minimal test - Benchmarks MariaDB with HammerDB using TPC-C (1 warehouse, 1 VU, 1 min) +compose-file: !include compose.yml +services: + postgres: + mysql: + mssql: + oracle: + cockroachdb: +flow: + - name: Build Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB BUILD + command: ./hammerdbcli auto /tmp/repo/test/maria/maria_tprocc_buildschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Query Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB RUN + command: ./hammerdbcli auto /tmp/repo/test/maria/maria_tprocc_run.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Drop Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB DROP + command: ./hammerdbcli auto /tmp/repo/test/maria/maria_tprocc_deleteschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true diff --git a/usage_scenario_mssql_test.yml b/usage_scenario_mssql_test.yml new file mode 100644 index 0000000..dca0f65 --- /dev/null +++ b/usage_scenario_mssql_test.yml @@ -0,0 +1,50 @@ +--- +name: HammerDB MSSQL benchmark (minimal test) +author: Max Jahns +description: Minimal test - Benchmarks SQL Server with HammerDB using TPC-C (1 warehouse, 1 VU, 1 min) +compose-file: !include compose.yml +services: + postgres: + mariadb: + mysql: + oracle: + cockroachdb: + depends_on: + mssql: + condition: service_started +flow: + - name: Wait for SQL Server + container: hammerdb_container + commands: + - type: console + note: Waiting for SQL Server to be ready + command: sleep 30 + shell: sh + log-stdout: true + - name: Build Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB BUILD + command: ./hammerdbcli auto /tmp/repo/test/mssql/mssql_tprocc_buildschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Query Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB RUN + command: ./hammerdbcli auto /tmp/repo/test/mssql/mssql_tprocc_run.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Drop Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB DROP + command: ./hammerdbcli auto /tmp/repo/test/mssql/mssql_tprocc_deleteschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true diff --git a/usage_scenario_mysql_test.yml b/usage_scenario_mysql_test.yml new file mode 100644 index 0000000..fc3ff7d --- /dev/null +++ b/usage_scenario_mysql_test.yml @@ -0,0 +1,39 @@ +--- +name: HammerDB MySQL benchmark (minimal test) +author: Didi Hoffmann +description: Minimal test - Benchmarks MySQL with HammerDB using TPC-C (1 warehouse, 1 VU, 1 min) +compose-file: !include compose.yml +services: + postgres: + mariadb: + mssql: + oracle: + cockroachdb: +flow: + - name: Build Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB BUILD + command: ./hammerdbcli auto /tmp/repo/test/mysql/mysql_tprocc_buildschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Query Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB RUN + command: ./hammerdbcli auto /tmp/repo/test/mysql/mysql_tprocc_run.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Drop Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB DROP + command: ./hammerdbcli auto /tmp/repo/test/mysql/mysql_tprocc_deleteschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true diff --git a/usage_scenario_oracle_test.yml b/usage_scenario_oracle_test.yml new file mode 100644 index 0000000..8d118e5 --- /dev/null +++ b/usage_scenario_oracle_test.yml @@ -0,0 +1,53 @@ +--- +name: HammerDB Oracle benchmark (minimal test) +author: Max Jahns +description: Minimal test - Benchmarks Oracle with HammerDB using TPC-C (1 warehouse, 1 VU, 1 min) +compose-file: !include compose.yml +ignore-unsupported-compose: true +services: + postgres: + mariadb: + mysql: + mssql: + cockroachdb: + image: container-registry.oracle.com/database/free:latest + hammerdb: + depends_on: + oracle: + condition: service_started +flow: + - name: Wait for Oracle + container: hammerdb_container + commands: + - type: console + note: Waiting for Oracle to be ready + command: sleep 120 + shell: sh + log-stdout: true + - name: Build Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB BUILD + command: ./hammerdbcli auto /tmp/repo/test/oracle/oracle_tprocc_buildschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Query Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB RUN + command: ./hammerdbcli auto /tmp/repo/test/oracle/oracle_tprocc_run.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Drop Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB DROP + command: ./hammerdbcli auto /tmp/repo/test/oracle/oracle_tprocc_deleteschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true diff --git a/usage_scenario_pg_test.yml b/usage_scenario_pg_test.yml new file mode 100644 index 0000000..3511a74 --- /dev/null +++ b/usage_scenario_pg_test.yml @@ -0,0 +1,39 @@ +--- +name: HammerDB PostgreSQL benchmark (minimal test) +author: Didi Hoffmann +description: Minimal test - Benchmarks PostgreSQL with HammerDB using TPC-C (1 warehouse, 1 VU, 1 min) +compose-file: !include compose.yml +services: + mariadb: + mysql: + mssql: + oracle: + cockroachdb: +flow: + - name: Build Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB BUILD + command: ./hammerdbcli auto /tmp/repo/test/pg/pg_tprocc_buildschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Query Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB RUN + command: ./hammerdbcli auto /tmp/repo/test/pg/pg_tprocc_run.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true + - name: Drop Warehouses + container: hammerdb_container + commands: + - type: console + note: RUN HAMMERDB DROP + command: ./hammerdbcli auto /tmp/repo/test/pg/pg_tprocc_deleteschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' + shell: sh + log-stdout: true + read-sci-stdout: true From b8e2f1116b70bfbc1fc13077e57c805bf85530e5 Mon Sep 17 00:00:00 2001 From: MaximilianJahns Date: Wed, 13 May 2026 15:21:20 +0200 Subject: [PATCH 3/3] Add .gitignore, remove test files from repo --- .gitignore | 2 + .../cockroach_tprocc_buildschema.tcl | 20 ------- .../cockroach_tprocc_deleteschema.tcl | 17 ------ test/cockroach/cockroach_tprocc_run.tcl | 33 ------------ test/maria/maria_tprocc_buildschema.tcl | 17 ------ test/maria/maria_tprocc_deleteschema.tcl | 13 ----- test/maria/maria_tprocc_run.tcl | 28 ---------- test/mssql/mssql_tprocc_buildschema.tcl | 21 -------- test/mssql/mssql_tprocc_deleteschema.tcl | 19 ------- test/mssql/mssql_tprocc_run.tcl | 34 ------------ test/mysql/mysql_tprocc_buildschema.tcl | 17 ------ test/mysql/mysql_tprocc_deleteschema.tcl | 13 ----- test/mysql/mysql_tprocc_run.tcl | 28 ---------- test/oracle/oracle_tprocc_buildschema.tcl | 18 ------- test/oracle/oracle_tprocc_deleteschema.tcl | 12 ----- test/oracle/oracle_tprocc_run.tcl | 29 ---------- test/pg/pg_tprocc_buildschema.tcl | 20 ------- test/pg/pg_tprocc_deleteschema.tcl | 17 ------ test/pg/pg_tprocc_run.tcl | 33 ------------ usage_scenario_cockroach_test.yml | 50 ----------------- usage_scenario_maria_test.yml | 39 -------------- usage_scenario_mssql_test.yml | 50 ----------------- usage_scenario_mysql_test.yml | 39 -------------- usage_scenario_oracle_test.yml | 53 ------------------- usage_scenario_pg_test.yml | 39 -------------- 25 files changed, 2 insertions(+), 659 deletions(-) create mode 100644 .gitignore delete mode 100644 test/cockroach/cockroach_tprocc_buildschema.tcl delete mode 100644 test/cockroach/cockroach_tprocc_deleteschema.tcl delete mode 100644 test/cockroach/cockroach_tprocc_run.tcl delete mode 100644 test/maria/maria_tprocc_buildschema.tcl delete mode 100644 test/maria/maria_tprocc_deleteschema.tcl delete mode 100644 test/maria/maria_tprocc_run.tcl delete mode 100644 test/mssql/mssql_tprocc_buildschema.tcl delete mode 100644 test/mssql/mssql_tprocc_deleteschema.tcl delete mode 100644 test/mssql/mssql_tprocc_run.tcl delete mode 100644 test/mysql/mysql_tprocc_buildschema.tcl delete mode 100644 test/mysql/mysql_tprocc_deleteschema.tcl delete mode 100644 test/mysql/mysql_tprocc_run.tcl delete mode 100644 test/oracle/oracle_tprocc_buildschema.tcl delete mode 100644 test/oracle/oracle_tprocc_deleteschema.tcl delete mode 100644 test/oracle/oracle_tprocc_run.tcl delete mode 100644 test/pg/pg_tprocc_buildschema.tcl delete mode 100644 test/pg/pg_tprocc_deleteschema.tcl delete mode 100644 test/pg/pg_tprocc_run.tcl delete mode 100644 usage_scenario_cockroach_test.yml delete mode 100644 usage_scenario_maria_test.yml delete mode 100644 usage_scenario_mssql_test.yml delete mode 100644 usage_scenario_mysql_test.yml delete mode 100644 usage_scenario_oracle_test.yml delete mode 100644 usage_scenario_pg_test.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7414edd --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +test/ +usage_scenario_*_test.yml diff --git a/test/cockroach/cockroach_tprocc_buildschema.tcl b/test/cockroach/cockroach_tprocc_buildschema.tcl deleted file mode 100644 index 99b754b..0000000 --- a/test/cockroach/cockroach_tprocc_buildschema.tcl +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db pg -dbset bm TPC-C -diset connection pg_host cockroachdb_container -diset connection pg_port 26257 -diset connection pg_sslmode disable -diset tpcc pg_superuser root -diset tpcc pg_superuserpass "" -diset tpcc pg_defaultdbase defaultdb -diset tpcc pg_user root -diset tpcc pg_pass "" -diset tpcc pg_dbase defaultdb -diset tpcc pg_count_ware 1 -diset tpcc pg_num_vu 1 -diset tpcc pg_partition false -diset tpcc pg_raiseerror true -puts "SCHEMA BUILD STARTED" -buildschema -puts "SCHEMA BUILD COMPLETED" diff --git a/test/cockroach/cockroach_tprocc_deleteschema.tcl b/test/cockroach/cockroach_tprocc_deleteschema.tcl deleted file mode 100644 index 49a0316..0000000 --- a/test/cockroach/cockroach_tprocc_deleteschema.tcl +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db pg -dbset bm TPC-C -diset connection pg_host cockroachdb_container -diset connection pg_port 26257 -diset connection pg_sslmode disable -diset tpcc pg_superuser root -diset tpcc pg_superuserpass "" -diset tpcc pg_defaultdbase defaultdb -diset tpcc pg_user root -diset tpcc pg_pass "" -diset tpcc pg_dbase defaultdb -diset tpcc pg_raiseerror true -puts "DROP SCHEMA STARTED" -deleteschema -puts "DROP SCHEMA COMPLETED" diff --git a/test/cockroach/cockroach_tprocc_run.tcl b/test/cockroach/cockroach_tprocc_run.tcl deleted file mode 100644 index 584ad37..0000000 --- a/test/cockroach/cockroach_tprocc_run.tcl +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db pg -dbset bm TPC-C -diset connection pg_host cockroachdb_container -diset connection pg_port 26257 -diset connection pg_sslmode disable -diset tpcc pg_superuser root -diset tpcc pg_superuserpass "" -diset tpcc pg_defaultdbase defaultdb -diset tpcc pg_user root -diset tpcc pg_pass "" -diset tpcc pg_dbase defaultdb -diset tpcc pg_driver timed -diset tpcc pg_rampup 0 -diset tpcc pg_duration 1 -diset tpcc pg_allwarehouse true -diset tpcc pg_timeprofile true -diset tpcc pg_keyandthink true -diset tpcc pg_raiseerror true -loadscript -puts "TEST STARTED" -vuset vu 1 -vucreate -tcstart -tcstatus -set jobid [ vurun ] -vudestroy -tcstop -puts "TEST COMPLETE" -set of [ open /tmp/cockroach_tprocc w ] -puts $of $jobid -close $of diff --git a/test/maria/maria_tprocc_buildschema.tcl b/test/maria/maria_tprocc_buildschema.tcl deleted file mode 100644 index a3a79b1..0000000 --- a/test/maria/maria_tprocc_buildschema.tcl +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db maria -dbset bm TPC-C -diset connection maria_host mariadb_container -diset connection maria_port 3306 -diset tpcc maria_count_ware 1 -diset tpcc maria_num_vu 1 -diset tpcc maria_user maria -diset tpcc maria_pass maria -diset tpcc maria_dbase maria -diset tpcc maria_storage_engine innodb -diset tpcc maria_partition false -diset tpcc maria_raiseerror true -puts "SCHEMA BUILD STARTED" -buildschema -puts "SCHEMA BUILD COMPLETED" diff --git a/test/maria/maria_tprocc_deleteschema.tcl b/test/maria/maria_tprocc_deleteschema.tcl deleted file mode 100644 index 8067ba2..0000000 --- a/test/maria/maria_tprocc_deleteschema.tcl +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db maria -dbset bm TPC-C -diset connection maria_host mariadb_container -diset connection maria_port 3306 -diset tpcc maria_user maria -diset tpcc maria_pass maria -diset tpcc maria_dbase maria -diset tpcc maria_raiseerror true -puts "DROP SCHEMA STARTED" -deleteschema -puts "DROP SCHEMA COMPLETED" diff --git a/test/maria/maria_tprocc_run.tcl b/test/maria/maria_tprocc_run.tcl deleted file mode 100644 index 2dd9398..0000000 --- a/test/maria/maria_tprocc_run.tcl +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db maria -dbset bm TPC-C -diset connection maria_host mariadb_container -diset connection maria_port 3306 -diset tpcc maria_user maria -diset tpcc maria_pass maria -diset tpcc maria_dbase maria -diset tpcc maria_driver timed -diset tpcc maria_rampup 0 -diset tpcc maria_duration 1 -diset tpcc maria_allwarehouse true -diset tpcc maria_timeprofile true -diset tpcc maria_raiseerror true -loadscript -puts "TEST STARTED" -vuset vu 1 -vucreate -tcstart -tcstatus -set jobid [ vurun ] -vudestroy -tcstop -puts "TEST COMPLETE" -set of [ open /tmp/maria_tprocc w ] -puts $of $jobid -close $of diff --git a/test/mssql/mssql_tprocc_buildschema.tcl b/test/mssql/mssql_tprocc_buildschema.tcl deleted file mode 100644 index e53403e..0000000 --- a/test/mssql/mssql_tprocc_buildschema.tcl +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db mssqls -dbset bm TPC-C -diset connection mssqls_tcp true -diset connection mssqls_port 1433 -diset connection mssqls_azure false -diset connection mssqls_encrypt_connection true -diset connection mssqls_trust_server_cert true -diset connection mssqls_linux_server mssql_container -diset connection mssqls_uid sa -diset connection mssqls_pass Mssql1234! -diset connection mssqls_linux_authent sql -diset connection mssqls_linux_odbc {ODBC Driver 18 for SQL Server} -diset tpcc mssqls_count_ware 1 -diset tpcc mssqls_num_vu 1 -diset tpcc mssqls_dbase tpcc -diset tpcc mssqls_raiseerror true -puts "SCHEMA BUILD STARTED" -buildschema -puts "SCHEMA BUILD COMPLETED" diff --git a/test/mssql/mssql_tprocc_deleteschema.tcl b/test/mssql/mssql_tprocc_deleteschema.tcl deleted file mode 100644 index a4e3989..0000000 --- a/test/mssql/mssql_tprocc_deleteschema.tcl +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db mssqls -dbset bm TPC-C -diset connection mssqls_tcp true -diset connection mssqls_port 1433 -diset connection mssqls_azure false -diset connection mssqls_encrypt_connection true -diset connection mssqls_trust_server_cert true -diset connection mssqls_linux_server mssql_container -diset connection mssqls_uid sa -diset connection mssqls_pass Mssql1234! -diset connection mssqls_linux_authent sql -diset connection mssqls_linux_odbc {ODBC Driver 18 for SQL Server} -diset tpcc mssqls_dbase tpcc -diset tpcc mssqls_raiseerror true -puts "DROP SCHEMA STARTED" -deleteschema -puts "DROP SCHEMA COMPLETED" diff --git a/test/mssql/mssql_tprocc_run.tcl b/test/mssql/mssql_tprocc_run.tcl deleted file mode 100644 index 48d2ed1..0000000 --- a/test/mssql/mssql_tprocc_run.tcl +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db mssqls -dbset bm TPC-C -diset connection mssqls_tcp true -diset connection mssqls_port 1433 -diset connection mssqls_azure false -diset connection mssqls_encrypt_connection true -diset connection mssqls_trust_server_cert true -diset connection mssqls_linux_server mssql_container -diset connection mssqls_uid sa -diset connection mssqls_pass Mssql1234! -diset connection mssqls_linux_authent sql -diset connection mssqls_linux_odbc {ODBC Driver 18 for SQL Server} -diset tpcc mssqls_dbase tpcc -diset tpcc mssqls_driver timed -diset tpcc mssqls_rampup 0 -diset tpcc mssqls_duration 1 -diset tpcc mssqls_allwarehouse true -diset tpcc mssqls_timeprofile true -diset tpcc mssqls_raiseerror true -loadscript -puts "TEST STARTED" -vuset vu 1 -vucreate -tcstart -tcstatus -set jobid [ vurun ] -vudestroy -tcstop -puts "TEST COMPLETE" -set of [ open /tmp/mssql_tprocc w ] -puts $of $jobid -close $of diff --git a/test/mysql/mysql_tprocc_buildschema.tcl b/test/mysql/mysql_tprocc_buildschema.tcl deleted file mode 100644 index b828e76..0000000 --- a/test/mysql/mysql_tprocc_buildschema.tcl +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db mysql -dbset bm TPC-C -diset connection mysql_host mysql_container -diset connection mysql_port 3307 -diset tpcc mysql_count_ware 1 -diset tpcc mysql_num_vu 1 -diset tpcc mysql_user mysql -diset tpcc mysql_pass mysql -diset tpcc mysql_dbase mysql -diset tpcc mysql_storage_engine innodb -diset tpcc mysql_partition false -diset tpcc mysql_raiseerror true -puts "SCHEMA BUILD STARTED" -buildschema -puts "SCHEMA BUILD COMPLETED" diff --git a/test/mysql/mysql_tprocc_deleteschema.tcl b/test/mysql/mysql_tprocc_deleteschema.tcl deleted file mode 100644 index 9977d66..0000000 --- a/test/mysql/mysql_tprocc_deleteschema.tcl +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db mysql -dbset bm TPC-C -diset connection mysql_host mysql_container -diset connection mysql_port 3307 -diset tpcc mysql_user mysql -diset tpcc mysql_pass mysql -diset tpcc mysql_dbase mysql -diset tpcc mysql_raiseerror true -puts "DROP SCHEMA STARTED" -deleteschema -puts "DROP SCHEMA COMPLETED" diff --git a/test/mysql/mysql_tprocc_run.tcl b/test/mysql/mysql_tprocc_run.tcl deleted file mode 100644 index 16f97c0..0000000 --- a/test/mysql/mysql_tprocc_run.tcl +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db mysql -dbset bm TPC-C -diset connection mysql_host mysql_container -diset connection mysql_port 3307 -diset tpcc mysql_user mysql -diset tpcc mysql_pass mysql -diset tpcc mysql_dbase mysql -diset tpcc mysql_driver timed -diset tpcc mysql_rampup 0 -diset tpcc mysql_duration 1 -diset tpcc mysql_allwarehouse true -diset tpcc mysql_timeprofile true -diset tpcc mysql_raiseerror true -loadscript -puts "TEST STARTED" -vuset vu 1 -vucreate -tcstart -tcstatus -set jobid [ vurun ] -vudestroy -tcstop -puts "TEST COMPLETE" -set of [ open /tmp/mysql_tprocc w ] -puts $of $jobid -close $of diff --git a/test/oracle/oracle_tprocc_buildschema.tcl b/test/oracle/oracle_tprocc_buildschema.tcl deleted file mode 100644 index 35b496a..0000000 --- a/test/oracle/oracle_tprocc_buildschema.tcl +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db ora -dbset bm TPC-C -diset connection system_user system -diset connection system_password manager -diset connection instance //oracle_container:1521/freepdb1 -diset tpcc count_ware 1 -diset tpcc num_vu 1 -diset tpcc tpcc_user tpcc -diset tpcc tpcc_pass tpcc -diset tpcc tpcc_def_tab users -diset tpcc tpcc_def_temp temp -diset tpcc partition false -diset tpcc hash_clusters false -puts "SCHEMA BUILD STARTED" -buildschema -puts "SCHEMA BUILD COMPLETED" diff --git a/test/oracle/oracle_tprocc_deleteschema.tcl b/test/oracle/oracle_tprocc_deleteschema.tcl deleted file mode 100644 index 14d1f99..0000000 --- a/test/oracle/oracle_tprocc_deleteschema.tcl +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db ora -dbset bm TPC-C -diset connection system_user system -diset connection system_password manager -diset connection instance //oracle_container:1521/freepdb1 -diset tpcc tpcc_user tpcc -diset tpcc tpcc_pass tpcc -puts "DROP SCHEMA STARTED" -deleteschema -puts "DROP SCHEMA COMPLETED" diff --git a/test/oracle/oracle_tprocc_run.tcl b/test/oracle/oracle_tprocc_run.tcl deleted file mode 100644 index 43367f2..0000000 --- a/test/oracle/oracle_tprocc_run.tcl +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db ora -dbset bm TPC-C -diset connection system_user system -diset connection system_password manager -diset connection instance //oracle_container:1521/freepdb1 -diset tpcc tpcc_user tpcc -diset tpcc tpcc_pass tpcc -diset tpcc ora_driver timed -diset tpcc total_iterations 10000000 -diset tpcc rampup 0 -diset tpcc duration 1 -diset tpcc ora_timeprofile true -diset tpcc allwarehouse true -diset tpcc checkpoint false -loadscript -puts "TEST STARTED" -vuset vu 1 -vucreate -tcstart -tcstatus -set jobid [ vurun ] -vudestroy -tcstop -puts "TEST COMPLETE" -set of [ open /tmp/oracle_tprocc w ] -puts $of $jobid -close $of diff --git a/test/pg/pg_tprocc_buildschema.tcl b/test/pg/pg_tprocc_buildschema.tcl deleted file mode 100644 index a77f46b..0000000 --- a/test/pg/pg_tprocc_buildschema.tcl +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db pg -dbset bm TPC-C -diset connection pg_host postgres_container -diset connection pg_port 5432 -diset connection pg_sslmode disable -diset tpcc pg_superuser postgres -diset tpcc pg_superuserpass postgres -diset tpcc pg_defaultdbase postgres -diset tpcc pg_user postgres -diset tpcc pg_pass postgres -diset tpcc pg_dbase postgres -diset tpcc pg_count_ware 1 -diset tpcc pg_num_vu 1 -diset tpcc pg_partition false -diset tpcc pg_raiseerror true -puts "SCHEMA BUILD STARTED" -buildschema -puts "SCHEMA BUILD COMPLETED" diff --git a/test/pg/pg_tprocc_deleteschema.tcl b/test/pg/pg_tprocc_deleteschema.tcl deleted file mode 100644 index 166694b..0000000 --- a/test/pg/pg_tprocc_deleteschema.tcl +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db pg -dbset bm TPC-C -diset connection pg_host postgres_container -diset connection pg_port 5432 -diset connection pg_sslmode disable -diset tpcc pg_superuser postgres -diset tpcc pg_superuserpass postgres -diset tpcc pg_defaultdbase postgres -diset tpcc pg_user postgres -diset tpcc pg_pass postgres -diset tpcc pg_dbase postgres -diset tpcc pg_raiseerror true -puts "DROP SCHEMA STARTED" -deleteschema -puts "DROP SCHEMA COMPLETED" diff --git a/test/pg/pg_tprocc_run.tcl b/test/pg/pg_tprocc_run.tcl deleted file mode 100644 index 9da79a4..0000000 --- a/test/pg/pg_tprocc_run.tcl +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/tclsh -puts "SETTING CONFIGURATION" -dbset db pg -dbset bm TPC-C -diset connection pg_host postgres_container -diset connection pg_port 5432 -diset connection pg_sslmode disable -diset tpcc pg_superuser postgres -diset tpcc pg_superuserpass postgres -diset tpcc pg_defaultdbase postgres -diset tpcc pg_user postgres -diset tpcc pg_pass postgres -diset tpcc pg_dbase postgres -diset tpcc pg_driver timed -diset tpcc pg_rampup 0 -diset tpcc pg_duration 1 -diset tpcc pg_allwarehouse true -diset tpcc pg_timeprofile true -diset tpcc pg_keyandthink true -diset tpcc pg_raiseerror true -loadscript -puts "TEST STARTED" -vuset vu 1 -vucreate -tcstart -tcstatus -set jobid [ vurun ] -vudestroy -tcstop -puts "TEST COMPLETE" -set of [ open /tmp/pg_tprocc w ] -puts $of $jobid -close $of diff --git a/usage_scenario_cockroach_test.yml b/usage_scenario_cockroach_test.yml deleted file mode 100644 index 68a9e61..0000000 --- a/usage_scenario_cockroach_test.yml +++ /dev/null @@ -1,50 +0,0 @@ ---- -name: HammerDB CockroachDB benchmark (minimal test) -author: Max Jahns -description: Minimal test - Benchmarks CockroachDB with HammerDB using TPC-C (1 warehouse, 1 VU, 1 min) -compose-file: !include compose.yml -services: - postgres: - mariadb: - mysql: - mssql: - oracle: - depends_on: - cockroachdb: - condition: service_started -flow: - - name: Wait for CockroachDB - container: hammerdb_container - commands: - - type: console - note: Waiting for CockroachDB to be ready - command: sleep 20 - shell: sh - log-stdout: true - - name: Build Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB BUILD - command: ./hammerdbcli auto /tmp/repo/test/cockroach/cockroach_tprocc_buildschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true - - name: Query Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB RUN - command: ./hammerdbcli auto /tmp/repo/test/cockroach/cockroach_tprocc_run.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true - - name: Drop Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB DROP - command: ./hammerdbcli auto /tmp/repo/test/cockroach/cockroach_tprocc_deleteschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true diff --git a/usage_scenario_maria_test.yml b/usage_scenario_maria_test.yml deleted file mode 100644 index b12d3dd..0000000 --- a/usage_scenario_maria_test.yml +++ /dev/null @@ -1,39 +0,0 @@ ---- -name: HammerDB MariaDB benchmark (minimal test) -author: Didi Hoffmann -description: Minimal test - Benchmarks MariaDB with HammerDB using TPC-C (1 warehouse, 1 VU, 1 min) -compose-file: !include compose.yml -services: - postgres: - mysql: - mssql: - oracle: - cockroachdb: -flow: - - name: Build Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB BUILD - command: ./hammerdbcli auto /tmp/repo/test/maria/maria_tprocc_buildschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true - - name: Query Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB RUN - command: ./hammerdbcli auto /tmp/repo/test/maria/maria_tprocc_run.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true - - name: Drop Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB DROP - command: ./hammerdbcli auto /tmp/repo/test/maria/maria_tprocc_deleteschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true diff --git a/usage_scenario_mssql_test.yml b/usage_scenario_mssql_test.yml deleted file mode 100644 index dca0f65..0000000 --- a/usage_scenario_mssql_test.yml +++ /dev/null @@ -1,50 +0,0 @@ ---- -name: HammerDB MSSQL benchmark (minimal test) -author: Max Jahns -description: Minimal test - Benchmarks SQL Server with HammerDB using TPC-C (1 warehouse, 1 VU, 1 min) -compose-file: !include compose.yml -services: - postgres: - mariadb: - mysql: - oracle: - cockroachdb: - depends_on: - mssql: - condition: service_started -flow: - - name: Wait for SQL Server - container: hammerdb_container - commands: - - type: console - note: Waiting for SQL Server to be ready - command: sleep 30 - shell: sh - log-stdout: true - - name: Build Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB BUILD - command: ./hammerdbcli auto /tmp/repo/test/mssql/mssql_tprocc_buildschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true - - name: Query Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB RUN - command: ./hammerdbcli auto /tmp/repo/test/mssql/mssql_tprocc_run.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true - - name: Drop Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB DROP - command: ./hammerdbcli auto /tmp/repo/test/mssql/mssql_tprocc_deleteschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true diff --git a/usage_scenario_mysql_test.yml b/usage_scenario_mysql_test.yml deleted file mode 100644 index fc3ff7d..0000000 --- a/usage_scenario_mysql_test.yml +++ /dev/null @@ -1,39 +0,0 @@ ---- -name: HammerDB MySQL benchmark (minimal test) -author: Didi Hoffmann -description: Minimal test - Benchmarks MySQL with HammerDB using TPC-C (1 warehouse, 1 VU, 1 min) -compose-file: !include compose.yml -services: - postgres: - mariadb: - mssql: - oracle: - cockroachdb: -flow: - - name: Build Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB BUILD - command: ./hammerdbcli auto /tmp/repo/test/mysql/mysql_tprocc_buildschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true - - name: Query Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB RUN - command: ./hammerdbcli auto /tmp/repo/test/mysql/mysql_tprocc_run.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true - - name: Drop Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB DROP - command: ./hammerdbcli auto /tmp/repo/test/mysql/mysql_tprocc_deleteschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true diff --git a/usage_scenario_oracle_test.yml b/usage_scenario_oracle_test.yml deleted file mode 100644 index 8d118e5..0000000 --- a/usage_scenario_oracle_test.yml +++ /dev/null @@ -1,53 +0,0 @@ ---- -name: HammerDB Oracle benchmark (minimal test) -author: Max Jahns -description: Minimal test - Benchmarks Oracle with HammerDB using TPC-C (1 warehouse, 1 VU, 1 min) -compose-file: !include compose.yml -ignore-unsupported-compose: true -services: - postgres: - mariadb: - mysql: - mssql: - cockroachdb: - image: container-registry.oracle.com/database/free:latest - hammerdb: - depends_on: - oracle: - condition: service_started -flow: - - name: Wait for Oracle - container: hammerdb_container - commands: - - type: console - note: Waiting for Oracle to be ready - command: sleep 120 - shell: sh - log-stdout: true - - name: Build Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB BUILD - command: ./hammerdbcli auto /tmp/repo/test/oracle/oracle_tprocc_buildschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true - - name: Query Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB RUN - command: ./hammerdbcli auto /tmp/repo/test/oracle/oracle_tprocc_run.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true - - name: Drop Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB DROP - command: ./hammerdbcli auto /tmp/repo/test/oracle/oracle_tprocc_deleteschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true diff --git a/usage_scenario_pg_test.yml b/usage_scenario_pg_test.yml deleted file mode 100644 index 3511a74..0000000 --- a/usage_scenario_pg_test.yml +++ /dev/null @@ -1,39 +0,0 @@ ---- -name: HammerDB PostgreSQL benchmark (minimal test) -author: Didi Hoffmann -description: Minimal test - Benchmarks PostgreSQL with HammerDB using TPC-C (1 warehouse, 1 VU, 1 min) -compose-file: !include compose.yml -services: - mariadb: - mysql: - mssql: - oracle: - cockroachdb: -flow: - - name: Build Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB BUILD - command: ./hammerdbcli auto /tmp/repo/test/pg/pg_tprocc_buildschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true - - name: Query Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB RUN - command: ./hammerdbcli auto /tmp/repo/test/pg/pg_tprocc_run.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true - - name: Drop Warehouses - container: hammerdb_container - commands: - - type: console - note: RUN HAMMERDB DROP - command: ./hammerdbcli auto /tmp/repo/test/pg/pg_tprocc_deleteschema.tcl | tee /dev/stderr | awk '/System achieved [0-9]+ NOPM/ { match($0, /System achieved [0-9]+ NOPM/); printf("GMT_SCI_R=%s\n", substr($0, RSTART+16, RLENGTH-21)) }' - shell: sh - log-stdout: true - read-sci-stdout: true