zoukankan      html  css  js  c++  java
  • Oracle使用并行建索引须要注意的问题

        建索引时。我们为了建索引快。会加上并行,加上并行之后。此列索引就会是并行了。

    訪问有并行度的索引时,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
  • 相关阅读:
    开发实例
    一张图解析FastAdmin中的表格列表的功能
    fastAdmin进阶
    detailFormatter bootstrapTable
    responseHandler
    自定义PDO封装类
    bootstrapTable
    Thread Safety
    FastAdmin 基本知识流程一栏
    thinkphp5 Request请求类
  • 原文地址:https://www.cnblogs.com/bhlsheji/p/5072669.html
Copyright © 2011-2022 走看看