The SQL I used for the second query is the translated query that was spat out by the translatedQuery() function in the first step so the actual query is identical.
My question is - what is the translated query function doing to take this long. If I have 3 or 4 translated queries on one page it takes 2 to 4 seconds for the page to load !?!?!
How do I speed up the translated query function? It is too slow to be usable in it's current form.
Doesn't look like these issues are actively being looked at any more, but I'll log my problem in case someone has any idea.
I have an MSSQL Database and am using translated queries.
When I run the following query:
This is the is the execution time
Takes a loooooong time as you can see...
When I directly connect to the database using PDO and run the query below:
This is the execution time:
Much quicker.
The SQL I used for the second query is the translated query that was spat out by the
translatedQuery()
function in the first step so the actual query is identical.My question is - what is the translated query function doing to take this long. If I have 3 or 4 translated queries on one page it takes 2 to 4 seconds for the page to load !?!?!
How do I speed up the translated query function? It is too slow to be usable in it's current form.
Thanks