Solved

Identify high resource job / tasks in SQL Server 2008

Posted on 2014-01-15
2
318 Views
Last Modified: 2014-01-18
How can I identify a long running sql, procedure or jobs in SQL 2008 server ?

Tks
0
Comment
Question by:AXISHK
2 Comments
 
LVL 13

Assisted Solution

by:magarity
magarity earned 200 total points
ID: 39784469
Just use the Profiler tool that comes with sql server. Look for queries that have an excessive number of reads. The profiler will also let you browse the execution plans of running queries so you can look for table scans,  etc.
0
 
LVL 35

Accepted Solution

by:
David Todd earned 300 total points
ID: 39787639
Hi,

In SQL 2005 Microsoft introduced DMVs and in-built reports.

I suggest first off, that in SSMS, in Object Explorer, right click on the server, and click on reports, and look for Standard Reports, Performance - Top Queries by Total CPU.

Not strictly what you are after, but may help.

Also look at sp_who2. Connections with a high value in CPU or Disk might have issues and fit your criteria of long running.

HTH
  David
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
A short film showing how OnPage and Connectwise integration works.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now