I am trying to correlate the db_block_size and db_file_multiblock_read_count. I have the block size of 8k. Is 16k...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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.
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.