Skip to content

Commit 66b5f53

Browse files
authored
Merge pull request #38 from NASA-AMMOS/37-add-indices-optimizes-trigger
added extra indices to optimized trigger performance
2 parents f3ed5b4 + 29bc9d5 commit 66b5f53

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

install/sql/core.afterstartup.sql.template

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
-- CWS PROCESS STATUS SUPPORT
1+
-- Create indices that help with proc_inst_changed trigger performance
2+
CREATE INDEX PARENT_ACT_INST_ID_ ON ACT_HI_ACTINST (`PARENT_ACT_INST_ID_`);
3+
CREATE INDEX ACT_TYPE_ ON ACT_HI_ACTINST (`ACT_TYPE_`);
24

5+
-- CWS PROCESS STATUS SUPPORT
36
CREATE TABLE IF NOT EXISTS `cws_proc_inst_status` (
47
`id` INT NOT NULL AUTO_INCREMENT,
58
`proc_inst_id` VARCHAR(255) NOT NULL,

0 commit comments

Comments
 (0)