Skip to content

Files

Latest commit

ranaalotaibiMSRana AlotaibiRana Alotaibibpkroth
Feb 14, 2025
15ad613 · Feb 14, 2025

History

History

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 14, 2025
Dec 14, 2023
Apr 2, 2023
Jun 28, 2023
Apr 4, 2023
Dec 7, 2023
Sep 30, 2024
Apr 2, 2023
Feb 14, 2025
Mar 29, 2022
Jun 28, 2023
May 31, 2024

Docker Use

Scripts in this directory can be used to quickly run a benchmark against a sample database.

For instance:

# Set which database to target.
export BENCHBASE_PROFILE='sqlserver'
# Set which benchmark to run.
benchmark='tpcc'

# Optional additional overrides (defaults shown):

# Set which profiles to build.
export BENCHBASE_PROFILES=$BENCHBASE_PROFILE
# Specify a different version of the profile to use (suffix in this directory).
export PROFILE_VERSION='latest'
# Whether or not to rebuild the package/image.
export CLEAN_BUILD="false"
# When rebuilding, whether or not to run the unit tests.
export SKIP_TESTS="true"

./docker/build-run-benchmark-with-docker.sh $benchmark

This will use the selected profile's up.sh script to start the database as a local container, and the run-full-image.sh to optionally build benchbase and then run the benchmark against it.