|
原帖由 Yong Huang 于 2008-11-6 10:22 发表 ![]()
Yes and Yes to the first two paragraphs.
Somewhere in documentation there's probably a suggestion that for performance reason, you should create a database with db_block_size equal to one or multiple OS block sizes. It's a suggestion, and I believe the OS block size here refers to I/O chunk size. If it were space allocation block size, that sentence would be meaningless, because as far as I know, space allocation block size is either 512 bytes or 1k depending on OS'es, and since Oracle can only create 2k or its multiple as db_block_size, it always satisfies the "requirement" or "suggestion", so the "requirement" or "suggestion" would be meaningless.
Yong Huang
嗯,我明白了。也就是说,文档里面只是建议是I/O chunk size的倍数,至少是相当,而意思并不是说必须的。
数据库块小于I/O chunk size并不是不允许的,只是性能不好。
Yong Huang,想再确认一下,数据库在读取数据的时候,顺序是什么?或者说,首先读取数据库文件中的块,然后读操作系统的块?还是其他的过程。 |
|