February 6, 2010 at 12:00 am
Hi,
I need to execute a query but it takes lot of time to execute.
How can i decrease the exceution time.
February 6, 2010 at 3:02 am
There are several ways:
approach one: optimization of the query itself (especially if it's not set based but so-called RBAR)
approach two: proper index on the tables that support the query
approach three: reevaluate the business requirement and verify it makes sense in the first place... 😉
Those different paths can be combined.
Edit: for details on how to ask performance question please see the following link:
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
February 8, 2010 at 2:05 am
Check the execution plan and identify high cost operations and try to fix them.
in the execution plan, Tabel Scan, Index Scan, Sort are the costly operations mostly
My Blog:
February 9, 2010 at 9:06 am
seppalapalli (2/6/2010)
Hi,I need to execute a query but it takes lot of time to execute.
How can i decrease the exceution time.
Let me remote into your system and tune it for you! My rate is quite reasonable. 😀
Seriously from your post you seem to have no idea where to even begin and expert tuners spend YEARS building their knowledge and skills. Hire someone and let them fix this code and give you some pointers about how to proceed at the same time. There are a KAJILLION things that can cause a query to perform slowly.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply