zoukankan      html  css  js  c++  java
  • 05397

    The RECYCLEBIN parameter is set to ON for your database. You drop a table, PRODUCTS, from the SCOTT schema.
    Which two statements are true regarding the outcome of this action? (Choose two)
    A. All the related indexes and views are automatically dropped
    B. The flashback drop feature can recover only the table structure
    C. Only the related indexes are dropped whereas views are invalidated
    D. The flashback drop feature can recover both the table structure and its data

      drop table 语句将表移动到回收场,此时表的空间并不能被表空间中的其他对象使用,除非使用了 purge参数。
      当表被 drop 时,所有的行,索引和表上定义的触发器均被 drop(如果是分区表,所有的分区索引也将被drop)。所有存储嵌套表和 LOB 都被 drop。
      于表相关的视图,物化视图,存储过程,函数或表并不会被 drop,只是失效。你将无法使用这些对象,除非重建表或者取消依赖关系。物化视图还是可以查询,但是不能被刷新(如果有物化视图日志,会删除物化视图日志和其他任何直接 insert 的刷新信息)。
      当表被重建后,之前赋予此表的对象权限,不用重新赋予。
      purge 等价于首先将表移动到回收站,然后再将其从回收站删除。当表从回收站 purge 后,将不能使用闪回特性恢复。

  • 相关阅读:
    linux 下查看文件个数及大小
    weblogic日志小结
    Excel数据通过plsql导入到Oracle
    Linux查看外网IP
    linux挂载/卸载优盘
    git版本回退
    linux修改文件所属用户、用户组
    retry.RetryInvocationHandler (RetryInvocationHandler.java:invoke(140))
    Hadoop切换namenode为active
    Netty使用LineBasedFrameDecoder解决TCP粘包/拆包
  • 原文地址:https://www.cnblogs.com/Babylon/p/7839149.html
Copyright © 2011-2022 走看看