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: Query on DB block size

Re: Query on DB block size

From: g.r.s. deisz <g.r.s.deisz_at_ptt-telecom.unisource.nl>
Date: 1997/07/18
Message-ID: <5qn44l$lgn@hdxl16.telecom.ptt.nl>#1/1

>can anyone explain this for me ? I have a Oracle RDBMS server on Unix.
>Now, it so happens that my Unix block size is 8K and the DB block size
>is 4K. Does it result in space wastage or more I/O ? Why does Oracle say
>that the Oracle DB block size has to be equal to or multiples of the OS
>block size ? Could somebody please explain the relation between the OS
>block size and DB block size.

Oracle cannot store data belonging to different Oracle blocks in one OS blocks. (It can store data belonging to one block in more than one OS block) This means that all space in an OS block that is not occupied by a DB block is wasted.
If your OS block size is 8k and your DB block size is 4k, you will waste 4k of each OS block. On the other hand, if your OS block size is 8k and your DB block size is 12k, you will waste 4k of each second OS block.

Stefan.


Name      :G.R.S. Deisz
Phone     :+31-50-5855954
E mail    :G.R.S.Deisz_at_PTT-Telecom.Unisource.NL
DISCLAIMER:This statement is not an official statement from, nor
           does it represent an official position of, PTT Telecom BV.
Received on Fri Jul 18 1997 - 00:00:00 CDT

Original text of this message

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