Mariosplivalo Mongodb
- By Mario Splivalo
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 8 | 19 Mar 2021 |
juju deploy mariosplivalo-mongodb
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
-
dump
Runs the mongodump command
- Params
-
args string
The arguments to pass to the mongodump command
-
workingDir string
The directory to run the mongodump command from.
-
perf
The standard mongoperf benchmark.
- Params
-
fileSizeMB integer
Test file size, in megabytes.
-
mmf boolean
Set mmf to true to use memory mapped files for the tests.
-
nthreads integer
Defines the number of threads mongoperf will use in the test. To saturate your system’s storage system you will need multiple threads. Consider setting nThreads to 16.
-
r boolean
Set r to true to perform reads as part of the tests.
-
recSizeKB integer
The size of each write operation, in kilobytes.
-
runtime integer
The time, in seconds, to run mongoperf.
-
sleepMicros integer
mongoperf will pause for the number of specified sleepMicros divided by the nThreads between each operation.
-
syncDelay integer
Seconds between disk flushes. mongoperf.syncDelay is similar to --syncdelay for mongod.
The syncDelay controls how frequently mongoperf performs an asynchronous disk flush of the memory mapped file used for testing. By default, mongod performs this operation every 60 seconds. Use syncDelay to test basic system performance of this type of operation.
Only use syncDelay in conjunction with mmf set to true.
-
w boolean
Set w to true to perform writes as part of the tests.
-
restore
Runs the mongorestore command
- Params
-
args string
The arguments to pass to the mongorestore command
-
workingDir string
The directory to run the mongorestore command from.