日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

Oracle SQL Parsing Flow Diagram(SQL 解析流程图)

發布時間:2023/12/15 数据库 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Oracle SQL Parsing Flow Diagram(SQL 解析流程图) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

?????? 在MOS 上有一篇介紹SQL 解析流程圖的文檔,參考[ID32895.1]。 截取主要部分內容如下:

?????????????? Thisarticle show the parsing mechanism as a flow diagram. Its main purpose is toshow the difference between a 'soft' and a 'hard' parse. It is intended to givea feel of how parsing operates to make explanation of parsing activity easier.

?

?

?

?

注意事項:

1. A cursor is an address on the client that points tothe memory location of a SQL statement on the server. Multiple-client cursors may point at the same address on the server.

?

2. Remember that 'Client' and'Server' sides may reside on the same machine - in which caseClient/Server is a logical distinction.

?

3. If a cursor is open, then thestatement will be in the sql_area, so no parsing is necessary. This iswhy locks may remain when a client is terminated abnormally (such as a PCClient being turned off without closing open cursors).

?

4. SESSION_CACHED_CURSORS is the initialisation parameterthat specifies how many cursors to hold open for a particular session. The opencursor request will still be sent to the server but it will not be executedonce a matching cursor is found in the session cursor cache.

?

5. HOLD_CURSOR is an precompiler parameter that specifiesthat an individual cursor should be held open.

?

6. Both the soft and hard parseregister as a parse in tkprof. Hashing the current statement updates theparse count.

?

?

7. Soft parse avoids many of thesteps taken during the parse phase for a particular statement. Initialsyntactic and semantic checks are made and then the statement is hashed andcompared with hashed statements in the SQL area. If amatch is found, then existing information is used and relatively expensivesteps (such as query optimization etc.) areavoided.

?

8. The 10053 event is only invoked during a hard parse.

?

Oracle 10053 事件

http://blog.csdn.net/tianlesoftware/article/details/5859027

?

?

?

?

-------------------------------------------------------------------------------------------------------

Blog: http://blog.csdn.net/tianlesoftware

Email: dvd.dba@gmail.com

DBA1 群:62697716(滿);?? DBA2 群:62697977(滿)? DBA3 群:62697850(滿)?

DBA 超級群:63306533(滿);? DBA4 群: 83829929? DBA5群: 142216823???

DBA6 群:158654907? 聊天 群:40132017?? 聊天2群:69087192

--加群需要在備注說明Oracle表空間和數據文件的關系,否則拒絕申請

總結

以上是生活随笔為你收集整理的Oracle SQL Parsing Flow Diagram(SQL 解析流程图)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。