OCP 1Z0-053 Q115 -- 增大 DB_8K_CACHE_SIZE 大小
来源:互联网 发布:ubuntu 重装桌面环境 编辑:程序博客网 时间:2024/06/06 02:39
Q115. Note the following parameters settings in your database:
SGA_MAX_SIZE = 1024M
SGA_TARGET = 700M
DB_8K_CACHE_SIZE = 124M
LOG_BUFFER = 200M
You issued the following command to increase the value of DB_8K_CACHE_SIZE:
SQL> ALTER SYSTEM SET DB_8K_CACHE_SIZE=140M;
What would happen?
A. It will fail because DB_8K_CACHE_SIZE parameter cannot be changed dynamically
B. It will be successful only if the memory is available from the auto tuned components
C. It will fail because an increase in DB_8K_CACHE_SIZE cannot be accommodated within SGA_TARGET
D. It will fail because an increase in the DB_8K_CACHE_SIZE cannot be accommodated within SGA_MAX_SIZE
Answer: D
SGA_MAX_SIZE >= SGA_TARGET + DB_8K_CACHE_SIZE + LOG_BUFFER
1024 = 700 + 124 +200
要增大 DB_8K_CACHE_SIZE 的值,前提是 SGA_MAX_SIZE 有可用空间,否则需要增大 SGA_MAX_SIZE 的值。
本题中 SGA_MAX_SIZE 无可用空间,需相应增大 SGA_MAX_SIZE 的值。
SQL> alter system set sga_max_size=1040m scope=spfile; -- SGA_MAX_SIZE 16M ↑
SQL> shutdown immediate;
SQL> startup;
SQL> alter system set db_8k_cache_size=140m; -- DB_8K_CACHE_SIZE 16M ↑
SQL> show parameter sga_max_size;
SQL> show parameter db_8k_cache_size;
SGA_MAX_SIZE = 1024M
SGA_TARGET = 700M
DB_8K_CACHE_SIZE = 124M
LOG_BUFFER = 200M
You issued the following command to increase the value of DB_8K_CACHE_SIZE:
SQL> ALTER SYSTEM SET DB_8K_CACHE_SIZE=140M;
What would happen?
A. It will fail because DB_8K_CACHE_SIZE parameter cannot be changed dynamically
B. It will be successful only if the memory is available from the auto tuned components
C. It will fail because an increase in DB_8K_CACHE_SIZE cannot be accommodated within SGA_TARGET
D. It will fail because an increase in the DB_8K_CACHE_SIZE cannot be accommodated within SGA_MAX_SIZE
Answer: D
SGA_MAX_SIZE >= SGA_TARGET + DB_8K_CACHE_SIZE + LOG_BUFFER
1024 = 700 + 124 +200
要增大 DB_8K_CACHE_SIZE 的值,前提是 SGA_MAX_SIZE 有可用空间,否则需要增大 SGA_MAX_SIZE 的值。
本题中 SGA_MAX_SIZE 无可用空间,需相应增大 SGA_MAX_SIZE 的值。
SQL> alter system set sga_max_size=1040m scope=spfile; -- SGA_MAX_SIZE 16M ↑
SQL> shutdown immediate;
SQL> startup;
SQL> alter system set db_8k_cache_size=140m; -- DB_8K_CACHE_SIZE 16M ↑
SQL> show parameter sga_max_size;
SQL> show parameter db_8k_cache_size;
- OCP 1Z0-053 Q115 -- 增大 DB_8K_CACHE_SIZE 大小
- OCP 1Z0 053 1
- OCP 1Z0 053 2
- OCP 1Z0 053 3
- OCP 1Z0 053 4
- OCP 1Z0 053 5
- OCP 1Z0 053 6
- OCP 1Z0 053 7
- OCP 1Z0 053 8
- OCP 1Z0 053 9
- OCP 1Z0 053 10
- OCP 1Z0 053 11
- OCP 1Z0 053 12
- OCP 1Z0 053 13
- OCP 1Z0 053 14
- OCP 1Z0 053 15
- OCP 1Z0 053 16
- OCP 1Z0 053 17
- c#打开一个word的程序
- 利用dom4j读取xml文件
- 向Web开发人员推荐12款优秀的 Twitter Bootstrap 组件和工具
- 关于二值化函数cvAdaptiveThreshold和cvThreshold的一些发现
- 整理:打开拨号界面自动填写号码而不直接呼叫电话的实现
- OCP 1Z0-053 Q115 -- 增大 DB_8K_CACHE_SIZE 大小
- Linux环境下的Hadoop安装
- Box2D v2.1.0 用户手册
- 设计模之工厂模式
- android 中文 api (64) —— Scroller
- 数据库客户端配置
- Leetcode Same Tree
- http与https的区别
- 几道C++经典面试题2