Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-3639

realize-fact-values does hash comparisons in text

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PDB 4.2.3.2
    • Fix Version/s: PDB 5.1.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Data Platform
    • Story Points:
      1
    • Sprint:
      Data Platform 2017-08-09
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Improve data storage performance by optimizing the query which updates the contents of the fact_values table.
    • QA Risk Assessment:
      Needs Assessment

      Description

      The value_hash column is of type bytea, but our query against it compares a string value with bytea::text. This is not fast.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            russell.mull Russell Mull
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support