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 "Rishabh Daim (Jira)" <ji...@apache.org> on 2024/05/17 10:12:00 UTC

[jira] [Created] (OAK-10813) Improve performance of Oak-mongo.js function to remove/list nodes

Rishabh Daim created OAK-10813:
----------------------------------

             Summary: Improve performance of Oak-mongo.js function to remove/list nodes
                 Key: OAK-10813
                 URL: https://issues.apache.org/jira/browse/OAK-10813
             Project: Jackrabbit Oak
          Issue Type: Improvement
            Reporter: Rishabh Daim
            Assignee: Rishabh Daim


Functions *oak.removeDescendantsAndSelf()* & *oak.listRootTempNodes()* & *oak.removeRootTempNodes()* are very slow.

One thing that can be done to improve their performance is that we could use projections to fetch only *_id*, since we only need *_id* to remove them.



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