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

Avoid using WHERE $node_kind IN LABELS(n) in query, #4752

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

dgarros
Copy link
Collaborator

@dgarros dgarros commented Oct 26, 2024

instead use $node_kind as the label directly

This is change was a recommendation from the assessment we did a few months ago, it will improve the performance of these query when we have a large number of Node in the database

@github-actions github-actions bot added the group/backend Issue related to the backend (API Server, Git Agent) label Oct 26, 2024
@dgarros dgarros requested a review from a team October 28, 2024 09:32
@dgarros dgarros marked this pull request as ready for review October 28, 2024 09:32
@dgarros dgarros merged commit 3002117 into release-1.0 Oct 28, 2024
31 checks passed
@dgarros dgarros deleted the dga-20241026-query branch October 28, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants