Solved

sQL Server 2005 Timeouts

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Select - Finding chars in a column 2 70
How to simplify my SQL statement? 14 55
SQL query with cast 38 59
Need to merge 3 large tables into one Table in SQL server 2 19
There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

680 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