[ 
https://issues.apache.org/jira/browse/OAK-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Mueller resolved OAK-404.
--------------------------------

    Resolution: Fixed

In revision 1408729, after each 100 traversed nodes, a log message with level 
warning is written: "Traversed <count> nodes with filter <filter and query 
statement>; consider creating an index or changing the query".

This will not detect all slow queries (only those that traverse the 
repository), but let's leave it at that for now. 
                
> Log (slow) queries
> ------------------
>
>                 Key: OAK-404
>                 URL: https://issues.apache.org/jira/browse/OAK-404
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>
> Queries should be logged if the log level is set to debug.
> In addition to that, arguably very slow queries should be logged with level 
> warning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to