Solved

Identify high resource job / tasks in SQL Server 2008

Posted on 2014-01-15
2
320 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

839 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