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

TASK: Add indices to improve parent/child query performance #5257

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

kitsunet
Copy link
Member

We did not have any index on the parentnodeanchor, additionally the anchors should be first, as they are most likely the most discriminating part of the query, also position was added, to potentially improve sort queries.

Upgrade instructions

run ./flow cr:setup

We did not have any index on the parentnodeanchor,
additionally the anchors should be first, as they are most
likely the most discriminating part of the query, also
position was added, to potentially improve sort queries.
@kitsunet
Copy link
Member Author

Haha, just if anyone is wondering, We did not have any index on the parentnodeanchor is not true if you inspect the code, it's just that the index is only on parentnodeanchor which in the complexity of the query(s) we perform doesn't help much. I guess in a follow up we might remove that one, I first want to check other typical queries though, not that we need it somewhere else.

@bwaidelich bwaidelich merged commit e86f8f3 into neos:9.0 Sep 23, 2024
9 checks passed
@kdambekalns kdambekalns deleted the task/improved-hierachy-indices branch September 23, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants