ITPUB??ì3
2010数据库技术大会
ITPUB论坛 » Oracle入门与认证 » [TK024] question 20疑问

您有 2 条公共消息
  • 来自: 公共消息 标题: 新开"PLM/PDM产品 ... 内容: 讨论范围包括:产品研发管理(PDM),产品生命周期管理(PLM),工艺/ ...
  • 来自: 公共消息 标题: 2010数据库技术大 ... 内容: “2010数据库技术大会”将于2010年4月2日~4月3日,在北京歌华开元大酒 ...

    标题: [TK024] question 20疑问
    离线 strongliq
    长河落日


    精华贴数 0
    个人空间 0
    技术积分 3014 (603)
    社区积分 1276 (1026)
    注册日期 2003-9-15
    论坛徽章:4
    ITPUB元老会员2006贡献徽章授权会员ITPUB新首页上线纪念徽章  
          

    发表于 2004-7-26 18:18 
    [TK024] question 20疑问

    Q20:which three statements about rebuilding indexes are true (choose three)
    a. the alter index rebuild command is used to change the storage characteristics of an index
    b. using the alter index rebuild is usually faster than dropping and recreating an index because it uses the fast full scan feature;
    c. oracle allows for the creation of an index or re-creation of an existing index while allowing concurrent operations on the base table
    d. when building an index, the nologging and unrecoverable keywords can be used concurrently to reduce the time it takes to rebuild



    a/b/c是对的,我怎么看着D也对呢?

    RECOVERABLE or UNRECOVERABLE (RECOVERABLE is the default)
    – UNRECOVERABLE is faster because it does not write redo log entries when
    the index is created or rebuilt.
    – This clause does not set a permanent attribute of the object, but is only
    effective when the index is created; thus, it does not appear in the data
    dictionary.
    – This attribute cannot be updated.
    – This attribute can only be used when the object is created or rebuilt.
    – This attribute implies LOGGING by default, which means that additional
    inserts are logged.
    – The index is not recoverable if it needs to be re-created during a recovery
    operation.
    • LOGGING or NOLOGGING
    – NOLOGGING is faster because it does not write any redo log entries during
    the index life until NOLOGGING is changed to LOGGING.
    – This attribute is permanent and thus appears in the dictionary.
    – This attribute can be updated (ALTER INDEX NOLOGGING/LOGGING) at
    any time.
    UNRECOVERABLE and LOGGING are not compatible.
    Note: The UNRECOVERABLE option can be used in early versions of Oracle8, but
    will eventually be replaced by the NOLOGGING option.
    To duplicate the semantics of the UNRECOVERABLE clause, create an object with
    the NOLOGGING option and then use the ALTER command, specifying LOGGING.
    To duplicate the semantics of a RECOVERABLE clause, create an object with the
    LOGGING option.


    只看该作者    顶部
    游客 210.21.91.x
    未注册









    发表于 2004-7-26 18:56  资料  个人空间  短消息  加为好友 
    UNRECOVERABLE and LOGGING are not compatible.
    Note: The UNRECOVERABLE option can be used in early versions of Oracle8, but
    will eventually be replaced by the NOLOGGING option.
    To duplicate the semantics of the UNRECOVERABLE clause, create an object with
    the NOLOGGING option and then use the ALTER command, specifying LOGGING.
    To duplicate the semantics of a RECOVERABLE clause, create an object with the
    LOGGING option.

    这段文字不是已经说清楚了吗?


    只看该作者    顶部
    离线 strongliq
    长河落日


    精华贴数 0
    个人空间 0
    技术积分 3014 (603)
    社区积分 1276 (1026)
    注册日期 2003-9-15
    论坛徽章:4
    ITPUB元老会员2006贡献徽章授权会员ITPUB新首页上线纪念徽章  
          

    发表于 2004-7-27 08:57 
    可是上边说
    1、unrecoverable和logging不兼容~
    2、unrecoverable要被nologging取代
    3、要实现unvecoverable=== nologging>>>>logging
          要实现recoverable===logging
    所以不能把unrecoverable+nologging放在一起用,是这个意思么?


    只看该作者    顶部
     
        

    相关内容


    CopyRight 1999-2006 itpub.net All Right Reserved.
    北京皓辰网域网络信息技术有限公司. 版权所有
    E-mail:Webmaster@itpub.net
    网站律师 隐私政策 知识产权声明
    京ICP证:060528号 联系我们