phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-5106) Avoid getting an explain plan for each query (even without tracing)
Date Thu, 31 Jan 2019 02:54:00 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-5106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756807#comment-16756807
] 

Hudson commented on PHOENIX-5106:
---------------------------------

FAILURE: Integrated in Jenkins build Phoenix-4.x-HBase-1.3 #312 (See [https://builds.apache.org/job/Phoenix-4.x-HBase-1.3/312/])
PHOENIX-5106 Avoid getting an explain plan for each query (even without (larsh: rev 74bd929d5a6754ed66f4e0e95b00a971f335af05)
* (edit) phoenix-core/src/main/java/org/apache/phoenix/execute/BaseQueryPlan.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/trace/util/Tracing.java


> Avoid getting an explain plan for each query (even without tracing)
> -------------------------------------------------------------------
>
>                 Key: PHOENIX-5106
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5106
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Minor
>              Labels: performance
>             Fix For: 4.15.0
>
>         Attachments: 5106-v1.txt, 5106.txt
>
>
> See this code fragment in BaseQueryPlan.iterator(...):
> {code}
>         // wrap the iterator so we start/end tracing as we expect
>         TraceScope scope =
>                 Tracing.startNewSpan(context.getConnection(), "Creating basic query for
"
>                         + getPlanSteps(iterator));
>         return (scope.getSpan() != null) ? new TracingIterator(scope, iterator) : iterator;
> {code}
> This will get the plan steps for each and every call to iterator, whether we're tracing
or not.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message