-
Notifications
You must be signed in to change notification settings - Fork 91
Home
This project is a Python-based framework of the TPC-C OLTP benchmark for NoSQL systems. This code was originally written by Brown University students for a graduate seminar course on NoSQL Systems. The framework is designed to be modular to allow for new drivers to be written for different systems.
The framework requires either Python 2.7 or Python 2.6 with the argparse package installed. Each driver may also require additional packages (see documentation below).
DISCLAIMER: This implementation does not follow the benchmark specification exactly and cannot be used for official benchmark result reports.
Assuming that you already have MongoDB installed on you local machine, you can test this benchmark using the following commands.
-
Dump out the system's configuration to a file and then make any changes you need to that file (e.g., passwords, hostname).
$ python tpcc.py --print-config mongodb > mongodb.config
-
Then execute tpcc.py again to insert the TPC-C tables and data into the database and then execute the transactional workload:
$ python tpcc.py --config=mongodb.config mongodb