【OCP最新题库解析(052)--题1】Which is true about the SYSTEM and SYSAUX表空间
Q 题目
Which is true about the SYSTEM and SYSAUX tablespace?
A. Only the SYSTEM tablespace contains data dictionary tables.
B. Both tablespaces must be online for a database to be accessible.
C. Both tablespaces can be used for temporary storage if no temporary tablespace is defined.
D. The SYSAUX tablespace can be made read-only but the SYSTEM tablespace cannot.
A 答案
Answer:A
对于B选项,SYSAUX可以OFFLINE
对于C选项,SYSAUX和SYSTEM都是永久表空间,所以,不能用于临时表空间。
对于D选项,SYSAUX和SYSTEM都不能设置为READ ONLY。
在一般情况下,企业产生的业务数据应该存放在单独的数据表空间,而不应该使用系统已存在的表空间,尤其不能将业务数据保存到SYSTEM和SYSAUX表空间中,所以,DBA需要着重关注SYSTEM和SYSAUX表空间的占用情况。
Oracle服务器使用SYSTEM表空间管理整个数据库。这个表空间包含系统的数据字典和关于数据库的管理信息,这些信息均包含在SYS方案中,只有SYS用户或者拥有所需权限的其它管理用户才可访问这些信息。SYSTEM表空间用于核心功能(例如数据字典表)。
SYSAUX是SYSTEM表空间的辅助表空间。Oracle DB早期版本中某些使用SYSTEM表空间或其本身表空间的组件和产品现在改为使用SYSAUX表空间。每个Oracle Database 10g(或更高版本)数据库都必须拥有SYSAUX表空间。辅助表空间SYSAUX用于附加的数据库组件,例如,OEM库(Oracle Enterprise Manager Repository)、AWR快照信息库、统计信息、审计信息等。
SYSTEM和SYSAUX表空间是在创建数据库时创建的必需存在的表空间。这些表空间必须联机。在OPEN状态下,SYSAUX表空间可以脱机以执行表空间恢复,而SYSTEM表空间则不能,这两种表空间都不能设置为只读状态。在MOUNT状态下,任何表空间都可以脱机。
SYS@OCPLHR1> alter tablespace SYSTEM offline;
alter tablespace SYSTEM offline
*
ERROR at line 1:
ORA-01541: system tablespace cannot be brought offline; shut down if necessary
SYS@OCPLHR1> alter tablespace SYSaux offline;
Tablespace altered.
SYS@OCPLHR1> alter tablespace SYSaux read only;
alter tablespace SYSaux read only
*
ERROR at line 1:
ORA-13505: SYSAUX tablespace can not be made read only
SYS@OCPLHR1> alter tablespace SYSaux online;
Tablespace altered.
SYS@OCPLHR1> alter tablespace SYSaux read only;
alter tablespace SYSaux read only
*
ERROR at line 1:
ORA-13505: SYSAUX tablespace can not be made read only
SYS@OCPLHR1> alter tablespace SYStem read only;
alter tablespace SYStem read only
*
ERROR at line 1:
ORA-01643: system tablespace can not be made read-only
http://mp.weixin.qq.com/s/bUgn4-uciSndji_pUbLZfA |
http://mp.weixin.qq.com/s/Vm5PqNcDcITkOr9cQg6T7w |
OCP培训说明连接:https://mp.weixin.qq.com/s/2cymJ4xiBPtTaHu16HkiuA
OCM培训说明连接:https://mp.weixin.qq.com/s/7-R6Cz8RcJKduVv6YlAxJA
高可用(RAC+DG+OGG)培训说明连接:https://mp.weixin.qq.com/s/4vf042CnOdAD8zDyjUueiw
DBA宝典小程序 |
About Me:小麦苗
● 本文作者:小麦苗,只专注于数据库的技术,更注重技术的运用
● 作者博客地址:http://blog.itpub.net/26736162/abstract/1/
● 本系列题目来源于作者的学习笔记,部分整理自网络,若有侵权或不当之处还请谅解
● 版权所有,欢迎分享本文,转载请保留出处
● QQ:646634621 QQ群:618766405
● 题目解答若有不当之处,还望各位朋友批评指正,共同进步
长按下图识别二维码或微信扫描下图二维码来关注小麦苗的微信公众号:xiaomaimiaolhr,学习最实用的数据库技术。
本文分享自微信公众号 - DB宝(lhrdba)。
如有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一起分享。
- 【OCP最新题库解析(052)--题11】Which is true about the (ADR)
- 166.View the Exhibit and examine the setting for a table. Which statement is true about the PCTFR
- 【OCP最新题库解析(052)--题57】 You plan to install Oracle Grid
- 97.Which statement is true about loading data using the conventional path of SQL*Loader?
- OCP最新题库052新题解析-带答案-第37题
- 53 Which statement about using RMAN stored scripts is true? A. To create and execute an RMA
- Which statement is true about loading data using the conventional path of SQL*Loader? A.Redo is not
- 【OCP|052】OCP最新题库解析(052)--小麦苗解答版
- 55 Which statement about recovering from the loss of a redo log group is true? A. If the lost redo l
- 67.The instance abnormally terminates because of a power outage. Which statement is true about redo
- 47 You want to use RMAN to create compressed backups. Which statement is true about the compression
- SQL Server Agent Job Fails When the Job Uses a Linked Server and the Job Owner Is Not a System Administrator
- 2018版OCP 11g 052最新考试题库整理(带答案)(3)
- 9.Which statement is true regarding the INTERSECT operator?
- OCP052_100_Situations in Which Direct Path Load Is Not Used(译)
- 170.Which two statements are true regarding the DELETE and TRUNCATE commands? (Choose two.)
- 117.Which statements are true regarding the WHERE and HAVING clauses in a SELECT statement?
- Oracle OCP认证考试题库解析052-1
- What’s the Difference Between HDMI and DVI? Which is Better?
- 053-4 Which two statements about the SQL Management Base (SMB) are true? (Choose two.)