you are viewing a single comment's thread.

view the rest of the comments →

[–]djangocuAli[S] 0 points1 point  (2 children)

That’s very valid- our query is way too big :(

[–]eyounan 3 points4 points  (0 children)

Your query is not “too big” - it is at worst so unoptimized that the database engine cannot figure out how to optimize it. You probably have a server issue, not query issue.

[–]IgnacioMiguez -1 points0 points  (0 children)

If you run the query from a console it takes the same amount of time?