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 2014/02/06 11:00:12 UTC

[jira] [Created] (OAK-1395) Automatically cancel long running queries

Thomas Mueller created OAK-1395:
-----------------------------------

             Summary: Automatically cancel long running queries
                 Key: OAK-1395
                 URL: https://issues.apache.org/jira/browse/OAK-1395
             Project: Jackrabbit Oak
          Issue Type: Bug
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller
             Fix For: 0.17


Queries potentially read many nodes, for example because they don't use an index or because they use join conditions that return many nodes.

Such cases are sometimes not detected early because the default storage engine (the Tar storage) is fast. However it is a problem for slower storage engine (that stores data remotely).

To detect such cases early on, we could add a limit on how many nodes a query may read. It might make sense to use multiple distinct limits: one for how many nodes were read but skipped, and another limit for how many nodes were read, and a third for how many nodes are kept in memory (for example for "order by" queries).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)