OCP-1Z0-053-200题-101题-212

QUESTION 101

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_SIZEparameter 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_SIZEcannot be accommodated within SGA_TARGET

D. It will fail because an increase in the DB_8K_CACHE_SIZEcannot be accommodated within

SGA_MAX_SIZE

Answer: D

同212题:http://blog.csdn.net/rlhua/article/details/16855799


Explanation/Reference:

Section: Initialization, Parameters, File Location & Server Configuration

Whoever wrote this question is on dope.. log_buffer=200M? How does one set that?

http://www.dba-oracle.com/art_tr_multiblock.htm

Allocating many RAM data buffers

In Oracle, you can start using new RAM buffers at any time. However, when you add space to a new data

buffer, you must make sure that RAM is available within the Oracle SGA. Otherwise, you'll get this error:

SQL> alter system set db_16k_cache_size=10m;

alter system set db_16k_cache_size=10m

ERROR at line 1:

ORA-02097: parameter cannot be modified because specified value is invalid

ORA-00384: Insufficient memory to grow cache

To get around this problem, you can reduce the sizeof an existing RAM region or tell Oracle to increase the

SGA size. Increasing the total size of the RAM SGA is accomplished with this simple command:

alter system set sga_max_size=130m scope=spfile;

Now that you have room to add frames to a new pool,add a new data buffer, and issue an alter system

command, like so:

alter system set db_16k_cache_size=1028576;

System Altered.

You can verify that this new buffer exists by viewing the current Oracle parameters with this command:

SQL> show parameters cache_size

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值