zoukankan      html  css  js  c++  java
  • OCP-1Z0-052-V8.02-149题

    149. You executed the following command to create a tablespace called SALES_DATA:

    SQL> CREATE TABLESPACE sales_data DATAFILE SIZE 100M

    SEGMENT SPACE MANAGEMENT AUTO;

    Which two statements are true about the SALES_DATA tablespace? (Choose two.)

    A.The database automatically determines the extent-sizing policy for the tablespace.

    B.The segments are automatically shrunk when the contents are removed from them. 

    C.The allocation of extents within the tablespace is managed through the dictionary tables. 

    D.The space utilization description of the data blocks in segments is recorded in bitmap blocks

    E.The space utilization description of the data blocks in segments is managed through free lists.  MANUAL

    Answer: AD  

    答案解析:



     段空间管理:本地管理的表空间中的段空间管理方式可指定为:
    • 自动:Oracle DB 使用位图管理段中的空闲空间。位图描述了段中每个数据块的状态,该状态与可插入行的块中的空间量有关。当数据块中可用空间增多或减少时,位图中会反映数据块的新状态。通过使用位图,Oracle DB 可以提高管理空闲空间的自动化程度。因此,这种空间管理方式称为“自动段空间管理(ASSM)”。
     
    • 手动:此方法指定要使用空闲列表来管理段中的空闲空间。空闲列表是由一些数据块组成的列表,这些数据块中有可插入行的空间。由于这种管理段空间的方式需要为在表空间中创建的方案对象指定并优化PCTUSED、FREELISTS和FREELIST GROUPS存储参数,因此这种方式称为“手动段空间管理”。支持使用此方法是为了向后兼容,建议使用ASSM。
     

    segment_management_clause

    The segment_management_clause is relevant only for permanent, locally managed tablespaces. It lets you specify whether Oracle Database should track the used and free space in the segments in the tablespace using free lists or bitmaps. This clause is not valid for a temporary tablespace.

    这条语句仅仅和permanent,locally managed tablespace相关。

    它允许你指定oracle数据库是否应该在段表空间中使用free list或者bitmaps来跟踪使用和空闲空间。

    这条语句对临时表空间无效

    AUTO Specify AUTO if you want the database to manage the free space of segments in the tablespace using a bitmap. If you specify AUTO, then the database ignores any specification for PCTUSEDFREELIST, and FREELIST GROUPS in subsequent storage specifications for objects in this tablespace. This setting is called automatic segment-space management and is the default.


    MANUAL Specify MANUAL if you want the database to manage the free space of segments in the tablespace using free lists. Oracle strongly recommends that you do not use this setting and that you create tablespaces with automatic segment-space management.

    To determine the segment management of an existing tablespace, query the SEGMENT_SPACE_MANAGEMENT column of the DBA_TABLESPACES or USER_TABLESPACES data dictionary view.

    要确定一个现有的表空间的分类管理,查询SEGMENT_SPACE_MANAGEMENT列的的DBA_TABLESPACES或USER_TABLESPACES的数据字典视图。

    sys@TEST0910> select TABLESPACE_NAME,SEGMENT_SPACE_MANAGEMENT from DBA_TABLESPACES;
     
    TABLESPACE_NAME                SEGMEN
    ------------------------------ ------
    SYSTEM                         MANUAL
    SYSAUX                         AUTO
    UNDOTBS1                       MANUAL
    TEMP                           MANUAL
    USERS                          AUTO
    EXAMPLE                        AUTO
     
    6 rows selected.

  • 相关阅读:
    Flex 布局教程:语法篇
    一些不错的滚动条
    SharePoint缓存导致访问慢解决
    针对SharePointFarm场时安装部署OWA的步骤
    【转】必需知道的 SharePoint 权限 Tips
    【转】SharePoint工作流中常用的方法
    通过SPList Definition自定义ListItem打开编辑详细页面
    Jquery 实现Xml文件内容处理
    【转】为 XmlNode.SelectNodes 加上排序功能
    [MSDN]关键字查询语言 (KQL) 语法参考
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316968.html
Copyright © 2011-2022 走看看