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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Commit boundary <-> Stripe Unit Size Co-relation

RE: Commit boundary <-> Stripe Unit Size Co-relation

From: VIVEK_SHARMA <VIVEK_SHARMA_at_infosys.com>
Date: Fri, 14 Feb 2003 22:33:41 -0800
Message-ID: <F001.0054E774.20030214223341@fatcity.com>


Andrew , List

How does setting the parameters HASH_MULTIBLOCK_IO_COUNT and SORT_MULTIBLOCK_READ_COUNT affect the SQL Queries / Execution plans of the Optimizer ?

Any experiences ?

Thanks indeed

-----Original Message-----

Sent: Thursday, February 13, 2003 1:32 PM To: LazyDBA.com Discussion

At the risk of talking this topic to death...

Stripe size can be very important. The 'best' stripe size is usually the same as the multiple of the parameters DB_BLOCK_SIZE and DB_FILE_MULTIBLOCK_READ_COUNT, although you might want to experiment with a value half or double this depending on your application. Also, set values of HASH_MULTIBLOCK_IO_COUNT and SORT_MULTIBLOCK_READ_COUNT so that these (x DB_BLOCK_SIZE) are related to the stripe size.

The other factor that can affect things badly is the number of disks in the stripe set. A 'large' number of disks (eg 16) can severely impact write performance, but should be OK for read (each disk will store 1 8k Oracle block). Equally, a very small number of disks (eg 2 for stripe or 3 for RAID-5) is poor because of lower I/O throughput. You need to experiment to get the best, but the general recommendation is for 4 to 6 data disks per set (ie 5 to 7 for RAID5).

Since Vivek's system performed best with 128K stripe size, I'd suggest that the defaults for the parameters are in use (eg DB_BLOCK_SIZE = 8192 and DB_FILE_MULTIBLOCK_READ_COUNT = 16).
-----Original Message-----

Sent: 13 February 2003 06:43
To: LazyDBA.com Discussion

Dennis , Connor , List

Further a very vague Qs.

For Batch Jobs , we get extremely DIFFERENT performances when using DIFFERENT Stripe Unit Sizes of 4K , 64 K , 128K , 512K , 1M , 2M WITH 128K performing the BEST.

Both SELECTs & UPDATEs Hang almost indefinitely with 512K , 1M , 2M Stripe Unit Sizes .

Average Size Data Inserted/Updated is 5K approx. acrross 7 Tables for one Application Transaction

Thus there Seems Some Co-relation between SELECT/UPDATE/INSERT from Datafiles & Different Underlying Stripe Unit Sizes .

Any Comments ?

Thanks

-----Original Message-----

Sent: Wednesday, February 12, 2003 8:54 PM To: Multiple recipients of list ORACLE-L

Vivek - Just to add to Connor's statements (wow am I being rash here), Oracle's strength is that it's architecture disconnects transactions from disk writes. On one hand, block may be modified several times before being written to disk (hot block, for instance). On the other hand, Oracle may need buffer space and write a block to disk before a transaction commits. But Oracle keeps track of all this and can straighten everything out if the transaction is rolled back or the system crashes.

Dennis Williams
DBA, 40%OCP
Lifetouch, Inc.
dwilliams_at_lifetouch.com

-----Original Message-----

Sent: Wednesday, February 12, 2003 12:04 AM To: Multiple recipients of list ORACLE-L

CASE - If Size of 1 INSERT/UPDATE Statement = 1K & Stripe Unit Size is 128 K ?

How will 1 COMMIT issued after 300 "1K" INSERT/UPDATE Statements DIFFER from 1 COMMIT issued after EACH "1K" INSERT/UPDATE Statement with respect to Writing to the datafiles on the Underlying Striped Volume ?

If 1 INSERT Statement Data is Written to the 1st Disk (say) of the Striped Volume , will a Repeat of the SAME INSERT Statement Write to a Different Underlying Disk of the same Striped Volume within the SAME Segment Extent ?

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: VIVEK_SHARMA
  INET: VIVEK_SHARMA_at_infosys.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Received on Sat Feb 15 2003 - 00:33:41 CST

Original text of this message

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