-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
Problem
We don't have foreign keys on history tables, so there is no automatic indexing. However, we use the columns ACT_HI_PROCINST(PROC_INST_ID_) and ACT_HI_VARINST(ACT_INST_ID_) for the export queries. To avoid slow queries, let's add indices.
Acceptance Criteria
- Add the following indicex: ACT_HI_VARINST(ACT_INST_ID_)
- An index on ACT_HI_PROCINST(PROC_INST_ID_) is not needed since it has a unique key constraint