Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add index to elements table for canonicalId #12223

Merged
merged 5 commits into from
Oct 31, 2022

Conversation

nfourtythree
Copy link
Contributor

Description

Noticed that when deleting an element, due to cascades the canonicalId was causing a longer delay on deletion than other tables.

An example delete query before was taking 1.5 seconds, after making this change the query only took 500ms.

@nfourtythree nfourtythree requested a review from a team as a code owner October 28, 2022 19:47
@nfourtythree nfourtythree self-assigned this Oct 28, 2022
@brandonkelly brandonkelly changed the base branch from develop to 4.4 October 31, 2022 21:48
@brandonkelly brandonkelly self-requested a review as a code owner October 31, 2022 21:48
@brandonkelly brandonkelly merged commit 86ad95a into 4.4 Oct 31, 2022
@brandonkelly brandonkelly deleted the feature/add-index-to-canonicalid-column branch October 31, 2022 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants