-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
With active authorization checks, the history queries perform sub selects to select all distinct process definition keys in order to join them with the authorization table (e.g. SELECT DISTINCT DKEYS.PROC_DEF_KEY_ from ${prefix}ACT_HI_ACTINST DKEYS for historic activity instances).
We should create indexes for these columns so that this sub-select can be answered without a full table scan.