Solved

sQL Server 2005 Timeouts

Posted on 2007-03-20
4
196 Views
Last Modified: 2010-03-19
I'm starting to get some timeout issues on sql server 2005.  How can I go about seeing where the bottleneck is?
0
Comment
Question by:Fraser_Admin
  • 2
4 Comments
 
LVL 32

Expert Comment

by:Daniel Wilson
ID: 18757366
Run SQL Profiler while the Db is under a load.  Note the DURATION column.  See what are the long-running queries (relative to the others), and begin optimizing there.
0
 

Author Comment

by:Fraser_Admin
ID: 18757379
How do I run that.  I tried to make some indexes on tables, and I had a timeout.  That is where my problems began, now all queries are returning timeouts
0
 

Author Comment

by:Fraser_Admin
ID: 18757579
What is an audit logout event class, that seems to be taking a while.
0
 
LVL 16

Accepted Solution

by:
rboyd56 earned 500 total points
ID: 18757721
The logout event shows the duration for all the queries that ran during the time that user was logged in. So it is not uncommon for the duration to be large. Look at the individual queries for that SPID to locate the longest running.
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

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

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

12 Experts available now in Live!

Get 1:1 Help Now