Covering Index in Oracle

Source: Internet
Author: User

A friend in csdn asked about the index coverage concept. This concept is very small. I have explained "" In My Forum. But as an oracle moderator, I cannot add an external Address link to the reply, so I will post a copy in csdn.

 

For example, a composite index has three fields: F1 + F2 + F3. Could you tell me:

1: Select F1, F2, F3, F4 from table where F1 = 'xx' and F2 = 'xx '.
2: Select F1, F2, F3 from table where F1 = 'xx' and F2 = 'xx '.

Some people say that 1 is consistent with the index coverage. Some people say that only 2 is consistent. Which one is correct?

 

 

 

Covering Index in Oracle (which should be translated as overwrite index) refers

Http://www.inthirties.com/thread-458-2-1.html

# A covering index is an index, which provided des all of the columns referenced in the query. so the creating covering index can improve performance because all the data for the query is contained within the index itself and only the index pages, not the data pages, will be used to retrieve the data. covering indexes can bring a lot of performance to a query, because it can save a huge amount of I/O operations.

 

 

In this definition, 2 and 1 are non-conforming.

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.