jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-1155) PropertyIndex cost calculation is faulty
Date Fri, 08 Nov 2013 09:03:18 GMT

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

Alex Parvulescu updated OAK-1155:
---------------------------------

    Fix Version/s: 0.11

> PropertyIndex cost calculation is faulty
> ----------------------------------------
>
>                 Key: OAK-1155
>                 URL: https://issues.apache.org/jira/browse/OAK-1155
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, query
>            Reporter: Alex Parvulescu
>             Fix For: 0.11
>
>
> The cost calculation can easily go out of bounds when it needs to estimate (whenever
there are more than 100 nodes).
> The high value it returns can be higher than the traversal index which has a max of 10M,
but can be less smaller.
> For example:
>   100 nodes in the index:
>   with a single level /content cost is 6250000
>   adding a second level /content/data cost jumps to 1.544804416E9
>   101 nodes in the index:
>   with a single level /content cost is 100
>   adding a second level /content/data stays at 100
>   100 nodes, 12 levels deep, cost is 2.147483647E9
>   101 nodes, 12 levels deep, cost is 6.7108864E7



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message