Working principle of ORACLE10G, oracle10g64-bit download

Source: Internet
Author: User

Working principle of ORACLE10G, oracle10g64-bit download

Internal execution of database query statements

Select * from xxx

Procedure

Analysis phase (parse)

1. Does the Shared Pool cache have this statement. If any, directly return results.

2. Check whether the SQL statement is correct in syntax analysis.

3. Check whether the table exists. (Object parsing and searching for data dictionary tables)

4. Translate * into all fields. Check whether the field is correct.

5. Get the object resolution lock and lock the table structure to prevent other users from changing the table structure.

6. Check that the user permissions are insufficient.

7. The scheduler generates the execution plan and stores it in the library cache (Binary Execution Code ).

 

Execute)

1. Check whether the database high-speed buffer exists. If so, extract it.

2. If not, read the data buffer from the data file.

 

Extraction stage (fetch)

1. read data from the database buffer cache to the user.

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.