Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2866

Document that --auditFormat JSON is slower than --auditFormat BSON

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None
    • $ uname -a
      Linux localhost.localdomain 3.12.10-300.fc20.x86_64 #1 SMP Thu Feb 6 22:11:48 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

    Description

      While audit introduces a non-trivial overhead on any workload (reads become writes), different formats used have different impact.
      In my tests – audit with --auditFormat BSON introduces 2x slowdown on a read-only workload, while --auditForrmat JSON introduces a 4x slowdown (see attached screenshot).
      This is kind of expected, since translating BSON into JSON is not all that efficient, but this should be documented.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            davide.italiano Davide Italiano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 49 weeks, 2 days ago