Skip to content

Commit

Permalink
BZ-1279532 - Missing database indexes
Browse files Browse the repository at this point in the history
 - adding index for I18NText.Notification_Names_Id
  • Loading branch information
krisv committed Jan 5, 2016
1 parent ed1089b commit f0a9fa7
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 10 deletions.
3 changes: 2 additions & 1 deletion jbpm-installer/db/ddl-scripts/db2/db2-jbpm-schema.sql
Expand Up @@ -650,6 +650,7 @@
create index IDX_I18NText_DescrId ON I18NText(Task_Descriptions_Id);
create index IDX_I18NText_ReassignId ON I18NText(Reassignment_Documentation_Id);
create index IDX_I18NText_NotSubjId ON I18NText(Notification_Subjects_Id);
create index IDX_I18NText_NotNamId ON I18NText(Notification_Names_Id);
create index IDX_I18NText_NotDocId ON I18NText(Notification_Documentation_Id);
create index IDX_I18NText_NotDescrId ON I18NText(Notification_Descriptions_Id);
create index IDX_I18NText_DeadDocId ON I18NText(Deadline_Documentation_Id);
Expand Down Expand Up @@ -717,4 +718,4 @@
create index IDX_PInstLog_pVersion on ProcessInstanceLog(processVersion);
create index IDX_PInstLog_start_date on ProcessInstanceLog(start_date);
create index IDX_PInstLog_status on ProcessInstanceLog(status);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
3 changes: 2 additions & 1 deletion jbpm-installer/db/ddl-scripts/derby/derby-jbpm-schema.sql
Expand Up @@ -650,6 +650,7 @@
create index IDX_I18NText_DescrId ON I18NText(Task_Descriptions_Id);
create index IDX_I18NText_ReassignId ON I18NText(Reassignment_Documentation_Id);
create index IDX_I18NText_NotSubjId ON I18NText(Notification_Subjects_Id);
create index IDX_I18NText_NotNamId ON I18NText(Notification_Names_Id);
create index IDX_I18NText_NotDocId ON I18NText(Notification_Documentation_Id);
create index IDX_I18NText_NotDescrId ON I18NText(Notification_Descriptions_Id);
create index IDX_I18NText_DeadDocId ON I18NText(Deadline_Documentation_Id);
Expand Down Expand Up @@ -718,4 +719,4 @@
create index IDX_PInstLog_pVersion on ProcessInstanceLog(processVersion);
create index IDX_PInstLog_start_date on ProcessInstanceLog(start_date);
create index IDX_PInstLog_status on ProcessInstanceLog(status);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
3 changes: 2 additions & 1 deletion jbpm-installer/db/ddl-scripts/h2/h2-jbpm-schema.sql
Expand Up @@ -651,6 +651,7 @@
create index IDX_I18NText_DescrId ON I18NText(Task_Descriptions_Id);
create index IDX_I18NText_ReassignId ON I18NText(Reassignment_Documentation_Id);
create index IDX_I18NText_NotSubjId ON I18NText(Notification_Subjects_Id);
create index IDX_I18NText_NotNamId ON I18NText(Notification_Names_Id);
create index IDX_I18NText_NotDocId ON I18NText(Notification_Documentation_Id);
create index IDX_I18NText_NotDescrId ON I18NText(Notification_Descriptions_Id);
create index IDX_I18NText_DeadDocId ON I18NText(Deadline_Documentation_Id);
Expand Down Expand Up @@ -719,4 +720,4 @@
create index IDX_PInstLog_pVersion on ProcessInstanceLog(processVersion);
create index IDX_PInstLog_start_date on ProcessInstanceLog(start_date);
create index IDX_PInstLog_status on ProcessInstanceLog(status);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
3 changes: 2 additions & 1 deletion jbpm-installer/db/ddl-scripts/hsqldb/hsqldb-jbpm-schema.sql
Expand Up @@ -651,6 +651,7 @@
create index IDX_I18NText_DescrId ON I18NText(Task_Descriptions_Id);
create index IDX_I18NText_ReassignId ON I18NText(Reassignment_Documentation_Id);
create index IDX_I18NText_NotSubjId ON I18NText(Notification_Subjects_Id);
create index IDX_I18NText_NotNamId ON I18NText(Notification_Names_Id);
create index IDX_I18NText_NotDocId ON I18NText(Notification_Documentation_Id);
create index IDX_I18NText_NotDescrId ON I18NText(Notification_Descriptions_Id);
create index IDX_I18NText_DeadDocId ON I18NText(Deadline_Documentation_Id);
Expand Down Expand Up @@ -719,4 +720,4 @@
create index IDX_PInstLog_pVersion on ProcessInstanceLog(processVersion);
create index IDX_PInstLog_start_date on ProcessInstanceLog(start_date);
create index IDX_PInstLog_status on ProcessInstanceLog(status);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
3 changes: 2 additions & 1 deletion jbpm-installer/db/ddl-scripts/mysql5/mysql5-jbpm-schema.sql
Expand Up @@ -696,6 +696,7 @@
create index IDX_I18NText_DescrId ON I18NText(Task_Descriptions_Id);
create index IDX_I18NText_ReassignId ON I18NText(Reassignment_Documentation_Id);
create index IDX_I18NText_NotSubjId ON I18NText(Notification_Subjects_Id);
create index IDX_I18NText_NotNamId ON I18NText(Notification_Names_Id);
create index IDX_I18NText_NotDocId ON I18NText(Notification_Documentation_Id);
create index IDX_I18NText_NotDescrId ON I18NText(Notification_Descriptions_Id);
create index IDX_I18NText_DeadDocId ON I18NText(Deadline_Documentation_Id);
Expand Down Expand Up @@ -764,4 +765,4 @@
create index IDX_PInstLog_pVersion on ProcessInstanceLog(processVersion);
create index IDX_PInstLog_start_date on ProcessInstanceLog(start_date);
create index IDX_PInstLog_status on ProcessInstanceLog(status);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
Expand Up @@ -696,6 +696,7 @@
create index IDX_I18NText_DescrId ON I18NText(Task_Descriptions_Id);
create index IDX_I18NText_ReassignId ON I18NText(Reassignment_Documentation_Id);
create index IDX_I18NText_NotSubjId ON I18NText(Notification_Subjects_Id);
create index IDX_I18NText_NotNamId ON I18NText(Notification_Names_Id);
create index IDX_I18NText_NotDocId ON I18NText(Notification_Documentation_Id);
create index IDX_I18NText_NotDescrId ON I18NText(Notification_Descriptions_Id);
create index IDX_I18NText_DeadDocId ON I18NText(Deadline_Documentation_Id);
Expand Down Expand Up @@ -764,4 +765,4 @@
create index IDX_PInstLog_pVersion on ProcessInstanceLog(processVersion);
create index IDX_PInstLog_start_date on ProcessInstanceLog(start_date);
create index IDX_PInstLog_status on ProcessInstanceLog(status);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
3 changes: 2 additions & 1 deletion jbpm-installer/db/ddl-scripts/oracle/oracle-jbpm-schema.sql
Expand Up @@ -707,6 +707,7 @@
create index IDX_I18NText_DescrId ON I18NText(Task_Descriptions_Id);
create index IDX_I18NText_ReassignId ON I18NText(Reassignment_Documentation_Id);
create index IDX_I18NText_NotSubjId ON I18NText(Notification_Subjects_Id);
create index IDX_I18NText_NotNamId ON I18NText(Notification_Names_Id);
create index IDX_I18NText_NotDocId ON I18NText(Notification_Documentation_Id);
create index IDX_I18NText_NotDescrId ON I18NText(Notification_Descriptions_Id);
create index IDX_I18NText_DeadDocId ON I18NText(Deadline_Documentation_Id);
Expand Down Expand Up @@ -774,4 +775,4 @@
create index IDX_PInstLog_pVersion on ProcessInstanceLog(processVersion);
create index IDX_PInstLog_start_date on ProcessInstanceLog(start_date);
create index IDX_PInstLog_status on ProcessInstanceLog(status);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
Expand Up @@ -707,6 +707,7 @@
create index IDX_I18NText_DescrId ON I18NText(Task_Descriptions_Id);
create index IDX_I18NText_ReassignId ON I18NText(Reassignment_Documentation_Id);
create index IDX_I18NText_NotSubjId ON I18NText(Notification_Subjects_Id);
create index IDX_I18NText_NotNamId ON I18NText(Notification_Names_Id);
create index IDX_I18NText_NotDocId ON I18NText(Notification_Documentation_Id);
create index IDX_I18NText_NotDescrId ON I18NText(Notification_Descriptions_Id);
create index IDX_I18NText_DeadDocId ON I18NText(Deadline_Documentation_Id);
Expand Down Expand Up @@ -775,4 +776,4 @@
create index IDX_PInstLog_pVersion on ProcessInstanceLog(processVersion);
create index IDX_PInstLog_start_date on ProcessInstanceLog(start_date);
create index IDX_PInstLog_status on ProcessInstanceLog(status);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
Expand Up @@ -651,6 +651,7 @@
create index IDX_I18NText_DescrId ON I18NText(Task_Descriptions_Id);
create index IDX_I18NText_ReassignId ON I18NText(Reassignment_Documentation_Id);
create index IDX_I18NText_NotSubjId ON I18NText(Notification_Subjects_Id);
create index IDX_I18NText_NotNamId ON I18NText(Notification_Names_Id);
create index IDX_I18NText_NotDocId ON I18NText(Notification_Documentation_Id);
create index IDX_I18NText_NotDescrId ON I18NText(Notification_Descriptions_Id);
create index IDX_I18NText_DeadDocId ON I18NText(Deadline_Documentation_Id);
Expand Down Expand Up @@ -719,4 +720,4 @@
create index IDX_PInstLog_pVersion on ProcessInstanceLog(processVersion);
create index IDX_PInstLog_start_date on ProcessInstanceLog(start_date);
create index IDX_PInstLog_status on ProcessInstanceLog(status);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
Expand Up @@ -651,6 +651,7 @@
create index IDX_I18NText_DescrId ON I18NText(Task_Descriptions_Id);
create index IDX_I18NText_ReassignId ON I18NText(Reassignment_Documentation_Id);
create index IDX_I18NText_NotSubjId ON I18NText(Notification_Subjects_Id);
create index IDX_I18NText_NotNamId ON I18NText(Notification_Names_Id);
create index IDX_I18NText_NotDocId ON I18NText(Notification_Documentation_Id);
create index IDX_I18NText_NotDescrId ON I18NText(Notification_Descriptions_Id);
create index IDX_I18NText_DeadDocId ON I18NText(Deadline_Documentation_Id);
Expand Down Expand Up @@ -719,4 +720,4 @@
create index IDX_PInstLog_pVersion on ProcessInstanceLog(processVersion);
create index IDX_PInstLog_start_date on ProcessInstanceLog(start_date);
create index IDX_PInstLog_status on ProcessInstanceLog(status);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);
create index IDX_PInstLog_correlation on ProcessInstanceLog(correlationKey);

0 comments on commit f0a9fa7

Please sign in to comment.