You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Vincent Poon (JIRA)" <ji...@apache.org> on 2017/05/31 23:00:08 UTC

[jira] [Updated] (PHOENIX-3807) Add server level metrics for secondary indexes

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

Vincent Poon updated PHOENIX-3807:
----------------------------------
    Attachment: PHOENIX-3807.v1.master.patch

Here's a patch which uses the HBase native metrics API.  There's a check for HBase version >= 1.4 for backwards compatibility, and a config flag.

> Add server level metrics for secondary indexes
> ----------------------------------------------
>
>                 Key: PHOENIX-3807
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3807
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Josh Elser
>         Attachments: PHOENIX-3807.v1.master.patch
>
>
> Add server level metrics for secondary indexes
> - Histogram metrics for time to complete all secondary index updates per primary table update per index type. Will help us trend perf over time and catch impending issues. 
> - Histogram metrics for number of updates dispatched to secondary index stores to service one primary table update per index type. Will help us catch inefficient behavior or problematic schema design. 
> - Count of deployed secondary indexes by type. Will help understand and trend index usage, or catch deploy of an unwanted index type.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)