Tpcc

Java implementation of TPC-C benchmark
Alternatives To Tpcc
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Sysbench5,470
23 days ago1February 27, 2018179gpl-2.0C
Scriptable database and system performance benchmark
Alisql4,554
a year ago48gpl-2.0C++
AliSQL is a MySQL branch originated from Alibaba Group. Fetch document from Release Notes at bottom.
Tsung2,397
9 months ago1February 27, 2018123gpl-2.0Erlang
Tsung is a high-performance benchmark framework for various protocols including HTTP, XMPP, LDAP, etc.
Laravel Binary Uuid523
25 years ago15September 24, 2018mitPHP
Optimised binary UUIDs in Laravel
Hammerdb468
a day ago16gpl-3.0Tcl
HammerDB Database Load Testing and Benchmarking Tool
Linkbench403
4 years ago4apache-2.0Java
Facebook Graph Benchmark
Sysbench Tpcc180
2 years ago17apache-2.0Lua
Sysbench scripts to generate a tpcc-like workload for MySQL and PostgreSQL
Benchmark Php161
3 months ago1mitPHP
:rocket: A benchmark script for PHP and MySQL (Archived)
Mysql Haskell119
821 days ago21August 30, 202316bsd-3-clauseHaskell
Pure haskell mysql driver
Benchyou99
2 years ago1gpl-3.0Go
benchyou is a benchmark tool for MySQL, real-time monitoring TPS and vmstat/iostat
Alternatives To Tpcc
Select To Compare


Alternative Project Comparisons
Readme

Java TPC-C

This project is a Java implementation of the TPC-C benchmark.

========= Compiling

Use this command to compile the code and produce a fat jar.

mvn package assembly:single

======== Database

To create the tpcc schema in MySQL:

cd database
mysql -u root
> create database tpcc;
> use tpcc;
> source create_tables.sql
> source add_fkey_idx.sql

It is possible to load data without the foreign keys and indexes in place and then add those after loading data to improve loading times.

================================= Generating and loading TPC-C data

Data can be loaded directly into a MySQL instance and can also be generated to CSV files that can be loaded into MySQL later using LOAD DATA INFILE.

In tpcc.properties set the MODE to either CSV or JDBC.

To run the load process:

java -classpath target/tpcc-1.0.0-SNAPSHOT-jar-with-dependencies.jar com.codefutures.tpcc.TpccLoad

It is possible to load data into shards where the warehouse ID is used as a shard key. The SHARDCOUNT and SHARDID properties must be set correctly when generating or loading data.

This option requires the use of a JDBC driver that supports automatic sharding, such as dbShards (http://www.dbshards.com).

=========================== Running the TPC-C Benchmark

Review the TPC-C settings in tpcc.properties, then run this command To run the tpcc benchmarks:

java -classpath target/tpcc-1.0.0-SNAPSHOT-jar-with-dependencies.jar com.codefutures.tpcc.Tpcc

Bugs can be reported to [email protected].

(c) 2014 CodeFutures Corporation.

Popular Benchmark Projects
Popular Mysql Projects
Popular Software Performance Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Mysql
Benchmark
Jdbc