forked from camunda/camunda-bpm-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(db): add historic act inst start-end-time index
* fix(db): add historic act inst start-end-time index * chore(db): bump patch version in schema log table Related to CAM-11117
- Loading branch information
1 parent
92cee4a
commit c5c5cae
Showing
35 changed files
with
476 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
.../resources/org/camunda/bpm/engine/db/upgrade/db2_engine_7.10_patch_7.10.13_to_7.10.14.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
-- | ||
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH | ||
-- under one or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information regarding copyright | ||
-- ownership. Camunda licenses this file to you under the Apache License, | ||
-- Version 2.0; you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
-- https://app.camunda.com/jira/browse/CAM-11117 | ||
drop index ACT_IDX_HI_ACT_INST_START; | ||
create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); |
23 changes: 23 additions & 0 deletions
23
...in/resources/org/camunda/bpm/engine/db/upgrade/db2_engine_7.11_patch_7.11.7_to_7.11.8.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- | ||
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH | ||
-- under one or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information regarding copyright | ||
-- ownership. Camunda licenses this file to you under the Apache License, | ||
-- Version 2.0; you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
insert into ACT_GE_SCHEMA_LOG | ||
values ('2', CURRENT_TIMESTAMP, '7.11.8'); | ||
|
||
-- https://app.camunda.com/jira/browse/CAM-11117 | ||
drop index ACT_IDX_HI_ACT_INST_START; | ||
create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); |
23 changes: 23 additions & 0 deletions
23
...in/resources/org/camunda/bpm/engine/db/upgrade/db2_engine_7.12_patch_7.12.0_to_7.12.1.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- | ||
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH | ||
-- under one or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information regarding copyright | ||
-- ownership. Camunda licenses this file to you under the Apache License, | ||
-- Version 2.0; you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
insert into ACT_GE_SCHEMA_LOG | ||
values ('101', CURRENT_TIMESTAMP, '7.12.1'); | ||
|
||
-- https://app.camunda.com/jira/browse/CAM-11117 | ||
drop index ACT_IDX_HI_ACT_INST_START; | ||
create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); |
20 changes: 20 additions & 0 deletions
20
...n/resources/org/camunda/bpm/engine/db/upgrade/h2_engine_7.10_patch_7.10.13_to_7.10.14.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
-- | ||
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH | ||
-- under one or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information regarding copyright | ||
-- ownership. Camunda licenses this file to you under the Apache License, | ||
-- Version 2.0; you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
-- https://app.camunda.com/jira/browse/CAM-11117 | ||
drop index ACT_IDX_HI_ACT_INST_START; | ||
create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); |
23 changes: 23 additions & 0 deletions
23
...ain/resources/org/camunda/bpm/engine/db/upgrade/h2_engine_7.11_patch_7.11.7_to_7.11.8.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- | ||
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH | ||
-- under one or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information regarding copyright | ||
-- ownership. Camunda licenses this file to you under the Apache License, | ||
-- Version 2.0; you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
insert into ACT_GE_SCHEMA_LOG | ||
values ('2', CURRENT_TIMESTAMP, '7.11.8'); | ||
|
||
-- https://app.camunda.com/jira/browse/CAM-11117 | ||
drop index ACT_IDX_HI_ACT_INST_START; | ||
create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); |
23 changes: 23 additions & 0 deletions
23
...ain/resources/org/camunda/bpm/engine/db/upgrade/h2_engine_7.12_patch_7.12.0_to_7.12.1.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- | ||
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH | ||
-- under one or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information regarding copyright | ||
-- ownership. Camunda licenses this file to you under the Apache License, | ||
-- Version 2.0; you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
insert into ACT_GE_SCHEMA_LOG | ||
values ('101', CURRENT_TIMESTAMP, '7.12.1'); | ||
|
||
-- https://app.camunda.com/jira/browse/CAM-11117 | ||
drop index ACT_IDX_HI_ACT_INST_START; | ||
create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); |
20 changes: 20 additions & 0 deletions
20
...ources/org/camunda/bpm/engine/db/upgrade/mariadb_engine_7.10_patch_7.10.13_to_7.10.14.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
-- | ||
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH | ||
-- under one or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information regarding copyright | ||
-- ownership. Camunda licenses this file to you under the Apache License, | ||
-- Version 2.0; you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
-- https://app.camunda.com/jira/browse/CAM-11117 | ||
drop index ACT_IDX_HI_ACT_INST_START on ACT_HI_ACTINST; | ||
create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); |
23 changes: 23 additions & 0 deletions
23
...esources/org/camunda/bpm/engine/db/upgrade/mariadb_engine_7.11_patch_7.11.7_to_7.11.8.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- | ||
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH | ||
-- under one or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information regarding copyright | ||
-- ownership. Camunda licenses this file to you under the Apache License, | ||
-- Version 2.0; you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
insert into ACT_GE_SCHEMA_LOG | ||
values ('2', CURRENT_TIMESTAMP, '7.11.8'); | ||
|
||
-- https://app.camunda.com/jira/browse/CAM-11117 | ||
drop index ACT_IDX_HI_ACT_INST_START on ACT_HI_ACTINST; | ||
create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); |
23 changes: 23 additions & 0 deletions
23
...esources/org/camunda/bpm/engine/db/upgrade/mariadb_engine_7.12_patch_7.12.0_to_7.12.1.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- | ||
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH | ||
-- under one or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information regarding copyright | ||
-- ownership. Camunda licenses this file to you under the Apache License, | ||
-- Version 2.0; you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
insert into ACT_GE_SCHEMA_LOG | ||
values ('101', CURRENT_TIMESTAMP, '7.12.1'); | ||
|
||
-- https://app.camunda.com/jira/browse/CAM-11117 | ||
drop index ACT_IDX_HI_ACT_INST_START on ACT_HI_ACTINST; | ||
create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); |
20 changes: 20 additions & 0 deletions
20
...esources/org/camunda/bpm/engine/db/upgrade/mssql_engine_7.10_patch_7.10.13_to_7.10.14.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
-- | ||
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH | ||
-- under one or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information regarding copyright | ||
-- ownership. Camunda licenses this file to you under the Apache License, | ||
-- Version 2.0; you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
-- https://app.camunda.com/jira/browse/CAM-11117 | ||
drop index ACT_HI_ACTINST.ACT_IDX_HI_ACT_INST_START; | ||
create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); |
23 changes: 23 additions & 0 deletions
23
.../resources/org/camunda/bpm/engine/db/upgrade/mssql_engine_7.11_patch_7.11.7_to_7.11.8.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- | ||
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH | ||
-- under one or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information regarding copyright | ||
-- ownership. Camunda licenses this file to you under the Apache License, | ||
-- Version 2.0; you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
insert into ACT_GE_SCHEMA_LOG | ||
values ('2', CURRENT_TIMESTAMP, '7.11.8'); | ||
|
||
-- https://app.camunda.com/jira/browse/CAM-11117 | ||
drop index ACT_HI_ACTINST.ACT_IDX_HI_ACT_INST_START; | ||
create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST(START_TIME_, END_TIME_); |
Oops, something went wrong.