|
最初由 jaunt 发布
[B]对于CREATE TABLESPACE 来说:
BLOCKSIZE Clause:
Use the BLOCKSIZE clause to specify a nonstandard block size for the tablespace. In order to specify this clause, you must have the DB_CACHE_SIZE and at least one DB_nK_CACHE_SIZE parameter set, and the integer you specify in this clause must correspond with the setting of one DB_nK_CACHE_SIZE parameter setting.
Restriction on BLOCKSIZE:
You cannot specify nonstandard block sizes for a temporary tablespace (that is, if you also specify TEMPORARY) or if you intend to assign this tablespace as the temporary tablespace for any users.
也就是说,CREATE TABLESPACE 时使用BLOCKSIZE子句时,要求在SGA 中有对应的DB_[I]n[/I]K_CACHE_SIZE。但是并不是说使用CREATE TABLESPACE 来使得SGA 中可以有DB_[I]n[/I]K_CACHE_SIZE,DB_[I]n[/I]K_CACHE_SIZE 是只能通过初始化参数来设置的。[/COLOR]
DB_[I]n[/I]K_CACHE_SIZE 和DB_BLOCK_SIZE 有一些关系的:
DB_nK_CACHE_SIZE (where n = 2, 4, 8, 16, 32) specifies the size of the cache for the nK buffers. You can set this parameter only when DB_BLOCK_SIZE has a value other than nK. For example, if DB_BLOCK_SIZE=4096, then it is illegal to specify the parameter DB_4K_CACHE_SIZE (because the size for the 4 KB block cache is already specified by DB_CACHE_SIZE). [/B]
至于缓冲区的大小是多少,是你DB_[I]n[/I]K_CACHE_SIZE 设置为多少,就是多少。 |
|