[ https://issues.apache.org/jira/browse/OAK-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14010185#comment-14010185 ]
Jukka Zitting commented on OAK-1804: ------------------------------------ I'd rather not do such bulk clearing of old checkpoints. There might be a valid use case for removing selected checkpoints (like an old backup that's no longer needed), but simply dropping all checkpoints older than a given timestamp seems like too blunt a tool to me. > TarMK compaction > ---------------- > > Key: OAK-1804 > URL: https://issues.apache.org/jira/browse/OAK-1804 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: segmentmk > Reporter: Jukka Zitting > Assignee: Alex Parvulescu > Labels: production, tools > Fix For: 1.0.1, 1.1 > > Attachments: SegmentNodeStore.java.patch, compaction.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.2#6252)