Click here to Skip to main content
15,896,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a query that takes more than 3 hours before it return the results. i have already add indexes based on the suggestion of DTA. and i don't know what else should i do with it. please give me advice.. thanks

What I have tried:

Use Profiler and DTA then add indexes to the tables
Posted
Updated 23-Aug-16 10:36am

You have first to estimate if your query execution is taking more time than expected, then you could try this: Checklist for Analyzing Slow-Running Queries[^].
 
Share this answer
 
Comments
ProgrammingEnthusiast 23-Aug-16 3:37am    
Thanks on your TIP, i'm reading it right now. but, would you happen to know if there's a calculator that suggests how much memory should i install on my machine? my Database size is more or less 400GB and my memory is 64GB only, do you think it falls to #2: Inadequate memory in the server computer, or not enough memory available for SQL Server.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900