http://wiki.github.com/brianfrankcooper/YCSB/
http://research.yahoo.com/Web_Information_Management/YCSB/
[email protected]
-
Download the latest release of YCSB:
wget https://github.com/downloads/brianfrankcooper/YCSB/ycsb-0.1.4.tar.gz tar xfvz ycsb-0.1.4 cd ycsb-0.1.4 -
Set up a database to benchmark. There is a README file under each binding directory.
-
Run YCSB command.
bin/ycsb load basic -P workloads/workloada bin/ycsb run basic -P workloads/workloada
Running the ycsb command without any argument will print the usage.
See https://github.com/brianfrankcooper/YCSB/wiki/Running-a-Workload for a detailed documentation on how to run a workload.
See https://github.com/brianfrankcooper/YCSB/wiki/Core-Properties for the list of available workload properties.
Level DB is a simple key-value data store. This can be imagined as a table with two columns: key and value. The keys are sorted in lexicographical order by default. By altering the naming mechanism of the key, one can alter the way leveldb stores data. This driver is used to evaluate the performance of different naming schemes against YCSB workload.
This driver supports three naming schems Row Major Column Major Full Row
Please check leveldb/leveldb_bench.sh that has examples of how to use this driver
