April 22, 2020
Estimated Post Reading Time ~ < 1 Min

Oak Query Engine Optimization Parameters and how to set these parameters in JMX console in AEM

Statement - Query engine Optimization parameters
Environment - AEM 6.3 GA

Solution:
Go to the Felix console URL: http://localhost:4502/system/console/jmx/org.apache.jackrabbit.oak%3Aname%3Dsettings%2Ctype%3DQueryEngineSettings
below are the QueryEngine parameters and set the values based on need.
Attributes
 
Attribute NameAttribute Value
LimitInMemory500000
LimitReads100000
FailTraversalTRUE
FastQuerySizeFALSE

Click on each of these attribute value to increase/decrease as shown in below.
QueryEngine+settings

limitinmemory

limitreads

To return the query result size should return an estimation for large queries set the FastQuerysize to True
FastQuery
Set FailTraversal to True Whether queries that don't use an index will fail (throw an exception) as shown in below screenshot.
failtraversal
That's it!
aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.