当前位置:Gxlcms > 数据库问题 > Oracle使用并行索引需要注意的问题

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

时间:2021-07-01 10:21:17 帮助过:3人阅读

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使用并行索引需要注意的问题

标签:

人气教程排行