首页 > 数据库技术 > 详细

Oracle使用并行索引需要注意的问题

时间:2015-08-25 14:10:28      阅读:378      评论:0      收藏:0      [点我收藏+]

    当索引的结构。我们要建立索引快。它将并行加,加平行后。这将平行的列索引。

当并行度索引访问,CBO你可能会考虑并行运行,这可能会导致一些问题。作为server候用并行会引起更加严重的争用。当使用并行后。须要把并行度改回来。

SQL> drop table test purge;

SQL> create table test as select * from dba_objects;
SQL> create index ind_t_object_id on test(object_id) parallel 4 ;
SQL> select s.degree
      from dba_indexes s
     where s.index_name = upper(‘ind_t_object_id‘);
DEGREE
----------------------------------------
4

SQL> alter index ind_t_object_id noparallel;

SQL> select s.degree
      from dba_indexes s
     where s.index_name = upper(‘ind_t_object_id‘);
DEGREE
----------------------------------------
1

版权声明:本文博客原创文章,博客,未经同意,不得转载。

Oracle使用并行索引需要注意的问题

原文:http://www.cnblogs.com/bhlsheji/p/4757058.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!