Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Performance Expand / Collapse
Author
Message
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
Hi,

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
koteswarrao
Post #479720
Posted Friday, April 4, 2008 1:58 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 6:44 AM
Points: 40,385, Visits: 36,828
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 2008, MVP
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