Improve Task Query Performance in PostgreSQL

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: engine

      Given:
      A large PostgreSQL Task data set;

      When:
      Tasks are obtained for some given filter criteria.

      Then:
      The Task query is slow and inefficient because of the expensive sort operation caused by the DISTINCT statement.

      Expected:
      The Task Query is optimized by using the PostgreSQL DISTINCT ON statement when default ordering is used (by Task ID).

            Assignee:
            Unassigned
            Reporter:
            Nikola Koevski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: