PL/SQL Program Units and the Shared Pool (89)
Oracle processes PL/SQL program units (procedures, functions, packages, anonymous
blocks, and database triggers) much the same way it processes individual SQL
statements. Oracle allocates a shared area to hold the parsed, compiled form of a
program unit. Oracle allocates a private area to hold values specific to the session that
runs the program unit, including local, global, and package variables (also known as
package instantiation) and buffers for executing SQL. If more than one user runs the
same program unit, then a single, shared area is used by all users, while each user
maintains a separate copy of his or her private SQL area, holding values specific to his
or her session.
Individual SQL statements contained within a PL/SQL program unit are processed as
described in the previous sections. Despite their origins within a PL/SQL program
unit, these SQL statements use a shared area to hold their parsed representations and a
private area for each session that runs the statement.
Oracle處理PL/SQL塊(儲存過程,函式等)和處理單獨的SQL語句相似 .
Oracle分配一個私有區域來儲存會話執行的程式塊的值 , 包括本地, 全域性 , 變數, 執行SQL的buffers
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-978368/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Compilation of Views and PL/SQL Program Units (242)ViewSQL
- 【Shared Pool】使用DBMS_SHARED_POOL包將PL/SQL大物件儲存到Shared PoolSQL物件
- 使用DBMS_SHARED_POOL包將PL/SQL大物件儲存到Shared PoolSQL物件
- 【PL/SQL】在PL/SQL中執行重新整理Shared Pool命令SQL
- Program Units and Referenced Objects (244)Object
- shared_pool_spare_free.sqlSQL
- shared_pool的sql命中率SQL
- Oracle shared poolOracle
- _shared_pool_reserved_pct or shared_pool_reserved_size with ASMMASM
- zt_Oracle shared pool internals_共享池_shared_poolOracle
- SHARED POOL總結
- SHARED_POOL解析
- 理解Oracle Shared PoolOracle
- SQL在shared pool中的解析過程問題SQL
- 11G can flush one SQL Cursor out of shared poolSQL
- Oracle Shared Pool Memory ManagementOracle
- ORACLE SGA之shared poolOracle
- 清除shared pool中某條sql的執行計劃SQL
- 共享SQL區在shared pool中釋放的條件SQL
- dbms_shared_pool keep物件到share pool中物件
- dbms_shared_pool.purge 清理某個SQL執行計劃SQL
- SHARED POOL 基礎知識
- 簡單分析shared pool(一)
- 簡單分析shared pool(二)
- 簡單分析shared pool(三)
- ORACLE記憶體管理 之五 SGA variable pool,shared_pool,large_pool,java_poolOracle記憶體Java
- shared pool記憶體結構記憶體
- latch:shared pool的一點理解
- Shared Pool 的基本原理
- Shared Pool 的轉儲與分析
- 安裝DBMS_SHARED_POOL包
- oracle優化--shared_pool (3)Oracle優化
- oracle優化--shared_pool (2)Oracle優化
- oracle優化--shared_pool (1)Oracle優化
- 基於引數shared_pool_reserved_size進一步理解共享池shared pool原理
- SHARED POOL 空閒空間分配流程
- 轉_診斷latch:shared pool等待事件事件
- 診斷shared pool常用命令