Solved

SQL Timeout errors

Posted on 2008-10-23
8
262 Views
Last Modified: 2012-06-27
I keep getting SQL time out errors on a sql2000 data base not quite sure how to go about troubleshooting it.  

This seems to happen mostly when the transaction logs backup  hourly and when reports are run.  
0
Comment
Question by:perksdev
  • 4
  • 4
8 Comments
 
LVL 38

Expert Comment

by:Jim P.
ID: 22796322
Hit the basic questions non this and we work from there:

Is the application timing out on the clients?

Is it a LAN or WAN?

Are you using TCP/IP or do you have named pipes running?

How much memory on the server? CPU?

Only a SQL Server or other services/apps running?

Which version of 2000 and what service packs?

"and when reports are run." What reports?
0
 

Author Comment

by:perksdev
ID: 22799359
the application is timing out,   its auctually a webpage so whenever the page tries access the DB it retuns an error to the users.

this over a LAN

3GHz processor with 4GB Mrmory

This is only a sql server no other apps or services run on it

SQL Version is SQL 2000 Enterprise with SP4

I think we got the Reports figured out

Right now the only issue is when the Trasaction logs backup hourly it gives timeout errors  the logs are backed up to a local dirve.
0
 
LVL 38

Expert Comment

by:Jim P.
ID: 22799520
Then I would start looking at disk activity.

Where are your bak/trn files being saved vs the location of your mdf/ldf files.

Are you using NAS or SAN?

Bring up perfmon and watch the disk reads/writes per sec and page faults. Throw in memory and CPU for grins.
0
 

Author Comment

by:perksdev
ID: 22817207
No I am not using a SAN or NAS
disk read/writes per sec seem ok
I am noticing that the CPU is extremely high 70 to 100% almost constantly
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 38

Accepted Solution

by:
Jim P. earned 500 total points
ID: 22818621
Can you pull some of the errors and what's happening immediately before and after?
0
 

Author Comment

by:perksdev
ID: 22824746
I don't really get any errors other than the task mnager showing  sqlservr.exe between 80 and 100% cpu utilization.  I've looked in the Event log and SQL logs  but have not been able to find anything.
0
 

Author Closing Comment

by:perksdev
ID: 31509238
Thanks for all of your help.  Sorry for the delay in accepting a solution.  The problem ended up being increase load and the solution ended up being query optimization.  Thanks again!
0
 
LVL 38

Expert Comment

by:Jim P.
ID: 24415799
Glad to be of assistance. May all your days get brighter and brighter.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Performance is the key factor for any successful data integration project, knowing the type of transformation that you’re using is the first step on optimizing the SSIS flow performance, by utilizing the correct transformation or the design alternat…
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

705 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

15 Experts available now in Live!

Get 1:1 Help Now