You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2019/09/12 10:37:00 UTC
[jira] [Created] (JENA-1757) Deprecate GraphStatisticsHandler
Andy Seaborne created JENA-1757:
-----------------------------------
Summary: Deprecate GraphStatisticsHandler
Key: JENA-1757
URL: https://issues.apache.org/jira/browse/JENA-1757
Project: Apache Jena
Issue Type: Task
Components: Core
Affects Versions: Jena 3.12.0
Reporter: Andy Seaborne
Assignee: Andy Seaborne
Graph statistics give the number of for "S P O" where S, P or O can be a wildcard.
This didn't quite work out for query optimization - the needs for optimization are a little more complicated, needing information such as "if S is going to fixed, estimate the number of "S P O" with out yet knowing what S is fixed as, or it might be one of several values.
The only significant implementation is \{{GraphMemStatisticsHandler}} for the plain memory graphs. It does exploit the mem indexes to get the count, compared to counting a "find" but the improvement appears to be small.
Proposal: deprecate {{GraphStatisticsHandler}}, retain the mem code "just in case".
This will clear the way for either removal or incompatible change in the future.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)