We are operating on a large repository. I see this warning message re-occurring and am concerned the expired assets are not fully listed to the authors. Is there an index which can be used or created to solve this?
com.day.cq.dam.core.impl.ExpiryNotificationJobImpl] org.apache.jackrabbit.oak.query.FilterIterators The query read more than 500000 nodes in memory.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @bobkranson,
Can you share the query that is getting executed from the existing logs.
If it is not available, add a Log entry (for below in DEBUG mode) and reproduce the scenario.
http://localhost:4502/system/console/slinglog
org.apache.jackrabbit.oak.query.QueryEngineImpl
org.apache.jackrabbit.oak.query.SQL2Parser
org.apache.jackrabbit.oak.query.QueryImpl
org.apache.jackrabbit.oak.query
Based on the query executed, we can decide on the index definition.
Hi @bobkranson,
Can you share the query that is getting executed from the existing logs.
If it is not available, add a Log entry (for below in DEBUG mode) and reproduce the scenario.
http://localhost:4502/system/console/slinglog
org.apache.jackrabbit.oak.query.QueryEngineImpl
org.apache.jackrabbit.oak.query.SQL2Parser
org.apache.jackrabbit.oak.query.QueryImpl
org.apache.jackrabbit.oak.query
Based on the query executed, we can decide on the index definition.
Views
Replies
Total Likes
Hi @bobkranson,
Have you enabled debug logs for all the below classes, if not yet can you please do that. DEBUG logging configuration can be added for the following packages, write a separate log file. Also let me know what specific queries you are running.
org.apache.jackrabbit.oak.plugins.index
org.apache.jackrabbit.oak.query
com.day.cq.search
Once you have the query, you can post the query in Explain Query http://host:port/libs/granite/operations/content/diagnosistools/queryPerformance.html and see if it is traversal or utilizing any OOTB index?
If it is traversal, a custom index can be created using https://oakutils.appspot.com/generate/index.
Thanks!!
Views
Likes
Replies