Oracle SQL parsing steps Summary _oracle

Source: Internet
Author: User
1 The syntax of the SQL statement is verified.

syntax checking for SQL

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

Check table name and field name from data dictionary

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

Check permissions from the data dictionary

4 Parse locks are acquired on the relevant objects.

Resolving locks on related objects

5 The optimal execution is determined.

Select Run SQL in execution plan

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

After execution, the SQL statement is placed in the SQL shared area of the 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.