Details
- Tag
- 0.10.0-RC3
<!-- Copyright (c) 2012 - 2016 YCSB contributors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. See accompanying LICENSE file. -->
This section describes how to run YCSB on OrientDB running locally.
Clone the YCSB git repository and compile:
git clone https://github.com/brianfrankcooper/YCSB.git cd YCSB mvn clean package
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.
This client will create a database for you if the connection database you specify does not exists. You can also specify connection information to a preexisting database.
You can use the `orientdb.newdb=true`` property to allow this client to drop and create a new database instance during the `load`` phase.