SQL> startup
ORACLE 例程已经启动。
Total System Global Area 1468006400 bytes
Fixed Size 1251172 bytes
Variable Size 343935132 bytes
Database Buffers 1115684864 bytes
Redo Buffers 7135232 bytes
数据库装载完毕。
数据库已经打开。
SQL> show parameter db_cache
NAME TYPE
------------------------------------ ----------------------
VALUE
------------------------------
db_cache_advice string
ON
db_cache_size big integer
1000M
SQL> alter system set db_cache_size=500M scope=spfile;
系统已更改。
SQL> show parameter db_cache
NAME TYPE
------------------------------------ ----------------------
VALUE
------------------------------
db_cache_advice string
ON
db_cache_size big integer
1000M
SQL> shutdown immediate;
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 1468006400 bytes
Fixed Size 1251172 bytes
Variable Size 343935132 bytes
Database Buffers 1115684864 bytes
Redo Buffers 7135232 bytes
数据库装载完毕。
数据库已经打开。
SQL> show parameter db_cache_size;
NAME TYPE
------------------------------------ ----------------------
VALUE
------------------------------
db_cache_size big integer
504M
SQL>
SQL> show sga;
Total System Global Area 1468006400 bytes
Fixed Size 1251172 bytes
Variable Size 343935132 bytes
Database Buffers 1115684864 bytes
Redo Buffers 7135232 bytes
SQL>
疑问:为什么db_cache_size改成500M了,Database Buffers没有变化,还是1115684864 bytes。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15689685/viewspace-551842/,如需转载,请注明出处,否则将追究法律责任。