Skip to content

Commit

Permalink
added extra indices to optimized trigger performance
Browse files Browse the repository at this point in the history
  • Loading branch information
galenhollins committed Mar 22, 2021
1 parent f3ed5b4 commit 29bc9d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install/sql/core.afterstartup.sql.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
-- CWS PROCESS STATUS SUPPORT
-- Create indices that help with proc_inst_changed trigger performance
CREATE INDEX PARENT_ACT_INST_ID_ ON ACT_HI_ACTINST (`PARENT_ACT_INST_ID_`);
CREATE INDEX ACT_TYPE_ ON ACT_HI_ACTINST (`ACT_TYPE_`);

-- CWS PROCESS STATUS SUPPORT
CREATE TABLE IF NOT EXISTS `cws_proc_inst_status` (
`id` INT NOT NULL AUTO_INCREMENT,
`proc_inst_id` VARCHAR(255) NOT NULL,
Expand Down

0 comments on commit 29bc9d5

Please sign in to comment.