教学文章
Technology Exchange
热门课程
400电话

免费咨询热线
400-090-9964

教学文章

Oracle 11g OCP认证052考试题库(68)-CUUG内部学员版

时间:2019-09-23 来源:

11g版本的OCP考试持续了好几年,一直比较稳定,直到2018年4月份左右,052考试不断的出现新的考题,虽然我们收集整理了不少,但新题还是难避免,这样出现一部分新题,我们收集一部分,持续了不短的时间。

对于这些052考试新题,不仅老师给出了答案,学员也积极的找资料、查文档,形成了一份内部综合版本,通过分数非常高,一起渡过这次052考试的难关。

-----------------------------------------------

052考试题-68(OCP考试题库讨论群:101-5267-481 验证:ocp)

Examine these SQL statements and their output:

SQL> select name,value

2 from v$parameter

3 where name like 'undo%';

NAME VALUE

-------------------- ----------------------

undo_management AUTO

undo_tablespace UNDO

undo_retention 900

SQL> select contents,retention

2 from dba_tablespaces

3 where tablespace_name='UNDO';

CONTENTS RETENTION

-------------- --------------------

UNDO NOGUARANTEE

SQL> select blocks,autoextensible,maxblocks

2 from dba_data_files

3 Where tablespace_name='UNDO';

BLOCKS AUT MAXBLOCKS

------------- ----- ---------------------

6400 YES 64000

Which two are true?

A)Inactive expired UNDO will be retained as long as possible within the limits of the current size of the UNDO tablespace.

B)The UNDO tablespace can grow automatically if there is not enough space to retain active UNDO.

C)Active UNDO will be retained as long as needed by transactions.

D)Inactive expired UNDO will never be retained for more than 15 minutes.

E)Inactive expired UNDO will always be retained for at least 15 minutes.

Answer: BC

赵:

B 译:如果没有足够的空间来保留活动 UNDO,UNDO 表空间可以自动增长。

Oracle 的 Undo 有两种方式: 一是使用 undo 表空间,二是使用回滚段。通过 undo_management 参数来控制使用哪种方式,如果设为 auto,就使用 UNDO 表空间,这时必须要指定一个 UNDO 表空间。如果设为 Manual,系统启动后使用 rollback segment 方式存储 undo 信息。如果系统没有指定undo_management,那么系统默认以 Manual 方式启动,即使设置了 auto 方式的参数,这些参数将被忽略。

版权所有@北京神脑资讯技术有限公司(CUUG,中国UNIX用户协会) Copyright ALL Rights Reserved 京ICP备11008061号-1

CUUG旗下网站:www.cuug.com.cn www.cuug.com oracle.cuug.com bbs.cuug.com www.cuug.net

电话:010-59426307 010-59426319 邮政编码:100089

地址:北京市海淀区北清路164号28-38号院