Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-21214

Use a uuid vs long row key for metrics in AMS schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • metrics-3.0.0
    • ambari-metrics
    • None

    Description

      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.

      Attachments

        1. AMBARI-21214.patch
          319 kB
          Aravindan Vijayan

        Issue Links

          Activity

            People

              avijayan Aravindan Vijayan
              avijayan Aravindan Vijayan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: