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

optimize aggregate event counts / distinct-select

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 3.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      5
    • Sprint:
      PuppetDB 2015-06-17, PuppetDB 2015-07-01

      Description

      This is a followup on PE-9337. There's additional discussion in that ticket. The performance issue seems to arise not from the aggregate-event-counts in general, but from use of the distinct_resources parameter (and our distinct-select function in query/events.clj). We need to figure out a way to make these queries fast.

      This may involve caching the relevant data somehow, extending support of group_by to handle the relevant case, or finding a way to make the query more efficient.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            wyatt Wyatt Alt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support