~mbruzek/charms/trusty/mongodb/limited-network

« back to all changes in this revision

Viewing changes to README.md

  • Committer: Tim Van Steenburgh
  • Date: 2015-05-15 15:17:07 UTC
  • mfrom: (68.1.3 mongodb)
  • Revision ID: tim.van.steenburgh@canonical.com-20150515151707-a0wn5yjktrekln6h
[aisrael] Add support for benchmarking mongodb with mongoperf, using juju actions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
236
236
 
237
237
To fetch the backups scp the files down from the path in the config.
238
238
 
 
239
### Benchmarking
 
240
 
 
241
Mongo units can be benchmarked via the `perf` juju action, available beginning with juju 1.23.
 
242
 
 
243
    $ juju action defined mongodb
 
244
    perf: The standard mongoperf benchmark.
 
245
    $ juju action do mongodb/0 perf
 
246
    Action queued with id: 23532149-15c2-47f0-8d97-115fb7dfa1cd
 
247
    $ juju action fetch --wait 0 23532149-15c2-47f0-8d97-115fb7dfa1cd
 
248
    results:
 
249
      meta:
 
250
        composite:
 
251
          direction: desc
 
252
          units: ops/sec
 
253
          value: "7736507.70391"
 
254
        start: 2015-05-07T16:36:04Z
 
255
        stop: 2015-05-07T16:39:05Z
 
256
      results:
 
257
        average:
 
258
          units: ops/sec
 
259
          value: "7736507.70391"
 
260
        iterations:
 
261
          units: iterations
 
262
          value: "179"
 
263
        max:
 
264
          units: ops/sec
 
265
          value: "10282496"
 
266
        min:
 
267
          units: ops/sec
 
268
          value: "3874546"
 
269
        total:
 
270
          units: ops
 
271
          value: "1384834879"
 
272
    status: completed
 
273
    timing:
 
274
      completed: 2015-05-07 16:39:06 +0000 UTC
 
275
      enqueued: 2015-05-07 16:36:01 +0000 UTC
 
276
      started: 2015-05-07 16:36:04 +0000 UTC
 
277
 
239
278
## Known Limitations and Issues
240
279
 
241
280
- If your master/slave/replicaset deployment is not updating correctly, check the log files at `/var/log/mongodb/mongodb.log` to see if there is an obvious reason ( port not open etc.).