Skip to content

Commit

Permalink
Merge pull request #38 from NASA-AMMOS/37-add-indices-optimizes-trigger
Browse files Browse the repository at this point in the history
added extra indices to optimized trigger performance
  • Loading branch information
ztaylor54 authored Mar 22, 2021
2 parents f3ed5b4 + 29bc9d5 commit 66b5f53
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 66b5f53

Please sign in to comment.