Solved

SQL Server 2008 R2 slow processing

Posted on 2010-11-25
9
1,586 Views
Last Modified: 2012-05-10
I have a Windows Ent 2008 32-bit installation with SQL Server 2008 R2 std edition running. The problem is that runing jobs on this installation is slower on faster hardware than on an older server with windows 2003 and SQL 2005. I have more memory allocated and they are faster processes, yet the new setup is about half as slow with the same data and same job.

I had a mirror enabled which I disabled to test, reduced log files by changing recovery model from Full to Simple and shrank the files, I have tried enabling boosting SQL priority for processing in the SQL server properties. I have also run the performance tool included with SQL, there were no advised improvements suggested for the database or server.

Are there any suggestions I can do further to improve the performance?
0
Comment
Question by:IT_Techno
9 Comments
 
LVL 10

Expert Comment

by:Humpdy
Comment Utility
how is your database files setup. Are your data and transaction logs on separate disks.
Do you know notice high CPU usage ?
Is the tempdb set to Autogrow.
Add another data file for the tempdb if you have multiple processers.

Have a look at activity monitor or sys.sysprocesses to see if there are any blocking transactions.
Put on SQL Profiler as well to see if it's any particular queries which are taking time.
0
 
LVL 5

Expert Comment

by:logideepak
Comment Utility
What are the hardware configurations of both the servers? Additionally, what is the sql server memory usage on the new server?
0
 
LVL 8

Expert Comment

by:WesWilson
Comment Utility
Disk type, RAID configuration, and memory size could be factors also. Try to get the specs from the old server and the new one to compare.
0
 

Author Comment

by:IT_Techno
Comment Utility
I will get the HDD drive info shortly and pot it, the new server has 2 x 500GB SATA drives mirrored. There is 8GB memory in the new server, SQL is using about 3.5GB of memory. There is no high processing, network or relative disk processing during normal use, I suppose I should monitor this during the Job that is specifically slow. New server is just idling.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 5

Expert Comment

by:rotech_IT
Comment Utility
Does the new server mirror those SATA drives using software RAID?  If so, that'll slow things down significantly.

I'd be interested to know if the old server was using a RAID controller, and if the new server is using Software RAID.
0
 

Author Comment

by:IT_Techno
Comment Utility
The old server has SATA drives as well. Both new and old servers are using hardware RAID. I just found out, because I do not have access to the old server, that the old server is running Windows 2003 64-bit edition, new server is on Windows 2008 32-bit edition. I can only see this difference. I will try test the performance on a Windows 2008 R2 64-bit edition with SQL 2008 R2 64-bit edition.

Note: the database is from an older SQL2005 installation and copied, will this make a difference? I see that the database is running in SQL 2005 compatibility mode, should I change it?
0
 
LVL 5

Expert Comment

by:rotech_IT
Comment Utility
Compatibility mode will not make a difference in this case.  Compatibility mode is just so that newer versions of SQL Server can properly handle databases created in older versions of SQL Server.  Basically....

64-bit will make a considerable difference in performance.  I've seen this first hand, 32-bit vs 64-bit is night and day.  We run all of our SQL Servers on 64-bit and I recommend that if possible, you do the same.

Best of luck.
0
 

Accepted Solution

by:
IT_Techno earned 0 total points
Comment Utility
Problem found here is the program used is programed in an old edition of VB6. Works well on old editions of OS, but not new. I recomended the programer to upgrade his program package and re-program to improve the performance on new OS. I bench marked the installation with third party tools, and got a maximum of 18,800 transactions per second off the server, so to me, that is good enough.
0
 

Author Closing Comment

by:IT_Techno
Comment Utility
Resolution foun not be SQL performance, but programming errors.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

762 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

6 Experts available now in Live!

Get 1:1 Help Now