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 first published in June 2004

Dig deeper on Oracle database performance problems and tuning

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close