博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Oracle OCP 1Z0-050(21题)解析
阅读量:4041 次
发布时间:2019-05-24

本文共 2543 字,大约阅读时间需要 8 分钟。

Oracle OCP 1Z0-050(21题)解析

QUESTION 21:

Which statement describes the information returned by the DBMS_SPACE.SPACE_USAGE procedure for LOB space usage?

A. It returns space usage of only SecureFile LOB chunks.

B. It returns space usage of only BasicFile LOB chunks.

C. It returns both BasicFile and SecureFile LOB space usage for both partitioned and nonpartitioned tables.

D. It returns both BasicFile and SecureFile LOB space usage for only nonpartitioned tables.

正确答案:A

解析:

需要阅读Oracle官方文档。

Oracle官方文档的解释:

SPACE_USAGE Procedures

The first form of the procedure shows the space usage of data blocks under the segment High Water Mark. You can calculate usage for LOBs, LOB PARTITIONSand LOB SUBPARTITIONS.

This procedure can only be used on tablespaces that are created with auto segment space management. The bitmap blocks, segment header, and extent map blocks are not accounted for by this procedure. Note that this overload cannot be used on SECUREFILE LOBs.

The second form of the procedure returns information about SECUREFILE LOB space usage. It will return the amount of space in blocks being used by all the SECUREFILE LOBs in the LOB segment. The procedure displays the space actively used by the LOB column, freed space that has retention expired, and freed space that has retention unexpired. Note that this overload can be used only on SECUREFILE LOBs.

DBMS_SPACE.SPACE_USAGE(   segment_owner           IN  VARCHAR2,   segment_name            IN  VARCHAR2,   segment_type            IN  VARCHAR2,   unformatted_blocks      OUT NUMBER,   unformatted_bytes       OUT NUMBER,   fs1_blocks              OUT NUMBER,   fs1_bytes               OUT NUMBER,   fs2_blocks              OUT NUMBER,   fs2_bytes               OUT NUMBER,   fs3_blocks              OUT NUMBER,   fs3_bytes               OUT NUMBER,   fs4_blocks              OUT NUMBER,   fs4_bytes               OUT NUMBER,   full_blocks             OUT NUMBER,   full_bytes              OUT NUMBER,   partition_name          IN  VARCHAR2 DEFAULT NULL);

 

DBMS_SPACE.SPACE_USAGE(   segment_owner           IN    VARCHAR2,   segment_name            IN    VARCHAR2,   segment_type            IN    VARCHAR2,   segment_size_blocks     OUT   NUMBER,   segment_size_bytes      OUT   NUMBER,   used_blocks             OUT   NUMBER,   used_bytes              OUT   NUMBER,   expired_blocks          OUT   NUMBER,   expired_bytes           OUT   NUMBER,   unexpired_blocks        OUT   NUMBER,   unexpired_bytes         OUT   NUMBER,   partition_name          IN    VARCHAR2 DEFAULT NULL);

 

转载地址:http://cutdi.baihongyu.com/

你可能感兴趣的文章
微信朋友圈分享
查看>>
eclipse安装JAVA反编译插件
查看>>
ip限制
查看>>
IE6 png 透明
查看>>
列表拖动排序
查看>>
select实例,拼音检索
查看>>
Spring MVC @Transactional注解方式事务失效的解决办法
查看>>
js正则表达式限制文本框只能输入数字,小数点,英文字母
查看>>
Spring事务失效的原因
查看>>
mybatis获取数据库表字段名+数据
查看>>
使用springfox整合SpringMVC和Swagger
查看>>
JAVA静态代理和动态代理
查看>>
使用Navicat计划任务备份mysql数据库
查看>>
Java高并发,如何解决,什么方式解决
查看>>
深入理解分布式事务,高并发下分布式事务的解决方案
查看>>
分布式事务一些总结与思考
查看>>
Spring Cloud微服务架构实践与经验总结
查看>>
Spring Boot入门篇
查看>>
spring cloud服务的注册与发现(Eureka)
查看>>
Java IO流
查看>>