Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Performance Expand / Collapse
Posted Friday, April 4, 2008 1:15 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, October 14, 2010 6:06 AM
Points: 76, Visits: 199

while working the query is taking long time to execute(longrun query)?
what are the immediate steps to take to slove the performance issues?

thank you
Post #479720
Posted Friday, April 4, 2008 1:58 AM



Group: General Forum Members
Last Login: Saturday, December 3, 2016 5:18 AM
Points: 45,619, Visits: 44,147
See if there's blocking which is causieng the query to run slower than usual

Have a look at the query itself, see if it can be optimised.

Run it with exec plan, statistics IO and statistics time on, and look for high cost operators and high read tables.
Consider changing indexeng to reduce reads and eliminate table scans and index scans.

If there's a specific query that you're working with, post it here and we can help you work through it.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #479735
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse