Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Slowness with SQL Server after a hardrive array recovery

Posted on 2013-01-19
12
Medium Priority
?
337 Views
Last Modified: 2013-01-28
We are running SQL Server 2005 on a SERVER2008 HP box.  We had a hot swappable drive go bad and replaced it.  Using the HP array recovery process the drive was successfully recovered/rebuilt and the server itself is running problem free.  However, SQL Server has been running Extremely slow ever since the drive was recovered.

Does anyone know if we must do some sort of optimization of our SQL Databases or if we must do a SQL restore after the array rebuild to help with our slowness?

Help...Open to any and all suggestions...
0
Comment
Question by:VHM1
[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
  • 5
  • 4
  • 2
  • +1
12 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 38796791
Have you tried updating stats or rebuilding/reorganizing indexes?
0
 
LVL 43

Expert Comment

by:Eugene Z
ID: 38796801
if HP array recovery is completed (how big\fast disks there? what Raid? did you add the same speed size disk as you had?)


... you can try to ran DB maintenance for the affected databases: integrity check; reindex; update stats for start.

also check if you have some slow running queries;
check sql server errors? Event viewer related errors?
check if your HP firmware is up to date

did you reboot the server ?

how is CPU \Memory utilization? any IO errors?
0
 

Author Comment

by:VHM1
ID: 38796803
Yes, we have done both.  We do that regulary anyway.  They jobs to do these run almost 3-4 times longer since the drive was replaced.

All SQL interaction runs 2-4 times longer since the drive was replaced.
0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 

Author Comment

by:VHM1
ID: 38796805
server has been re-booted several times since the successfull rebuild.  Firmware is up to date.  Machine is working fine and showing no errors or SQL errors.
0
 
LVL 43

Expert Comment

by:Eugene Z
ID: 38797313
how is antivirus doing? is set to exclude sq server files,etc?

what is CPU /memory utilization on this box ?
can you run sp_configure  to see max dop ?

can you give details "running Extremely "  what is running slow?
0
 

Author Comment

by:VHM1
ID: 38797334
Sql jobs that ran for seconds before are now running in 45 minutes to 2 hours.  Example, we do transaction logs each 30 minutes.  They ran for seconds before the drive was replaced, now they run 30+ minutes.

CPU and Memory is normal and good.

What is SP_configure?
0
 
LVL 43

Assisted Solution

by:Eugene Z
Eugene Z earned 1000 total points
ID: 38797369
are you sure that raid rebuild is complete?  what drive did you put : same as was?
what db (s) set on this drive?

also run xp_readerrorlog from ssms to get sql error log info

sp_configure
http://msdn.microsoft.com/en-us/library/ms188787.aspx
0
 
LVL 25

Assisted Solution

by:DBAduck - Ben Miller
DBAduck - Ben Miller earned 1000 total points
ID: 38810125
Have you stopped SQL Server and defragmented the hard drives that SQL data files are on?  You could have a great amount of fragmentation on the hard drives that could be causing this problem.  I would start there to ensure that the foundation is sound.

Then I would look to see if the Indexes are fragmented (sys.dm_db_index_physical_stats) and if they are I would defragment them.

Then I would chase other ghosts.
0
 

Accepted Solution

by:
VHM1 earned 0 total points
ID: 38810513
Thanks.  Issue was 2 fold...#1, when the array re-built itself, it set the array settings back to the default values (thus turning off write cacheing).  #2 was that the array software used to rebuild the drive was not set to handle open SQL files and as a result it fragmented things greatly.  Products like disk-keeper should be used to handle the rebuild.

THanks for everyones help.
0
 
LVL 43

Expert Comment

by:Eugene Z
ID: 38812402
cool
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 38812685
Thanks.  Issue was 2 fold...
Excellent!  Now please close the question.  This is how it is done:
Closing
http://www.experts-exchange.com/help/viewHelpPage.jsp?helpPageID=24
0
 

Author Closing Comment

by:VHM1
ID: 38826210
My solution is what resolved our specific issue.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

671 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