Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YCSB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
2cfb144a
Commit
2cfb144a
authored
13 years ago
by
m1ch1
Browse files
Options
Downloads
Patches
Plain Diff
gh-66 added more stuff in BUILD. added db links in ycsb.
parent
c2aadd36
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
BUILD
+7
-0
7 additions, 0 deletions
BUILD
bin/ycsb
+6
-3
6 additions, 3 deletions
bin/ycsb
with
13 additions
and
3 deletions
BUILD
+
7
−
0
View file @
2cfb144a
...
...
@@ -4,6 +4,13 @@ To build YCSB, run:
mvn
clean
package
# Running YCSB
Once
`mvn clean package`
succeeds
,
you
can
run
`ycsb`
command
:
.
/
bin
/
ycsb
load
basic
workloads
/
workloada
.
/
bin
/
ycsb
run
basic
workloads
/
workloada
# Oracle NoSQL Database
Oracle
NoSQL
Database
binding
doesn
'
t get built by default because there is no
...
...
This diff is collapsed.
Click to expand it.
bin/ycsb
+
6
−
3
View file @
2cfb144a
...
...
@@ -4,6 +4,7 @@ import os
import
sys
import
subprocess
BASE_URL
=
"
https://github.com/brianfrankcooper/YCSB/tree/master/
"
COMMANDS
=
{
"
load
"
:
{
"
command
"
:
"
-load
"
,
...
...
@@ -47,7 +48,7 @@ def usage():
print
"
\n
Databases:
"
for
db
in
sorted
(
DATABASES
.
keys
()):
print
"
%s
"
%
db
print
"
{0:13} {1}
"
.
format
(
db
,
BASE_URL
+
db
.
split
(
"
-
"
)[
0
])
print
"""
\n
Workload Files:
There are various predefined workloads under workloads/ directory.
...
...
@@ -66,8 +67,9 @@ def find_jars(dir, database):
jars
.
append
(
dirpath
)
for
filename
in
filenames
:
if
filename
.
endswith
(
"
.jar
"
)
and
\
filename
.
startswith
(
"
core
"
)
or
\
filename
.
startswith
(
database
.
split
(
"
-
"
)[
0
]):
(
filename
.
startswith
(
"
core
"
)
or
\
filename
.
startswith
(
database
.
split
(
"
-
"
)[
0
])
or
\
not
"
binding
"
in
filename
):
jars
.
append
(
os
.
path
.
join
(
dirpath
,
filename
))
return
jars
...
...
@@ -96,4 +98,5 @@ options = sys.argv[4:]
ycsb_command
=
[
"
java
"
,
"
-cp
"
,
"
:
"
.
join
(
find_jars
(
ycsb_home
,
database
)),
\
"
com.yahoo.ycsb.Client
"
,
command
,
"
-db
"
,
db_classname
,
\
"
-P
"
,
workload
]
+
options
print
"
"
.
join
(
ycsb_command
)
subprocess
.
call
(
ycsb_command
)
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