陈老师:1415968548 郑老师:2735197625 乐老师:354331153
客服热线:
19941464235 / 19906632509 / 19906733890 / 19905812933(微信同号)

客服微信

【云贝教育】Oracle 19c OCP 082题库解析(1)

作者:云贝教育 郭一军
原创
发布时间:2024-01-11 09:27
浏览量:1781

考试科目:1Z0-082

考试题量:90

通过分数:60%

考试时间:150min

本文为云贝教育郭一军(微信:guoyJoe)原创,请尊重知识产权,转发请注明出处,不接受任何抄袭、演绎和未经注明出处的转载


1. Which two statements are true about space-saving features in an Oracle Database?
A.An index created with the UNUSABLE attribute has no segment.
B.Private Temporary Tables(PTTs)store metadata in memory only.
C.Private Temporary Tables(PTTs) when used, are always dropped at the next commit statement.
D.An index that is altered to be UNUSABLE will retain its segment.
E. A table that is truncated will always have all of its extents removed.




参考答案:AB



解析:
A:不可用索引会自动删除segment,但是索引分区后,某个分区的索引不可用,其它索引段还在的
B:私有临时表这个特性18C才引入(https://docs.oracle.com/en/database/oracle/oracle-database/18/admin/managing-tables.html#GUID-9B373086-0760-4B18-9688-BACFF07EC74B)
C:私有临时表和全局临时表都有ON COMMIT DELETE ROWS和ON COMMIT PRESERVE ROWS的两种分类(delete rows用于事务相关,也就在事务结束后truncate data in the temporary table,preserve rows表示在会话结束后清除临时表的数据)
D:不可用的索引会被删除段,已使用alter index unusable测试
E:普通表截断后会保留min_extents设置的初始区段大小

sys@PROD> conn yunbee/yunbee@pdb1
Connected.
yunbee@PDB1> create table t10(id int,name varchar(100));

Table created.
yunbee@PDB1> begin
2  for i in 1 .. 50000 loop
3     insert into t10 values(i,'aaaaa');
4     commit;
5    end loop;
6  end;
7  /

PL/SQL procedure successfully completed.
yunbee@PDB1> select extent_id,file_id,block_id from dba_extents where segment_name='T10';
EXTENT_ID    FILE_ID   BLOCK_ID
---------- ---------- ----------
0         12        160
1         12        168
2         12        176
3         12        184
4         12        192
5         12        200
6         12        208
7         12        216
8         12        224
9         12        232
10         12        240
11         12        248
12         12        256
13         12        264
14         12        272

yunbee@PDB1> truncate table t10;
Table truncated.
yunbee@PDB1> select extent_id,file_id,block_id from dba_extents where segment_name='T10';

EXTENT_ID    FILE_ID   BLOCK_ID
---------- ---------- ----------
0         12        160



Oracle 19c OCP 考试为理论考试,需通过两门考试才能拿到“Oracle 19c OCP证书”。



Oracle 19c OCP 1z0-082考试详情


Oracle 19c OCP 1z0-083考试详情


Oracle 19c OCP证书如下 线下考试在提交培训记录后,需要一周的时间才可以获取到证书,线上考试在通过考试的一小时后可以获取证书。



云贝教育有专业的Oracle 19c OCP专家认证培训,想快速通过考试的同学可以扫码联系老师咨询(点击文字转跳至Oracle 19c OCP课程纲)