Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-8733

Fetching total count of historic data takes too long

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Won't Fix
    • Affects Version/s: 7.8.0
    • Fix Version/s: None
    • Component/s: engine
    • Labels:
      None

      Description

      • given:
        • I have an engine 7.8.0 with a postgres database running.
        • the engine contains a huge amount of data (e.g. > 2 million process instances, > 20 million activity instances, > 20 million variable instances)
      • when:
      • then:
        • the request takes a very long time, such that it times out (e.g. > 20 seconds).
      • expected:
        • the request takes at max 2 seconds

      Hint:

      • Checkout the following engine rest endpoint with a huge data set to reproduce the behavior (use your LDAP credentials):
        https://performance.optimize.ci.camunda.cloud/engine-rest/
      • Postgres is known to have problems with the table count. We should check if postgres is doing a full table scan every time we query the count.
      • Also it might be worth checking if other databases cause similar problems.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              smirnov Roman Smirnov
              Reporter:
              johannes.heinemann Johannes Heinemann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: