Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caosiyang/mongodb-benchmark-with-ycsb
MongoDB benchmark with YCSB
https://github.com/caosiyang/mongodb-benchmark-with-ycsb
Last synced: 8 days ago
JSON representation
MongoDB benchmark with YCSB
- Host: GitHub
- URL: https://github.com/caosiyang/mongodb-benchmark-with-ycsb
- Owner: caosiyang
- Created: 2013-06-25T08:56:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-19T07:02:12.000Z (almost 10 years ago)
- Last Synced: 2024-11-07T03:25:36.386Z (about 2 months ago)
- Language: Shell
- Homepage:
- Size: 3.32 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MongoDB benchmark with YCSB
## Usage
```
# sh mongodb_load.sh --help
Usage: mongodb_load.sh [OPTION VALUE] ...
OPTIONS:
--host host of mongodb instance, default: localhost
--port port of mongodb instance, default: 27017
--recordcount amount of records, default: 10000
--operationcount number of operations to perform, default: 10000
--recordlength length of record, default: 1024 bytes, 8 fields
--readproportion what proportion of operations should be reads, default: 1
--updateproportion what proportion of operations should be updates, default: 0
--threadcount amount of threads, default: 40
--target target throughput, default: not set
-h, --help usage information# sh mongodb_run.sh --help
Usage: mongodb_run.sh [OPTION VALUE] ...
OPTIONS:
--host host of mongodb instance, default: localhost
--port port of mongodb instance, default: 27017
--recordcount amount of records, default: 10000
--operationcount number of operations to perform, default: 10000
--recordlength length of record, default: 1024 bytes, 8 fields
--readproportion what proportion of operations should be reads, default: 1
--updateproportion what proportion of operations should be updates, default: 0
--threadcount amount of threads, default: 40
--target target throughput, default: not set
-h, --help usage information
```## Note
Workload will be generated on collection `ycsb.ycsb` of the mongo instance.
You need to drop database `ycsb` before you generate a new workload.