CREATE INDEX IDX_OPTIMIZATION_PROC_INST_ID ON ACT_RU_IDENTITYLINK(PROC_INST_ID_); CREATE INDEX IDX_OPTIMIZATION_TASK_ID ON ACT_RU_IDENTITYLINK(TASK_ID_);
CREATE INDEX IDX_OPTIMIZATION_PARENT_ID ON ACT_RU_EXECUTION(PARENT_ID_); CREATE INDEX IDX_OPTIMIZATION_SUPER_EXEC ON ACT_RU_EXECUTION(SUPER_EXEC_); CREATE INDEX IDX_OPTIMIZATION_PROC_INST_ID ON ACT_RU_EXECUTION(PROC_INST_ID_); CREATE INDEX IDX_OPTIMIZATION_PROC_DEF_ID ON ACT_RU_EXECUTION(PROC_DEF_ID_); CREATE INDEX IDX_OPTIMIZATION_SUSPENSION_STATE ON ACT_RU_EXECUTION(SUSPENSION_STATE_);
CREATE INDEX IDX_OPTIMIZATION_PROC_INST_ID ON ACT_RU_TASK(PROC_INST_ID_);
CREATE INDEX IDX_OPTIMIZATION_PROC_INST_ID ON ACT_RU_DEADLETTER_JOB(PROCESS_INSTANCE_ID_); CREATE INDEX IDX_OPTIMIZATION_EXECUTION_ID ON ACT_RU_DEADLETTER_JOB(EXECUTION_ID_);
CREATE INDEX IDX_OPTIMIZATION_DEPLOYMENT_ID ON ACT_GE_BYTEARRAY(DEPLOYMENT_ID_);
CREATE INDEX IDX_OPTIMIZATION_KEY ON ACT_RE_PROCDEF(KEY_);
CREATE INDEX IDX_OPTIMIZATION_PARENT_TASK_ID ON ACT_HI_TASKINST(PARENT_TASK_ID_);
CREATE INDEX IDX_OPTIMIZATION_SUPER_PROC_INST_ID ON ACT_HI_PROCINST(SUPER_PROCESS_INSTANCE_ID_);
CREATE INDEX IDX_OPTIMIZATION_KEY ON ACT_RU_VARIABLE(PROC_INST_ID_);
CREATE INDEX IDX_OPTIMIZATION_PROC_INST_ID ON ACT_RU_TIMER_JOB(PROCESS_INSTANCE_ID_);
CREATE INDEX IDX_OPTIMIZATION_PROC_INST_ID ON ACT_RU_SUSPENDED_JOB(PROCESS_INSTANCE_ID_);