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 2017/08/04 16:26:00 UTC

[jira] [Commented] (OAK-6526) Slow queries: ability to track them via JMX

    [ https://issues.apache.org/jira/browse/OAK-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114584#comment-16114584 ] 

Thomas Mueller commented on OAK-6526:
-------------------------------------

We already have the org.apache.jackrabbit.oak: Oak Query Statistics (QueryStat) MBean collecting the longest and most frequently used queries.

> Slow queries: ability to track them via JMX
> -------------------------------------------
>
>                 Key: OAK-6526
>                 URL: https://issues.apache.org/jira/browse/OAK-6526
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Critical
>             Fix For: 1.8
>
>
> Slow queries (that traverse many nodes, load many nodes in memory, and those that don't use an index) are currently logged. It would be better if there is a way to retrieve at least the _number_ of slow queries (for example from the last seconds / minutes / hours / days), if there were any. Plus maybe the queries themselves, and the type of problem / how severe the problem was.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)