Well I guess that I should mention that I use MS Visual Studio and have another tool that I use for queries, DbVisualizer.
I cut this query down to two tables, the join is on indexed fields. Between the two tables there are a total of about 700,000 records.
I am starting to feel the the...
Thanks for all your suggestions, I will give them a try. Sad to say but the DBA that is on duty today can not give me the execution plan. (doesn't know how)
I have simplified this down to just two tables, one has 186,000 records, the other has 460,000 records. I do the select asking for...
Well, the tools that I have available (Visual Studio and DbVisualizer) do not show that info so I am somewhat limited in that regard. All I know is that the joins are on indexed fields.
There has to be a way that I can not include the "huge" table and later add its information to the results...
I have a query that works just fine in our test environment. I pointed to our production side though and it takes 517 seconds to execute. This will not work well for a Web Application don't you agree?
It seems that the main problem is in one of the tables, on test it only has about 50,000...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.