Database Reference
In-Depth Information
The Yahoo Cloud Serving Benchmark (YCSB) project is the industry standard for eval-
uation of various cloud data stores and key-value data stores using various workloads
in parallel execution. It was released by Yahoo's research labs in 2010 and is hosted at
https://github.com/brianfrankcooper/YCSB .
YCSB is totally decoupled and extensible to add any new datastore-specific client.
Configuring and running YCSB is fairly easy. In this recipe we will discuss config-
uring the YCSB framework with Cassandra.
1.
First, you can build the jar from the source itself or download the tar-
ball from
https://github.com/downloads/brianfrankcooper/
YCSB/ycsb-0.1.4.tar.gz
2.
Extract the tarball and change the directory:
cd ycsb-0.1.4
3.
By default YCSB would insert data into the usertable keyspace
and in the table named data . So run the following command from
Cassandra-cli to create data definitions:
create keyspace usertable;
use usertable;
create column family data;
4.
Next create a property file (e.g., Cassandra-yc-
sb.properties ) with the following properties:
hosts=localhost
port=9160
fieldcount=4
threads=9
recordcount=1000
operationcount=1000
workload=com.yahoo.ycsb.workloads.CoreWorkload
readallfields=true
readproportion=0.5
updateproportion=0.5
Search WWH ::




Custom Search