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

Improve performance on any directed edges #110

Merged
merged 24 commits into from
Mar 22, 2024

Conversation

Dtenwolde
Copy link
Contributor

@Dtenwolde Dtenwolde commented Mar 22, 2024

Fixes #107
Fixes #109
Fixes #60

A bottleneck was the edge patterns containing the ANY edge (-[]-), see IS3. Previously this resulted in a slow blockwise nested loop join. We transform it into a union on the edge table (src, dst, * from edge_table UNION ALL dst, src, * from edge_table), resulting in two hash joins.

@Dtenwolde Dtenwolde merged commit 67c2cc1 into main Mar 22, 2024
6 of 36 checks passed
@Dtenwolde Dtenwolde deleted the 107-improve-slow-undirected-edge-patterns branch March 22, 2024 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant