Thomas Mueller created OAK-1735:
-----------------------------------
Summary: 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
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.2#6252)