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

TarMK compaction

    XMLWordPrintableJSON

Details

    Description

      The TarMK would benefit from periodic "compact" operations that would traverse and recreate (parts of) the content tree in order to optimize the storage layout. More specifically, such compaction would:

      • Optimize performance by increasing locality and reducing duplication, both of which improve the effectiveness of caching.
      • Allow the garbage collector to release more unused disk space by removing references to segments where only a subset of content is reachable.

      Attachments

        1. compaction.patch
          13 kB
          Alex Deparvu
        2. SegmentNodeStore.java.patch
          2 kB
          Alex Deparvu
        3. compact-on-flush.patch
          3 kB
          Alex Deparvu
        4. fast-equals.patch
          21 kB
          Alex Deparvu
        5. compaction-map-as-bytebuffer.patch
          21 kB
          Alex Deparvu

        Activity

          People

            stillalex Alex Deparvu
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: