You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Ankit Singhal (JIRA)" <ji...@apache.org> on 2018/08/17 19:57:00 UTC

[jira] [Commented] (PHOENIX-4853) Add sql statement to PhoenixMetricsLog interface for query level metrics logging

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

Ankit Singhal commented on PHOENIX-4853:
----------------------------------------

[~karanmehta93], Just wondering if this feature is analogous to our Query log stored in SYSTEM.LOG? 

> Add sql statement to PhoenixMetricsLog interface for query level metrics logging
> --------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4853
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4853
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Karan Mehta
>            Assignee: Karan Mehta
>            Priority: Major
>
> We get query level metrics when we try to close the {{LoggingPhoenixResultSet}} object. It is better to add the SQL statement to the PhoenixMetricsLog interface so that we can attach the metrics to the exact SQL statement. This helps in debugging whenever we determine that particular query is taking a long time to run.



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