Skip to content
apavlo edited this page May 30, 2011 · 26 revisions

This project is a Python-based framework of the TPC-C OLTP benchmark for NoSQL systems. This code was originally written by students in the Brown University 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.

DISCLAIMER: This implementation does not follow the benchmark specification exactly and cannot be used for official benchmark result reports.

Quick Start

Assuming that you already have MongoDB installed on you local machine, you can test this benchmark using the following commands.

  1. 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
    
  2. 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
    

Supported Drivers

Clone this wiki locally