Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: To RAID or not to RAID (...or how to RAID)

Re: To RAID or not to RAID (...or how to RAID)

From: Jake <me_at_heyjay.com>
Date: Wed, 11 Sep 2002 23:38:20 -0500
Message-ID: <alp5oa$lms$1@bob.news.rcn.net>

You might want to check out:
http://www.ixora.com.au/newsletter/2000_10.htm#same

I like having 4 drives for online redo, NOT 2 mirrored drives. Have oracle multiplex (instead of mirror), and alternate drives at log switches. That way I can't delete my redo by accident (as I could with a single mirrored copy)

Just my 2 cents
Jake
"Rick Denoire" <100.17706_at_germanynet.de> wrote in message news:gecvnukn3tp03pkted9c0rqgln1vokg25i_at_4ax.com...
> SELECT greeting_name FROM greetings
> WHERE greeting_name="HELLO";
>
> I am planning to put an Oracle DB (8.1.7, Solaris 2.7) on a RAID
> System from Dell with 10 HDs in a RAID 1/0 configuration.
>
> My question is, should I make one logical device out of all disks and
> just put all tablespaces there? Or should I make groups of disks
> holding different kind of data?
>
> I have some extra disks for redologs, control files and the like.
>
> Please don't tell me to go and read the basics about using Raid with
> databases. I have already done that and have read that I should use
> Raid to take advantage of parallel operations of single spindles, but
> in the same documents, I am told to separate different kind of data.
> That is a contradiction to me except if it would involve using one
> Raid system for every type of data - kind of expensive. If all is
> going to be put together in one Raid, tables can be read in parallel,
> indexes themselves too, but the system won't read tables AND indexes
> in parallel. You will have to separete them for that.
>
> Well, separated single disks aren't a Raid system any more I guess.
>
> At present I tend to make two logical devices, one consisting of 6 and
> the other of 4 disks (effectively, 3 and 2 because of mirroring), to
> be used for data and indexes respectively. TMP, RBS etc. would go to
> extra disks.
>
> Please correct me, but to my understanding, Raid systems loose their
> advantage of parallelizing the mechanical side of things (i.e.,
> rotation of spindles and movement of heads) if I/O is going to be of
> random type; that is, Raid is more appropriate for sequencial
> operations rather than for one-block-access. So by separating tables
> and indexes into two logical devices consisting of independent
> harddisks, head jumps can occur in parallel and are reduced for every
> logical device, since Oracle demands access to indexes and tables
> (except for table scans, of course - but these should be avoided in my
> experience).
>
> Another question concerns the stripe size and arises when considering
> what happens when the DB tables are tuned to use indexes and most of
> I/O are one block operations. If the minimal data chunk that can be
> read at a time from one spindle is larger than one Oracle block, then
> no parallelism will be possible. Every block will be read entirely
> from just one harddisk, exactly the way that they are read when using
> single disks without any Raid. Correct me at this point but does not
> that mean that the stripe width (over all harddisks) should be as
> close as possible to one Oracle block? In that case, reading one block
> would force using all disks. For example, with a Raid of 4 disks and
> an Oracle block size of 8K, the stripe size on every disk should be
> 2K. This is unusual small so I need your advise here.
>
> The third question - you would guess that - refers to the optimal size
> of the Oracle parameter db_multiblock_read_count in a Raid
> environment. Since this parameter is global for the DB, it can't be
> tuned to all devices at a time. For example, a Raid of 8 disks would
> be best suited with a db_multiblock_read_count=64 (assuming a
> blocksize of 8K) - but not all devices of the DB consist of 8 disks...
> Feel free to elaborate on that.
>
> Thanks a lot
>
> Rick
Received on Wed Sep 11 2002 - 23:38:20 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US