Solved

Identify high resource job / tasks in SQL Server 2008

Posted on 2014-01-15
2
325 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server Express or Standard? 5 63
Database-Scoped Permissions 2 42
Database Owner 3 46
Estimating my database size 7 51
I have written a PowerShell script to "walk" the security structure of each SQL instance to find:         Each Login (Windows or SQL)             * Its Server Roles             * Every database to which the login is mapped             * The associated "Database User" for this …
This is basically a blog post I wrote recently. I've found that SARGability is poorly understood, and since many people don't read blogs, I figured I'd post it here as an article. SARGable is an adjective in SQL that means that an item can be fou…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

752 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