oracle SQL解析步驟小結

oracle SQL 解析 步驟,愛好oracle的朋友可以參考下,了解工作流程。

1 The syntax of the SQL statement is verified.

SQL的語法檢查

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

從數據字典檢查表名和字段名

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

從數據字典中檢查權限

4 Parse locks are acquired on the relevant objects.

解析相關對象的鎖

5 The optimal execution plan is determined.

選在執行計劃運行SQL

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).

執行后SQL語句放在SGA的SQL共享區

? 版權聲明
THE END
喜歡就支持一下吧
點贊12 分享