ITPUB论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

返回列表 发新帖
更多
查看: 1066|回复: 2

[TK024] question 20疑问 [复制链接]

注册会员

长河落日

精华贴数
0
技术积分
3014
社区积分
1276
注册时间
2003-9-15
论坛徽章:
5
授权会员
日期:2005-10-30 17:05:33会员2006贡献徽章
日期:2006-04-17 13:46:34ITPUB元老
日期:2006-09-15 08:40:23ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:442010广州亚运会纪念徽章:马术
日期:2010-11-22 15:29:06
发表于 2004-7-26 18:18:05 |显示全部楼层
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.
匿名  发表于 2004-7-26 18:56:26
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.

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

使用道具

注册会员

长河落日

精华贴数
0
技术积分
3014
社区积分
1276
注册时间
2003-9-15
论坛徽章:
5
授权会员
日期:2005-10-30 17:05:33会员2006贡献徽章
日期:2006-04-17 13:46:34ITPUB元老
日期:2006-09-15 08:40:23ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:442010广州亚运会纪念徽章:马术
日期:2010-11-22 15:29:06
发表于 2004-7-27 08:57:00 |显示全部楼层
可是上边说
1、unrecoverable和logging不兼容~
2、unrecoverable要被nologging取代
3、要实现unvecoverable=== nologging>>>>logging
      要实现recoverable===logging
所以不能把unrecoverable+nologging放在一起用,是这个意思么?

使用道具 举报

相关内容推荐
您需要登录后才可以回帖 登录 | 注册

TOP技术积分榜 社区积分榜 徽章 电子杂志 团队 统计 邮箱 虎吧 老博客 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档 | IT博客
CopyRight 1999-2011 itpub.net All Right Reserved. 北京皓辰网域网络信息技术有限公司版权所有 联系我们 网站律师 隐私政策 知识产权声明
京ICP证:060528号 北京市公安局海淀分局网监中心备案编号:1101082001 广播电视节目制作经营许可证:编号(京)字第1149号
  
回顶部