You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Zhiguo Wu (Jira)" <ji...@apache.org> on 2023/03/13 16:29:00 UTC

[jira] [Updated] (AMBARI-21214) Use a uuid vs long row key for metrics in AMS schema

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

Zhiguo Wu updated AMBARI-21214:
-------------------------------
    Affects Version/s:     (was: 3.0.0)

> Use a uuid vs long row key for metrics in AMS schema
> ----------------------------------------------------
>
>                 Key: AMBARI-21214
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21214
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-21214.patch
>
>
> Presently we store (metircName, hostname, serverTime, appId, instanceId) for every row.
> Although this makes SQL query easy to write, it adds duplication when storing it in the Regions memory.
> We should have a unique integer ID for an application-instance metric on a host and use that as a lookup table with a write through cache when inserting or reading data in the METRIC_RECORD table.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ambari.apache.org
For additional commands, e-mail: issues-help@ambari.apache.org