ROWID captured by index suspect

Source: Internet
Author: User

Through the Partition Table analysis, we found that the original table structure was renamed without indexing, and a new table was created. After the analysis, we found that the index was used!

Is it a partition storage parameter? Or the number of partitions cannot be reached.

Storage
(
Initial 80 K
Minextents 1
Maxextents unlimited
);

Continue the experiment without indexing!

For the transformed table, the partition is continuously reduced. The test still adopts indexes to reduce unnecessary fields, and the two indexes are retained. The fields required for key indexes are also indexed.
 

Create table t_test_2
(Id number,
Name varchar2 (35 ),
Create_time date
) Partition by range (create_time)

Create index idx_idname_test2 on t_test_2 (id, name );

Create table USER_SUM_DAY_201210
(
Recdate number (8) not null,
Operid number (10) default 0 not null,
Contentid number (10) default 0 not null,
Provcode number (5) default 0 not null,
Createtime date default sysdate not null,
Modifytime date default sysdate not null
)
Partition by range (PROVCODE );

Create index IDX_USER_SUM_DAY_201210_N1 on USER_SUM_DAY_201210 (RECDATE, OPERID );

The only difference is that id number and recdate number (8) are not null, not empty.

  • 1
  • 2
  • Next Page

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.