Solved

Extracting Data for SQL database is so slow - why?

Posted on 2004-09-08
7
299 Views
Last Modified: 2012-06-21
Hi,

I have recently upgraded an accounts package from btrieve to SQL 2000. Since this time, getting data from the db is so slow compared with the old system. Also Excel links into the db to retrieve info and this is even slower and often crashes losing all the work. This is a new server also and has a Xeon processor and 1Gb memory. There are only 5 users using the SQL application. Does anyone know a reason as to what may be causing the slowness, is there a way of finding out how the database is performing or if something is slowing things down (not that good with SQL) or does anyone have any suggestions?

Many thanks.
0
Comment
Question by:jflah
[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 Comments
 
LVL 10

Accepted Solution

by:
Jay Toops earned 100 total points
ID: 12004605
how is it connecting to the SQL Server?

there is no reason for it to be that slow unless there is a network
or a disk problem

check your system logfiles to see if error messages are being generated
start run "eventvwr"

what else is running on this machine?
Jay
0
 
LVL 17

Assisted Solution

by:BillAn1
BillAn1 earned 75 total points
ID: 12004733
Is it the connection that is slow, or the actual selecting data? If it is data selection, check you have implemented indexes correctly.
0
 
LVL 1

Assisted Solution

by:sonic1981
sonic1981 earned 75 total points
ID: 12004820
Are you using Views. These can slow down the actual retrieving of the data. Where possible program anything like this using SQL and Stored Procedures.
0
 
LVL 10

Expert Comment

by:Jay Toops
ID: 12006284
ALSO define slow
how much data,
from where,
over what kind of connection disk network etc
to what kind of file.

Jay
0
 

Author Comment

by:jflah
ID: 12188268
This is an off the shelf package. I have spoken to the provider who aint much help but I think their indexes may be setup incorrectly. I have increased the memory of the server to 4Gb which has helped. There are only 5 users and the database is an accounts one accessing approx 4 years work of data. The SQL database is 3Gb in size. The network is ethernet with wireless and 1Gb network connections. The server is a Dell PowerEdge 1600SC.
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

626 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