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: What block size are you using for your new 9i data warehouse?

RE: What block size are you using for your new 9i data warehouse?

From: <Cherie_Machler_at_gelco.com>
Date: Fri, 26 Apr 2002 11:33:33 -0800
Message-ID: <F001.00450F02.20020426113333@fatcity.com>

Gaja,

Thanks for this enlightening and helpful reply.

Cherie

                                                                                                                   
                    Gaja Krishna                                                                                   
                    Vaidyanatha          To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>       
                    <oraperfman_at_ya       cc:                                                                       
                    hoo.com>             Subject:     RE: What block size are you using for your new 9i data       
                    Sent by:              warehouse?                                                               
                    root_at_fatcity.c                                                                                 
                    om                                                                                             
                                                                                                                   
                                                                                                                   
                    04/26/02 11:48                                                                                 
                    AM                                                                                             
                    Please respond                                                                                 
                    to ORACLE-L                                                                                    
                                                                                                                   
                                                                                                                   




All,

Something to keep in mind regardless of whether you are using 9i or not. This issue becomes more relevant in 9i with "multiple block sizes" for different tablespaces.

You always want to ensure that your DB_BLOCK_SIZE = File System Block Size. This is to avoid wasted I/O and also the case where the "read ahead algorithm" is triggered accidentally, when 1 Database Block results in multiple file system blocks being read from disk.

If your application performs range scans, there is a high possibility that multiple "single database block" read requests to a set of contiguous blocks, may result in the "read ahead algorithm" performing 128K or 256K pre-fetches, even though your application may have not required all 128K or 256K.

This problem is rampant on ufs file systems where the default block size is 512 bytes, and with a 8K DB_BLOCK_SIZE, it takes 16 file system blocks to store 1 DB block on disk. However, even if you have advanced file systems and have a 1-is-to-2 ratio of DB block is-to FS blocks, you are still in danger of overloading your I/O sub-system, "under the right conditions".

If you are using a volume manager product such as Veritas, and if your version of the volume manager supports "dynamic file system block sizing" based on size of the file system or the files themselves, please pay close attention to that detail and make sure that the file system block size does not exceed the database block size (based on the size of the file system).

Best regards,

Gaja


Gaja Krishna Vaidyanatha
Director, Storage Management Products,
Quest Software, Inc.
Co-author - Oracle Performance Tuning 101 http://www.osborne.com/database_erp/0072131454/0072131454.shtml

Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Gaja Krishna Vaidyanatha
  INET: oraperfman_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).




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

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Fri Apr 26 2002 - 14:33:33 CDT

Original text of this message

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