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 "Amit Jain (JIRA)" <ji...@apache.org> on 2014/09/30 09:28:37 UTC

[jira] [Updated] (OAK-1735) Query: automatically update index statistics to get better cost estimates

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

Amit Jain updated OAK-1735:
---------------------------
    Fix Version/s:     (was: 1.1)
                   1.1.1

> Query: automatically update index statistics to get better cost estimates
> -------------------------------------------------------------------------
>
>                 Key: OAK-1735
>                 URL: https://issues.apache.org/jira/browse/OAK-1735
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Thomas Mueller
>             Fix For: 1.1.1
>
>
> The indexes don't currently have good cost estimates, so that in many cases the best index is not used. The cost estimation of the indexes needs statistics (for example, how many entries are in an index, or how many entries are stored in a index key). It should be possible to implement auto-update of statistics for the node type index, the property index, and the ordered index. Possibly, this could be done asynchronously.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)