-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Getting Started
YCSB is a framework for benchmarking systems. By itself, it is not particularly useful; only when you add code to interface with a data serving system is it useful. The current YCSB release (0.2.0) contains code to interface with the following systems:
- Accumulo
- Cassandra
- Couchbase
- DynamoDB
- ElasticSearch
- VMware vFabric GemFire
- HBase
- HyperTable
- Infinispan
- JDBC
- MongoDB
- OrientDB
- Redis
- Tarantool
It is straightforward to interface with other database systems - see Adding a Database.
If you'll be running on Windows, please start by referencing our prerequisites for Windows.
Download the latest version:
curl -O https://github.com/brianfrankcooper/YCSB/releases/download/0.2.0/ycsb-0.2.0.tar.gz
tar xfvz ycsb-0.2.0.tar.gz
cd ycsb-0.2.0
Or clone the git repository and build:
git clone git://github.com/brianfrankcooper/YCSB.git
cd YCSB
mvn clean package
Systems may have additional requirements for running clients. For example, HBase requires the client be able to contact Zookeeper. See HBase 0.20.3 Client Package Description for HBase-specific instructions. Some details are listed in Using the Database Libraries.
You will be using the ycsb
command to interact with YCSB. Run:
./bin/ycsb
to see the usage.
See Running a Workload.