|
Why should one use SAN instead of local hard disk? I am really a novice in hardware configuration.
(comments are locked)
|
|
Just to spell out my 2 cents in a separate answer:
Hope that helps. Edit -> If you have money to burn, you might want to check out RamSAN systems. They're pretty awesome. Actually, I had one in to test once, and it was pretty good on the whole IO front both in terms of rate and IOPS, but it didn't make our application much faster in practice because it was pretty well optimised, and most of the time taken was network latency anyway. +1 : for flashing lights!
Jun 11 '10 at 03:44 AM
Kev Riley ♦♦
+1 - oooooh, flashing lights
Jun 11 '10 at 03:55 AM
Fatherjack ♦♦
(comments are locked)
|
|
It depends what connects you to the SAN and how the local disks are configured. If you have the time then benchmark both and pick the one that will best suit your needs. There are so many different factors that impact on your situation it will be impossible to answer it here, based on the information you have provided. I would recommend reading up on your options in Books Online and some blogs of SQL Server performance tuning gurus like Brent Ozar have 64 bit sql server running with some 300 gb hard disk. I hear everyone saying that they use SAN instead of local hard disk. IN my case, I think expected database size would remain under 100 GB for a couple of years. so not sure, if it is always ideal to go for SAN
Jun 10 '10 at 04:38 PM
Bhaskar
Its not the size of your hard drive that matter - providing it is big enough to cope, its their configuration - how many spindles, what speeds, what RAID array and so on ... ... How close is the SAN, fibre connection, other systems accessing it. what access characterstics will your system have - Mostly Read, Mostly Write. will that suit the SAN ... ...
Jun 10 '10 at 04:58 PM
Fatherjack ♦♦
(comments are locked)
|
|
The reasons to use a SAN are not, strictly speaking, technical. We use a SAN because it provides a mechanism for rock solid high availability. In terms of shear performance, there are faster methods to store data. But few are as reliable. We use the SAN because it gives the business the warm & fuzzies it needs to know that it's data will always be available. Funny thing is, the vast majority of data on the SAN is unstructured data, not relational data. yeah, my guess is, access to local hard disk will be faster, but as you said availability of data on SAN is better. So does it mean SAN is only good because of high availability?
Jun 10 '10 at 04:40 PM
Bhaskar
+1 - just to say explicitly - if you want to run SQL Server in a failover clustering environment, then you need shared storage, and one method of getting shared storage is on a SAN. And SANs can be lightning quick too - at my last place we had a 120disk SAN and the IO you could put through it was just silly...
Jun 10 '10 at 06:29 PM
Matt Whitfield ♦♦
@Matt - 120 HDD?!?! really? We dont have that many in all of our servers added together!
Jun 11 '10 at 03:57 AM
Fatherjack ♦♦
@Fatherjack - Yep - 120 disks in 8 shelves @ 15 disks per shelf. Was an EMC CX3 - but I can't remember exactly which model. System was specced to run a reporting system for 5 years worth of data which equated to about 2 billion transactions.
Jun 11 '10 at 05:07 AM
Matt Whitfield ♦♦
@Bhaskar No, it's not just high availability. That's one of the biggest selling points, but you get all sorts of mirroring capabilities, special types of disk only backups, lots of really cool functionality. And, depending on the configuration, SANs can run really, really fast. It's just that, as Timothy said so well, in general, local disks can be configured to run faster. Caveat Emptor, your mileage may vary, etc.
Jun 11 '10 at 08:42 AM
Grant Fritchey ♦♦
(comments are locked)
|
|
It really isn't black & white. SANs have tools for cloning, data backups etc. Local drives are easier to configure. Basically it comes down to choosing what you need. As Fatherjack said benchmark the differences if you can and then weigh the differences.
(comments are locked)
|
|
As many others have mentioned, there are a lot of variables floating around in your choice of storage. I am not going to rehash all the good points made by Matt and Grant and others, but I think two are worth reemphasizing/rephrasing.
You may notice that I and many of the other posters are using a lot of caveats like generally and often. That of course is because a lot depends on the specific configurations and pieces of hardware that you are looking at and your use case. Fatherjack expressed this very well. One of the big points Grant correctly made was that Sans are generally more reliable. Of course he is right, but remember that you can install a well configured RAID setup with automatic backup to another media all into one (large) computer box without problems and have enormous reliability on the storage side of things, and on the flip side, a poorly configured San with no redundancy could be unreliable. If you really want to boil it down to a rule of thumb, if you have a very small number of servers (say 3 or fewer) then you are probably better using local drives. They will generally be faster and cheaper and if configured properly can be quite reliable. If you have numerous servers and do not have a need for physical separation of data (this is often required with some types of sensitive data), then you are better off with a San. The maintence tends to be easier and benefits such as greater flexibility and ability to set up failover clustering can be valuable. Excellent comments. Very well constructed. I also like your general rule of application.
Jun 11 '10 at 08:28 AM
Grant Fritchey ♦♦
(comments are locked)
|
1 2 next page »

