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

Inefficent subgraph retrievial #263

Closed
thomaskrause opened this issue Dec 16, 2013 · 0 comments
Closed

Inefficent subgraph retrievial #263

thomaskrause opened this issue Dec 16, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@thomaskrause
Copy link
Member

When there are many nodes the subgraph retrieval gets inefficient since the "LIMIT 1" is not pushed down and we can get ugly cartesian products. We should refactor the whole subgraph processing code to produce cleaner and safer SQL.

This performance problem was found by Beni Ruef, who tried to execute the following query on their corpus

fonction="sujet" & type_pronom="personnel" &
categorie="clitique"&
norme="normé"&
degre_de_fusion="apostrophe"&
personne="1" &
nombre="sg" &
#1_=_#2 &
#2_=_#3 &
#3_=_#4 &
#4_=_#5 &
#5_=_#6 &
#6_=_#7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant