Issues needing attention in Oracle's use of parallel indexing

Source: Internet
Author: User

When the structure of the index. We're going to build the index fast. It will be added parallel, plus parallel. This will parallel the column index.

When the degree of parallelism index is accessed, the CBO you may consider running in parallel, which may cause some problems. Being in parallel with the server can cause more serious contention. When you use parallel. Need to change the degree of parallelism back.

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

Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

Issues needing attention in Oracle's use of parallel indexing

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.