Skip to content
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.

Add support for running oltpbenchmark as an external executable cmd. #322

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xunzhang
Copy link
Contributor

@xunzhang xunzhang commented Apr 8, 2020

Currently, the command oltpbenchmark can only run in the home folder of the project. If user wants to run oltpbenchmark as an external command(which could be easily integrated into the code), they should fix several hard-coded places.

Here, I add the OLTPBENCH_HOME environmental variable to support this. There is no pollution or previous logic(OLTPBENCH_HOME can be empty in case of not setting it).

Usage:
export OLTPBENCH_HOME=~/oltpbench/

@xunzhang xunzhang changed the title Add support for running oltpbenchmark as an external executable tool. Add support for running oltpbenchmark as an external executable cmd. Apr 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant