Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YCSB
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adnan Ahmad
YCSB
Commits
488ef7f3
Commit
488ef7f3
authored
11 years ago
by
Gianfranco Palumbo
Committed by
Robert J. Moore
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added 'Install Maven and Java' instructions Ycsb config parameters
example
parent
aa1e56af
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mongodb/README.md
+40
-10
40 additions, 10 deletions
mongodb/README.md
with
40 additions
and
10 deletions
mongodb/README.md
+
40
−
10
View file @
488ef7f3
...
...
@@ -7,13 +7,32 @@ This section describes how to run YCSB on MongoDB running locally.
First, download MongoDB and start
`mongod`
. For example, to start MongoDB
on x86-64 Linux box:
wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-
1.8.3
.tgz
tar xfvz mongodb-linux-x86_64-
1.8.3
.tgz
wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-
x.x.x
.tgz
tar xfvz mongodb-linux-x86_64-
*
.tgz
mkdir /tmp/mongodb
cd mongodb-linux-x86_64-
1.8.3
cd mongodb-linux-x86_64-
*
./bin/mongod --dbpath /tmp/mongodb
### 2. Set Up YCSB
### 2. Install Maven and Java
Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html
and get the url to download the rpm into your server. For example:
wget http://download.oracle.com/otn-pub/java/jdk/7u40-b43/jdk-7u40-linux-x64.rpm?AuthParam=11232426132 -o jdk-7u40-linux-x64.rpm
rpm -Uvh jdk-7u40-linux-x64.rpm
Download MVN from http://maven.apache.org/download.cgi
wget http://ftp.heanet.ie/mirrors/www.apache.org/dist/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz
sudo tar xzf apache-maven-*-bin.tar.gz -C /usr/local
cd /usr/local
sudo ln -s apache-maven-* maven
sudo vi /etc/profile.d/maven.sh
bash
mvn -version
### 3. Set Up YCSB
Clone the YCSB git repository and compile:
...
...
@@ -21,7 +40,7 @@ Clone the YCSB git repository and compile:
cd YCSB
mvn clean package
###
3
. Run YCSB
###
4
. Run YCSB
Now you are ready to run! First, load the data:
...
...
@@ -35,12 +54,23 @@ See the next section for the list of configuration parameters for MongoDB.
## MongoDB Configuration Parameters
### `mongodb.url` (default: `mongodb://localhost:27017`)
-
`mongodb.url`
default:
`mongodb://localhost:27017`
-
`mongodb.database`
default:
`ycsb`
-
`mongodb.writeConcern`
default
`acknowledged`
-
options are :
-
`errors_ignored`
-
`unacknowledged`
-
`acknowledged`
-
`journaled`
-
`replica_acknowledged`
-
`mongodb.maxconnections`
(default
`100`
)
###
`mongodb.
database
` (default
:
`
ycsb
`)
-
`mongodb.
threadsAllowedToBlockForConnectionMultiplier
`
(default
`
5
`
)
### `mongodb.writeConcern` (default `acknowledged`, options are `errors_ignored`, `unacknowledged`, `acknowledged`, `journaled`, `replica_acknowledged`)
For example:
### `mongodb.maxconnections` (default `10`)
./bin/ycsb load mongodb -s -P workloads/workloada -p mongodb.writeConcern=unacknowledged
### `mongodb.threadsAllowedToBlockForConnectionMultiplier` (default `5`)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment