[
https://issues.apache.org/jira/browse/OAK-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Reutegger resolved OAK-3112.
-----------------------------------
Resolution: Fixed
Thanks for the review. Makes sense to enable it later by default. The
HybridMapFactory can be enabled with {{-Doak.useHybridMapFactory=true}}.
Committed to 1.0 branch: http://svn.apache.org/r1692079
> Performance degradation of UnsavedModifications on MapDB
> --------------------------------------------------------
>
> Key: OAK-3112
> URL: https://issues.apache.org/jira/browse/OAK-3112
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, mongomk
> Affects Versions: 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.0.11, 1.0.12, 1.0.13,
> 1.0.14, 1.0.15, 1.0.16, 1.0.17
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Labels: performance
> Fix For: 1.0.18
>
> Attachments: OAK-3112.patch
>
>
> UnsavedModifications performance degrades when used in combination with the
> MapDB backed MapFactory. Calls become more and more expensive the longer the
> instance is in use. The is caused by a limitation of MapDB, which does not
> remove empty BTree nodes.
> A test performed with random paths added to the map and later removed again
> in a loop shows a increase to roughly 1 second to read keys present in the
> map when the underlying data file is about 50MB in size.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)