Professional Documents
Culture Documents
+++++++++++++++++++++++
Oracle recommends that your database block size match, or be multiples of your
operating system block size. One can use smaller block sizes, but the performance
cost is significant. The choice should depend on the type of application you are
running. If you have many small transactions as with OLTP, use a smaller block
size. With fewer but larger transactions, as with a Data warehousing (DW)
application, use a larger block size.
There is no standard block size suggested, Based on the type of database and
applications, we need to choose the block size that suits our need.
Baiscally we can choose smaller,medium and large block size, the following oulines
each.
Advantages
Good for small rows with lots of wide-spread random access I/O (row lookups by
index, etc.) ·
Reduces the chances for block contention and possibility of “Buffer Busy Waits” ·
Disadvantages
Medium (8k)
Advantages
The most suitable “middle ground” between block contention, efficient data storage,
and I/O throughput for general transaction processing systems ·
Disadvantages
Memory and I/O can be wasted if a majority of data is accessed randomly and
consists of very small rows (<100 bytes)
Disadvantages
In OLTP environments, increases the potential for block contention and the
possibility of “Buffer Busy Waits”, especially when updating traditional rollback
segment and index leaf blocks
Posted by Naresh Miryala