Make sure Python 3.8 or higher is installed
pip install sqlite
pip install numpy
sudo apt install sqlite3
pip install sqlite pip install numpy sudo apt install sqlite3
- Install dependencies
cd pytpcc
pip install -r requirements.txt
- Generate duckdb driver config file
python tpcc.py --print-config sqlite > /tmp/sqlite.config
- Modify config file to specify the db path
vim /tmp/sqlite.config
database = /tmp/sqlite/tpcc.db
- Load data
python tpcc.py --no-execute --config=/tmp/sqlite.config --warehouses=1 --ddl=duckdb.sql sqlite
- Follow above steps to load data
- Execute
python tpcc.py --no-load --config=/tmp/sqlite.config --warehouses=1 sqlite