Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Need to change block size

Author  Topic 

cgunner
Yak Posting Veteran

95 Posts

Posted - 2005-07-26 : 15:33:19
I have all of my data files on a RAID 5 drive with the default block size (512K). I have read that you will get better performance setting it to 64K when formatting. I was looking for an easy way to do this. Will simply shutting down SQL, copying the directory structure to another disk, formatting, copying the data back and starting SQL work?

eyechart
Master Smack Fu Yak Hacker

3575 Posts

Posted - 2005-07-26 : 15:43:04
you will most likely get a minimal performance gain from this. IMHO, the effort required to switch over is not worth it. However, changing your RAID 5 to RAID 10 would be more worthwhile if you are seeing performance issues due to slow disk.

In order to justify the work involved you would want to show that your slow disk IO is a bottleneck in your system. Usually adding a bit more RAM to the buffer cache recitifies this problem, unless you are running a large data warehouse.

Anyway, to answer your question, you are correct in the the steps neccesary to accomplish this. Make sure that the drive letter assignment is the same.



-ec
Go to Top of Page

cgunner
Yak Posting Veteran

95 Posts

Posted - 2005-07-26 : 15:53:50
It is a data warehouse. The server does 90% reads to 10% writes. Other than changing the RAID and Block configurations, are there any other considerations. I want to cover all the bases if I attempt this.
Go to Top of Page

cgunner
Yak Posting Veteran

95 Posts

Posted - 2005-07-26 : 16:07:30
Do you also set the Stripe Size to 64K if you migrate to RAID 1+0?
Go to Top of Page

eyechart
Master Smack Fu Yak Hacker

3575 Posts

Posted - 2005-07-26 : 16:50:43
if this is a data warehouse then going RAID 10 might be overkill for your data. RAID 5 performs well on reads, it is poor on writes. However, you would still use the 64K stripe regardless of RAID configuration.

How large is your database? how much RAM in your system?



-ec
Go to Top of Page

MichaelP
Jedi Yak

2489 Posts

Posted - 2005-07-26 : 16:56:09
What's the Stripe size for your RAID array? That's part of this equation as well.

I remember someone telling me that the 512k NTFS block size is optimal is most cases, and it would be hard to measure the performance gains of changing the block size. I'm guessing you've onyl got a hadnful of disks in this array, so these small gains will mean nothing, if there is anything to gain.

On a larger disk subsystem (tens or hundreds of disks) a small gain is a really big deal.

Michael

<Yoda>Use the Search page you must. Find the answer you will. Cursors, path to the Dark Side they are. Avoid them, you must. Use Order By NewID() to get a random record you will.</Yoda>
Go to Top of Page

cgunner
Yak Posting Veteran

95 Posts

Posted - 2005-07-27 : 07:44:29
I have a 40 GIG DB with one of the tables containing 30 Million rows. The box has 8 GIG of RAM. I have six drives configured in a RAID 5 set now. They are formated with the default block and stripe size.
Go to Top of Page
   

- Advertisement -