Solved

sQL Server 2005 Timeouts

Posted on 2007-03-20
4
211 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

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

Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
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…

837 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