Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

6

主题
1#
发表于 2013-12-11 15:13:22 | 查看: 2383| 回复: 2
你好刘大:
      在创建索引中可以添加nosort选项来避免对数据进行预先排序,当然nosort选项使用也是限制:
      1)有nosort 不能用反向选项 2)不能用于cluster表,分区,位图索引 3)索引组织表。
我想问一下:加了nosort选项与不加nosort选项建立出来的索引有什么区别?对性能有什么影响?
2#
发表于 2013-12-11 15:26:21
FYI:

SORT | NOSORT  By default, Oracle Database sorts indexes in ascending order when it creates the index. You can specify NOSORT to indicate to the database that the rows are already stored in the database in ascending order, so that Oracle Database does not have to sort the rows when creating the index. If the rows of the indexed column or columns are not stored in ascending order, then the database returns an error.

回复 只看该作者 道具 举报

3#
发表于 2013-12-11 15:26:30
你不会需要 NOSORT的

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-6-18 06:51 , Processed in 0.048370 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569