Summary of oracleSQL parsing steps

Source: Internet
Author: User
OracleSQL parsing steps, oracle-loving friends can refer to, learn about the workflow.

Oracle SQL parsing steps, oracle-loving friends can refer to, learn about the workflow.

1 The syntax of the SQL statement is verified.

SQL syntax check

2 The data dictionary is searched to verify table and column definitions.

Checklist name and field name from data dictionary

3 The data dictionary is searched to verify security privileges on relevant objects.

Check permissions from data dictionary

4 Parse locks are acquired on the relevant objects.

Resolve the Lock of related objects

5 The optimal execution plan is determined.

Select to run the SQL statement in the execution plan

6 The statement is loaded into the shared SQL area (also known as the library cache) in the shared pool of the system global area (SGA ).

After execution, the SQL statement is placed in the SQL sharing area of SGA.

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.