您的位置:首页 > 数据库 > Oracle

Oracle OCP认证考试题库解析052-3

2015-01-19 15:54 876 查看
QUESTION 3

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.

Correct Answer: AD
Explanation/Reference: 段空间管理: 本地管理的表空间中的段空间管理方式可指定为: 自动:Oracle DB 使用位图管理段中的空闲空间.位图描述了段中每个数据块的状态,该状态与可插入行的块中的空间量有关.当数据块中可用空间增多或减少时,位图中会反映数据块的新状态.通过使用位图,Oracle DB 可以提高管理空闲空间的自动化程度.因此,这种空间管理方式称为"自动段空间管理(ASSM)". 手动:此方法指定要使用空闲列表来管理段中的空闲空间.空闲列表是由一些数据块组成的列表,这些数据块中有可插入行的空间.由于这种管理段空间的方式需要为在表空间中创建的方案对象指定并优化PCTUSED、FREELISTS和FREELIST GROUPS存储参数,因此这种方式称为"手动段空间管理".支持使用此方法是为了向后兼容,建议使用ASSM. 可通过dba_tablespaces查看分区和段空间管理方式: SYS@ENMOEDU> select tablespace_name,extent_management,segment_space_management from dba_tablespaces; TABLESPACE_NAME EXTENT_MAN SEGMEN---------------- ---------- ------SYSTEM LOCAL MANUALSYSAUX LOCAL AUTOTEMP LOCAL MANUALUSERS LOCAL AUTOEXAMPLE LOCAL AUTOUNDOTBS1 LOCAL MANUAL
更多题库解析,敬请关注:http://ke.qq.com/cgi-bin/courseDetail?course_id=36323
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息