Wednesday, March 28, 2012

Raid 10 with lots of disks. Where to place datafiles

I'm in setup new server mode so I'm just checking a few things.
Say you had 8, 12 or 16 disks purely for data (log on other disks).
Do you think it's best to create a single big raid 10 set for a single
filegroup with a single database file.
Create 2 or more raid 10 sets and split the data in a controlled manner. Eg
indexes and data or even by tables that are hit heavy (not easy to get right
when you have 100's of tables)
Create 2 or more raid 10 sets and have a single filegroup that owns a file
on each raid 10 set.
I know this is application specific but when you have a complex system you
could spend forever trying to work out the details.
Raid 10 will give me the megs per second but I was thinking maybe I'd be
better splitting the data up to get the transactions per second.
Paul
On Thu, 3 Nov 2005 19:26:24 -0000, "Paul Cahill"
<xyzpaul.xyzcahill@.dsl.pipex.com> wrote:
>I'm in setup new server mode so I'm just checking a few things.
>Say you had 8, 12 or 16 disks purely for data (log on other disks).
>Do you think it's best to create a single big raid 10 set for a single
>filegroup with a single database file.
Why so many disks? Is the database humongous?

>Create 2 or more raid 10 sets and split the data in a controlled manner. Eg
>indexes and data or even by tables that are hit heavy (not easy to get right
>when you have 100's of tables)
>Create 2 or more raid 10 sets and have a single filegroup that owns a file
>on each raid 10 set.
>I know this is application specific
Right.

> but when you have a complex system you
>could spend forever trying to work out the details.
>Raid 10 will give me the megs per second but I was thinking maybe I'd be
>better splitting the data up to get the transactions per second.
One big, fat RAID 10 will probably get you 80% of peak performance
with 20% of the bother. You can use SQLServer filegroups to optimize
wihin, if you like. Two more more smaller RAIDS might help, depending
on the app, depending on whether you NEED more help!
J.
|||Hi,
We should remember that the more heads/spindals you have for the RAID
the better the performance. With the disk technology today and the RPM
speeds I think you could get away with a large RAID and splice it up on
the OS level into different drives/devices.
Just a note from my SysAdmin days [those were the days ;-].
Shahryar
jxstern wrote:

>On Thu, 3 Nov 2005 19:26:24 -0000, "Paul Cahill"
><xyzpaul.xyzcahill@.dsl.pipex.com> wrote:
>
>Why so many disks? Is the database humongous?
>
>
>Right.
>
>
>One big, fat RAID 10 will probably get you 80% of peak performance
>with 20% of the bother. You can use SQLServer filegroups to optimize
>wihin, if you like. Two more more smaller RAIDS might help, depending
>on the app, depending on whether you NEED more help!
>J.
>
>
Shahryar G. Hashemi | Sr. DBA Consultant
InfoSpace, Inc.
601 108th Ave NE | Suite 1200 | Bellevue, WA 98004 USA
Mobile +1 206.459.6203 | Office +1 425.201.8853 | Fax +1 425.201.6150
shashem@.infospace.com | www.infospaceinc.com
This e-mail and any attachments may contain confidential information that is legally privileged. The information is solely for the use of the intended recipient(s); any disclosure, copying, distribution, or other use of this information is strictly prohi
bited. If you have received this e-mail in error, please notify the sender by return e-mail and delete this message. Thank you.
|||Lot's of disks because we are i/o bound on our current system and because
they are relatively cheap compared to the price of staff for one thing.
I could spend days and days fine tuning what tables/indexes get hit, when
and by whom. There are over 500 users and their usage can be quite
heterogeneous at times.
I've always thought raid 5 should be avoided, therefore raid 10.
I have prepared the system with fat raid 10's but I was thinking maybe I was
getting obsessed with i/o throughput and not thinking about random access.
All the heads on an array will be rushing to the same stripe at the same
time and then on to the next requested block of data.
However, say I had two smaller raid 10 sets then maybe I'd get a higher
transaction throughput although a slighly lower data rate per transaction.
Shahryar, I know you are correct. These new disks are blindingly quick but
disks haven't come on as much as cpu and memory speeds in the last few
years. They have mainly got bigger which is not necessarily best for rdbms.
Paul
"Shahryar G. Hashemi" <shahryar.hashemi@.infospace.com> wrote in message
news:eDAnkYM4FHA.476@.TK2MSFTNGP15.phx.gbl...
> Hi,
> We should remember that the more heads/spindals you have for the RAID the
> better the performance. With the disk technology today and the RPM speeds
> I think you could get away with a large RAID and splice it up on the OS
> level into different drives/devices.
> Just a note from my SysAdmin days [those were the days ;-].
> Shahryar
> jxstern wrote:
>
> --
> Shahryar G. Hashemi | Sr. DBA Consultant InfoSpace, Inc. 601 108th Ave NE
> | Suite 1200 | Bellevue, WA 98004 USA Mobile +1 206.459.6203 | Office
> +1 425.201.8853 | Fax +1 425.201.6150 shashem@.infospace.com |
> www.infospaceinc.com
> This e-mail and any attachments may contain confidential information that
> is legally privileged. The information is solely for the use of the
> intended recipient(s); any disclosure, copying, distribution, or other use
> of this information is strictly prohibited. If you have received this
> e-mail in error, please notify the sender by return e-mail and delete this
> message. Thank you.
sql

No comments:

Post a Comment