[ 
https://issues.apache.org/jira/browse/OAK-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14629463#comment-14629463
 ] 

Marcel Reutegger commented on OAK-3112:
---------------------------------------

Added a test to 1.0 branch, which shows the degradation over time: 
http://svn.apache.org/r1691340

> 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
>             Fix For: 1.0.18
>
>
> 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)

Reply via email to