Migrate the index segment to another tablespace

Source: Internet
Author: User

Migrate the index segment to another tablespace Inorder to increase the index full scan performance and reduce scan table time, I do migrate the index segment to another tablespace which block_size is 16 k, the original is 8 k. this operation can reduce the scan io for index and increase the speed for select operation. suppose the oracle default tablespace block_size is 8 k. steps of this event

[SQL] Configure the db_16k_cache_size: ALTER SYSTEM SET DB_16K_CACHE_SIZE = 2048 M; Create the 16 k tablespace: create tablespace clicindtbs datafile '+ data' SIZE 2048 m autoextend off uniform size 1 m segment space management auto; Rebuild the target index alter index index_name rebuild tablespace clicindtbs;

 

That is all.

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.