Solved

sQL Server 2005 Timeouts

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

809 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