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

Fetching total count of historic data takes too long

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • 7.8.0
    • engine
    • None

      • 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.

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: