149.You executed the following command to create a tablespace called SALES_DATA: SQL> CREATE TABLESP

来源:互联网 发布:数据库删除一条数据 编辑:程序博客网 时间:2024/06/01 08:34
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.
答案:AD
解析:SEGMENT SPACE MANAGEMENT AUTO--说明启用了assm
A:正确,assm
B:错误,这个应该属于表压缩的功能
   表压缩
      1.11g表压缩是通过 pctfree 参数来控制的,当往一个数据块中插入数据的时候,它是以非压缩的形式
        存入的,只要空闲区下降到了 pctfree 的时候,oracle 就开始自动压缩数据,这意味着磁盘空间占用减少
        ,因此这个数据块就允许继续插入新的未压缩数据直到空闲区再次下降到了pctfree的限制值为止,这个时候压缩又
        被触发了
      2.这种压缩技术消除了删除操作产生的空洞而且是数据块中连续的空闲区最大化
      3.想要使用这种技术,需要将初始化参数设置为 database compatibility 设置为11.1或以上,
        还必须在 create table 的时候使用下面两种子句
        a.compress for all operations
          默认,11g之前的版本在大规模装入数据时压缩数据
        b.compress for direct_load operations 子句
          在oltp操作和直接装入数据操作时都压缩数据
      4.开启表压缩
        alter table wahaha compress for all operations;--它只对新数据有效    
C:错误,这个说的是数据字典管理的表空间
D:正确,参考145题,这里启用了assm,因此使用的是位图
E:错误
0 0
原创粉丝点击