Solved

SQL Server - Performance Very Sluggish

Posted on 2016-08-15
14
92 Views
Last Modified: 2016-10-10
Good Day Experts!

I hope you can lend some insight.  We have SQL Server 2000 running on our server(I know I know).  The problem of late is very sluggish performance.  It could be performing acceptable but then the next hour it is like something is choking the life out of it. We have about 45 Users at any time using a VB6 app with this server as the backend.  The Users could be doing anything from DataEntry to doing a lookup to running daily functions  against a DB.

I have looked around on the net and tried a few things looking for the performance issue...but they were not very friendly.  

Is there anything simple that I can run in QryAnalyzer, when performance is sluggish,  to tell me which app, user, connections etc are causing the issue?

Thanks,
jimbo99999
0
Comment
Question by:Jimbo99999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
14 Comments
 
LVL 75

Assisted Solution

by:Aneesh Retnakaran
Aneesh Retnakaran earned 250 total points
ID: 41757363
run sp_Who2 and see for any blocks ? I am not sure whether sp_WhoIsactive works in SQL 2000 (you can google it and download it ) .. if there is a block you can note the SPID, and pass it to DBCC INPUTBUFFER(<spid>) to  get the sql statement that's causing blocking.
1
 
LVL 50

Expert Comment

by:Vitor Montalvão
ID: 41757646
SQL Server Profiler was already available for SQL Server 2000. Did you try to run a trace to capture the locks and long running queries?
0
 

Author Comment

by:Jimbo99999
ID: 41757651
Thank you for replying.  I have not run anything yet.  I am very light on this kind of debugging knowledge.  I will try your suggestions.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 50

Expert Comment

by:Vitor Montalvão
ID: 41757674
If you need to know how to work with SQL Profiler read this article and the MSDN.
0
 

Author Comment

by:Jimbo99999
ID: 41759320
Thanks...I will read the article and work on this today.
0
 

Author Comment

by:Jimbo99999
ID: 41776356
It is really bad today so I am going to have to try and figure something out.
0
 
LVL 50

Expert Comment

by:Vitor Montalvão
ID: 41793851
jimbo, any feedback for us?
0
 

Author Comment

by:Jimbo99999
ID: 41794906
Hello there...

We experienced it again this morning.  I checked for locks.  I am still searching for a way to tell me the connections at any given time using a query.  I don't know when this is going to happen each time.

Thanks,
jimbo99999
0
 
LVL 50

Expert Comment

by:Vitor Montalvão
ID: 41795500
You had the Profiler running?
Without the traces, only place you can check for some information is SQL Server log and Windows Event logs.
0
 

Author Comment

by:Jimbo99999
ID: 41796767
I did not have them running.  I will start them today and see if we get lucky tomorrow.
0
 
LVL 50

Expert Comment

by:Vitor Montalvão
ID: 41819218
Jimbo, any feedback for us?
0
 

Author Comment

by:Jimbo99999
ID: 41819665
Hello There

We have been operating without any issues since my last posting.  Do I just keep that trace window open and running until it happens again?

Thanks,
jimbo99999
0
 
LVL 50

Accepted Solution

by:
Vitor Montalvão earned 250 total points
ID: 41819683
Do I just keep that trace window open and running until it happens again?
Better not. It has some impact in the performance since it requires some SQL resources. Save the trace definition and next time it happens you just run again the trace.
0
 

Author Comment

by:Jimbo99999
ID: 41822081
Ok, gotcha.  I understand now.  Thanks for the insight.  So we wait for the next time performance gets bad.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

I have a large data set and a SSIS package. How can I load this file in multi threading?
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

739 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