zoukankan      html  css  js  c++  java
  • 052-144

    You execute the following command to change the status of the SALES tablespace:
    SQL> ALTER TABLESPACE sales OFFLINE;
    Which statements describe the effect of the command? (Choose all that apply.)
    A.The tablespace would require recovery to go back online.
    B.A checkpoint is taken on all data files that are associated with the SALES tablespace.
    C.The sessions that subsequently try to access the objects in the SALES tablespace receive an error.
    D.The new status of the SALES tablespace is recorded in the control file when the database instance is closed.

    表空间 offline 选项:
      Normal(正常):如果表空间中的任何数据文件不存在任何错误状态,可通过正常方式使表空间脱机.表空间脱机时,会对表空间中的所有数据文件设置检查点,可以确保将所有数据写入磁盘.
      Temporary(临时):如果表空间中的一个或多个文件存在错误状态,也可以使表空间暂时脱机.尚未脱机的数据文件脱机时,会对这些数据文件设置检查点.如果没有任何文件脱机,但是使用了临时子句,使表空间重新联机时便不需要执行介质恢复.但是,如果因写错误而导致表空间的一个或多个文件脱机,而且设置了表空间临时脱机,那么表空间需要执行恢复后才能重新联机.
      Immediate(立即)表空间可以立即脱机,Oracle 数据库不需要对任何数据文件设置检查点.如果指定了"Immediate",则必须先对表空间执行介质恢复 recover tablespace ,才能使表空间联机.如果数据库在 NOARCHIVELOG 模式下运行,则无法立即使表空间脱机.
    因为是正常的 offline 表空间,所以不需恢复,即可 online,A 错
    正常的 offline 表空间,会对所有数据文件设置检查点,B 对
    不能访问 offline 的表空间,C 对
    表空间 offline 时会立即记录在控制文件,而不是关闭的时候才记录,D 错

  • 相关阅读:
    使用PHP模拟post提交数据
    window.event.keycode值大全
    php采集
    自己写的一个简单PHP采集器
    php如何实现定时任务,php定时任务方法,最佳解决方案,php自动任务处理
    关于delphi软件运行出现Invalid floating point operation的错误的解决办法
    delphi编程创建桌面快捷方式
    BCB直接访问硬件端口和物理内存
    delphi winio 输入
    总是说spring难学?来看完这些spring的注解及其解释,真香!
  • 原文地址:https://www.cnblogs.com/Babylon/p/8037230.html
Copyright © 2011-2022 走看看