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

Fix performance problem in HTTP API #5260

Merged
merged 1 commit into from
Feb 22, 2022

Conversation

ThiefMaster
Copy link
Member

This happened because when applying a limit Postgres started using a very inefficient query plan. By using a CTE that's only including the category subtree instead of everything we care about we avoid this problem altogether.

@ThiefMaster ThiefMaster added this to the v3.1 milestone Feb 22, 2022
@ThiefMaster ThiefMaster merged commit 6010488 into indico:3.1.x Feb 22, 2022
@ThiefMaster ThiefMaster deleted the api-cte-fix branch February 22, 2022 14:25
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.

None yet

1 participant