Skip to content
Snippets Groups Projects
user avatar
Andy Kruth authored
The version bump required some fixes because of changes to the OrientDB
API as well as to accomodate for changes in thread safety for testing.
b1088253
History
Name Last commit Last update
..
src
README.md
pom.xml

Quick Start

This section describes how to run YCSB on OrientDB running locally.

1. Set Up YCSB

Clone the YCSB git repository and compile:

git clone https://github.com/brianfrankcooper/YCSB.git
cd YCSB
mvn clean package

2. Run YCSB

Now you are ready to run! First, load the data:

./bin/ycsb load orientdb -s -P workloads/workloada

Then, run the workload:

./bin/ycsb run orientdb -s -P workloads/workloada

See the next section for the list of configuration parameters for OrientDB.

OrientDB Configuration Parameters

OrientDB.url (default: local:C:/temp/databases/ycsb)

OrientDB.user (default admin)

OrientDB.password (default admin)

Known Issues

  • There is a performance issue around the scan operation. This binding uses OIndex.iterateEntriesMajor() which will return unnecessarily large iterators. This has a performance impact as the recordcount goes up. There are ideas in the works to fix it, track it here: #568.
  • The OIndexCursor used to run the scan operation currently seems to be broken. Because of this, if the startkey and recordcount combination on a particular operation were to cause the iterator to go to the end, a NullPointerException is thrown. With sufficiently high record counts, this does not happen very often, but it could cause false negatives. Track that issue here: https://github.com/orientechnologies/orientdb/issues/5541.