New Browse the v6.0 Documentation below or jump to earlier versions.

HammerDB Documentation

Find install guides, quick start, workload details, GUI, CLI, metrics and more.

Table of Contents (v6.0)

Table of Contents

1. Installation and Configuration
1. Release Notes
1.1. HammerDB v6.0 Overview
1.2. CI and Pipeline Automation
1.3. Metrics, I/O Metrics and Active Session History
1.4. Result Upload, Sharing and Metadata Capture
1.5. Performance Profiles and Timing Percentiles
1.6. Web Service and SCGI Support
1.7. Remove HammerDB v5.0 Persistent Configuration Files Before Installation
2. Linux Wayland Display Server Has Slow Refresh on Ubuntu
3. Known Third-Party Driver Issues
3.1. Oracle on Windows: Oracle Bug 12733000 OCIStmtRelease Crashes or Hangs if Called After Freeing the Service Context Handle
3.2. SQL Server on Linux: unixODBC Handle Validation May Become a Performance Bottleneck
3.3. MySQL on Linux: C++ Runtime Library Load Issue
3.4. Db2 Driver is Not Included in the HammerDB Docker Image or Build
4. Linux Xft Font and Cairo Graphics Pre-Installation Requirements
5. Documentation License, Copyright and Contribution
6. HammerDB v6.0 New Features
6.1. Overview
6.2. CI and Pipeline Automation
6.3. Metrics and Active Session History
6.4. Result Upload, Sharing and Metadata Capture
6.5. Performance Profiles and Timing Percentiles
6.6. Web Service and Automation Improvements
6.7. Pull Request Summary
7. Test Matrix
8. Downloading HammerDB
9. Checksum Verification
10. Installing and Starting HammerDB on Windows
10.1. Self-Extracting Installer
10.2. tar.gz File
10.3. Starting HammerDB
10.4. Uninstalling HammerDB
11. Installing and Starting HammerDB on Linux
11.1. Install and Uninstall Red Hat .rpm file
11.2. Install and Uninstall Ubuntu .deb file
11.3. Install and Uninstall the Tar.gz File
11.4. Starting HammerDB
12. HammerDB Docker Container Build & Run
12.1. Docker Image
12.2. Dockerfile Download and Installation
12.3. Building the HammerDB Container
12.4. Running the Container
12.4.1. IBM Client Install
12.5. Connecting the Container to the Network
13. HammerDB CI and Pipeline Automation
13.1. CI Test Environment Layout
13.2. HammerDB CI Commands
13.3. Initialise the CI Environment with cifix
13.4. Review and Update CI Configuration
13.5. Start the CI Listener
13.6. Start the HammerDB Web Service
13.7. Running a Benchmark from the Pipelines Page
13.8. Jobs and Reports Created by CI
13.9. Running Profiles and Comparisons
13.10. Running Pipelines in the CLI
13.11. Running Pipelines with a Webhook
14. Verifying the Installation of Database Client Libraries
14.1. Oracle Client
14.2. SQL Server
14.3. Db2
14.4. MySQL
14.5. MariaDB
14.6. PostgreSQL
15. XML & Persistent Configuration
16. Themes and Scalable Graphics
17. Building HammerDB from Source
17.1. Compiler & Dependency Install on Linux
17.2. Compiler & Dependency Install on Windows
17.3. Download HammerDB Source
17.4. Running the Build
17.5. HammerDB License
2. Quick Start
1. Building the Schema
2. Checking the Schema
3. Run a Test Workload
4. Run a Timed Workload
5. Using the Transaction Counter
6. Browsing Results
7. Deleting the Schema
3. Introduction to OLTP Testing (TPROC-C derived from TPC-C)
1. What is a Transactional Workload
2. What is the TPC and the TPROC-C workload derived from TPC-C?
3. HammerDB TPROC-C workload
4. Comparing HammerDB results
5. Understanding the TPROC-C workload derived from TPC-C
6. TPROC-C key similarities and differences from TPC-C
7. How many warehouses to create for the TPROC-C test
8. Publishing database performance results
4. How to Run a TPROC-C Workload
1. Test Network Configuration
1.1. SUT Database Server Configuration
1.2. Load Generation Server Configuration
1.3. CPU Single-Threaded Performance Calibration
2. Installation and Configuration
2.1. Oracle
2.2. Microsoft SQL Server
2.3. Db2
2.4. MySQL
2.5. MariaDB
2.6. PostgreSQL
3. Configuring Schema Build Options
3.1. Oracle Schema Build Options
3.2. Microsoft SQL Server Schema Build Options
3.2.1. In-Memory Optimized Tables
3.2.2. Build Options
3.3. Db2 Schema Build Options
3.4. MySQL Schema Build Options
3.5. MariaDB Schema Build Options
3.6. PostgreSQL Schema Build Options
4. Creating the Schema
5. Checking the Schema
6. Deleting the Schema
6.1. Deleting or Verifying the Oracle Schema
6.2. Deleting or Verifying the SQL Server Schema and In-memory Schema
6.3. Deleting or Verifying the Db2 Schema
6.4. Deleting or Verifying the MySQL Schema
6.5. Deleting or Verifying the MariaDB Schema
6.6. Deleting or Verifying the PostgreSQL Schema
7. Configuring Driver Script options
8. Advanced Driver Script Options
8.1. Use All Warehouses for increased I/O
8.2. Time Profile for measuring Response Times
8.3. Fixed Throughput and Scaling to thousands of sessions
8.4. Cluster Connect Pool for Cluster Testing
8.5. Step Testing with Variable Load
9. Additional Driver Script Options for Stored Procedures and Server Side Reports: PostgreSQL, MySQL, MariaDB, Oracle, Db2 and EnterpriseDB PostgreSQL
9.1. PostgreSQL Stored Procedures
9.2. MySQL Prepare Statements
9.3. MariaDB Prepare Statements
9.4. No Stored Procedures Option for MySQL and MariaDB
9.5. MariaDB Purge when complete
9.6. Oracle AWR Reports
9.7. Db2 MONREPORT
10. Loading the Driver Script
11. Configure Virtual Users
12. Create and Run Virtual Users
5. Autopilot for Automated Testing
1. Configure and Run Autopilot
2. Autopilot Troubleshooting
3. Extending Autopilot to start automatically
6. Transactions
1. Oracle Transaction Counter
2. SQL Server Transaction Counter
3. Db2 Transaction Counter
4. MySQL Transaction Counter
5. MariaDB Transaction Counter
6. PostgreSQL Transaction Counter
7. Running the Transaction Counter
8. Logging Transaction Counter Output
7. System Discovery, CPU, I/O and Database Metrics
1. Start the Agent Manually
2. Configure Metrics Manually
3. Configure Metrics Automatically
4. Monitor Metrics
5. Viewing Job Metrics Data
6. Oracle Database Metrics - Active Session History
7. PostgreSQL Database Metrics - Active Session History
8. MySQL and MariaDB Database Metrics
8. Remote Primary and Replica Modes
1. Primary Mode
2. Replica Mode
3. Primary Distribution
9. Command Line Interface (CLI)
1. Start the CLI
2. Start the CLI in Python
3. CLI Commands
3.1. CLI commands in Python
4. Configure Schema Build
5. Building the Schema
6. Configure Driver
7. Configure Virtual Users
8. Run the workload
9. CLI Scripting in Tcl
10. CLI Scripting in Python
11. CLI Example Scripts Driven by Bash and PowerShell
12. CLI Jobs Interface
10. Viewing Jobs with the Web Service Interface (WS)
1. Web Service Configuration
2. Starting and Stopping the Web Service
3. Jobs Home Page
4. Benchmark Report
5. Submitting a Benchmark Report
6. Charts, Timing, Metrics and Profiles
7. Pipelines from the Web Service
8. Using Web Service Output for Automation
11. Introduction to Analytic Testing (TPROC-H derived from TPC-H) and Cloud Queries
1. What is TPROC-H derived from TPC-H?
2. Running the Power and Throughput Test and Calculating the Geometric Mean
3. Choosing a Database for running TPROC-H workloads
3.1. Oracle
3.2. Microsoft SQL Server
3.3. Db2
3.4. PostgreSQL
3.5. MySQL
3.6. MariaDB
4. Benchmarking Database Cloud Services
4.1. Redshift Cloud Analytic Workload
12. How to Run an Analytic Workload
1. SUT Database Server Configuration
2. Installation and Configuration
2.1. Oracle
2.2. SQL Server
2.3. Db2
2.4. PostgreSQL
2.5. MySQL
2.6. MariaDB
3. Configuring Schema Build Options
3.1. Oracle Schema Build Options
3.2. SQL Server Schema Build Options
3.3. Db2 Schema Build Options
3.4. MySQL Schema Build Options
3.5. MariaDB Schema Build Options
3.6. PostgreSQL Schema Build Options
4. Creating the Schema
4.1. Verifying and Backing-Up the Oracle Schema
4.2. Verifying and Backing Up the SQL Server Schema
4.3. Verifying and Backing up the Db2 Schema
4.4. Verifying and Backing up the MySQL Schema
4.5. Verifying and Backing up the MariaDB Schema
4.6. Verifying and Backing up the PostgreSQL Schema
5. Checking the Schema
6. Configuring Driver Script Options
7. Loading the Driver Script
8. Configure Virtual Users
9. Run a Single Virtual User Test
9.1. Changing the Query Order
10. Run a Power Test
11. Run a Throughput Test
11.1. SQL Server Snapshot Isolation
12. Calculate the Geometric Mean
13. Generating and Loading Bulk Datasets
1. Generate the Dataset
2. Generate the Dataset with the CLI
3. Generate the template database
3.1. Capture and run the table creation DDL
3.1.1. Oracle
3.1.2. SQL Server
3.1.3. Db2
3.1.4. MySQL
3.1.5. PostgreSQL/Amazon Redshift
4. Run the bulk data load
4.1. Oracle
4.2. SQL Server
4.3. Db2
4.4. MySQL
4.5. MariaDB
4.6. PostgreSQL/Amazon Redshift
14. Oracle Trace File Replay
1. Generating Trace Files
2. Converting Oracle Trace Files
3. Replaying Oracle Trace Files
4. Capturing Errors from Trace File Workloads
15. GNU Free Documentation License
Versioned Documentation Index