BackgroundTasks 42356: Extend background task DB indexes#11521
Open
matheuszych wants to merge 1 commit intoILIAS-eLearning:release_10from
Open
BackgroundTasks 42356: Extend background task DB indexes#11521matheuszych wants to merge 1 commit intoILIAS-eLearning:release_10from
matheuszych wants to merge 1 commit intoILIAS-eLearning:release_10from
Conversation
Contributor
|
@matheuszych I suggest adding a new database update file/class for hotfixes in the ILIAS versions 10 and 11, and a new regular database update step file/class for ILIAS 12/trunk. |
See: https://mantis.ilias.de/view.php?id=42356 The ILIAS 8.0 background-task migration only indexed `il_bt_bucket` by `user_id`. Typical lookups filter by bucket state and join tasks or stored values via `bucket_id`, which stayed unindexed. `step_1` now replaces that index with `(user_id, state)` on `il_bt_bucket` and adds `bucket_id` indexes on `il_bt_task` and `il_bt_value_to_task`.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See: https://mantis.ilias.de/view.php?id=42356
The ILIAS 8.0 background-task migration only indexed
il_bt_bucketbyuser_id. Typical lookups filter by bucket state and join tasks or stored values viabucket_id, which stayed unindexed.step_1now replaces that index with(user_id, state)onil_bt_bucketand addsbucket_idindexes onil_bt_taskandil_bt_value_to_task./cc @thojou