-
Notifications
You must be signed in to change notification settings - Fork 872
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
really bad performance issue. #5211
Labels
Comments
Could you explain a little more your domain ? Is |
any update? |
can you explain your schema a little bit more so i can try to optimize your query? |
let's close this issue pls. Thanks |
Hi @martingg88 do you mean that you found a solution for this? Thanks Luigi |
yes. try to use the many indexes for the query. |
Ok, closing, thank you! Luigi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
explain SELECT FROM media
LET $media = (SELECT config, $current.inE("upload").out as outVertex FROM #41:34638)
WHERE config = $media[0].config AND $current.inE("upload").out = $media[0].outVertex
we have 44177 records for media class.
the query above only have 14 records in total.
here this poor performance after doing explain.
{
"result": [
{
"@type": "d",
"@Version": 0,
"documentReads": 44177,
"current": "#41:44176",
"documentAnalyzedCompatibleClass": 44177,
"parentQuery": [
}
The text was updated successfully, but these errors were encountered: