8000 GitHub - FranckPachot/py-tpcc: Python implementation of TPC-C
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

FranckPachot/py-tpcc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ycqlsh> create keyspace tpcc;


bash

curl -sSL https://downloads.yugabyte.com/get_clients.sh | bash
ln -s "/py-tpcc/pytpcc/yugabyte-client-2.16.0.1/bin/ycqlsh" /usr/local/bin/ycqlsh
ycqlsh yb 9042 -e 'create keyspace tpcc'

/usr/local/bin/python -m pip install --upgrade pip
pip install pycassa cqlsh
pip install yb-cassandra-driver --install-option="--no-cython"
cd /py-tpcc/pytpcc/

cat > ycql.config <<'CONFIG'
[cassandra]
# Keyspace
keyspace             = tpcc
# ReplicationFactor
replicationfactor    = 1
# The host address to the Cassandra database
hostname             = yb
# Port number
port                 = 9042
# Name
name                 = tpcc
CONFIG


python tpcc.py --config=ycql.config cassandra

About

Python implementation of TPC-C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Roff 0.2%
0