You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (Jira)" <ji...@apache.org> on 2024/12/02 16:37:00 UTC

[jira] [Created] (OAK-11291) Tree store: speed up merging, and concurrent indexing

Thomas Mueller created OAK-11291:
------------------------------------

             Summary: Tree store: speed up merging, and concurrent indexing
                 Key: OAK-11291
                 URL: https://issues.apache.org/jira/browse/OAK-11291
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: indexing
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller


When downloading from MongoDB, the tree store currently merges after each 10 batches. This is not efficient if there are lots of entries. I found (experimentally) that merging after 25 batches speed up downloading a large store by a factor of 2.

Concurrent indexing: I found it is faster to use the default merge policy, and not the serial scheduler. It is better to keep merges enabled. And so, it is better to complete merging when closing (the default setting).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)