Solved

Extracting Data for SQL database is so slow - why?

Posted on 2004-09-08
7
252 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
7 Comments
 
LVL 10

Accepted Solution

by:
Jay Toops earned 100 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
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 set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

728 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

10 Experts available now in Live!

Get 1:1 Help Now