Oracle explain execution plan

Source: Internet
Author: User

I. Execution Plan Tree Structure

When an execution plan is displayed, it is similar to a table. In fact, it is a tree structure. This tree structure not only describes the sequence of SQL engine execution operations, but also the relationship between them. Each node in the tree represents an operation, such as table access, connection, and sorting. There is a parent-child relationship between operations. The specific rules are as follows:

1. The parent has one or more children.

2. The child has only one parent

3. The only node without a parent is the root node.

4. When the execution plan is displayed, the child is indented to the right of the parent.

5. The parent is in front of the child (the parent ID is smaller than the child ID)

As shown in:

Corresponding Tree Structure

Next we will classify and explain various execution plans

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next Page

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.