Q

Calculating I/O size

I am trying to correlate the db_block_size and db_file_multiblock_read_count. I have the block size of 8k. Is 16k...

block size equivalent to increasing the db_file_multiblock_read_count (I know internally not but throughput wise)? I believe the I/O size=db_block_size * db_file_multiblock_read_count. So to match the I/O size, I could increase either one, right? Then why is it important that Oracle store only in multiples of OS block sizes? In the case of full table scans, your I/O size calculation is correct. However, remember that Oracle frequently reads single blocks from disk. Your I/O size in those cases would be just the size of an Oracle block.

You want the Oracle block size to be at least the size of an OS block because you don't want to waste I/O bandwidth. For example, if the OS block size is 8k, but your Oracle block size is 4k, you'd be transferring 8k to get 4k into your buffer cache, in effect ignoring the other 4k that you read. The same applies to writes.

This was last published in June 2004

Dig Deeper on Oracle database performance problems and tuning

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close