Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2105

Review padding for blobs collection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.6
    • core, mongomk
    • None

    Description

      MongoDB does some default padding when it stores documents. The default
      policy adds some padding and then rounds up to the next power of 2 number
      of bytes. For the blobs collection with documents that are written once
      and never modified, this default behavior may not be optimal. E.g. the
      Oak lucene directory implementation splits data into 32k chunks and stores
      them as multi-valued binary properties. This leads to documents that are
      slightly over 32k bytes in size and MongoDB will allocate 64k for it.
      Half of the space is wasted.

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: