【dbms包】DBMS_APPLICATION_INFO
DBMS_APPLICATION_INFO
註冊應用程式以便於跟蹤不同模組的效能,也可以監控各模組的資源使用情況,
應用註冊後,其名稱和actions都會在v$session和v$sqlarea檢視中記錄。
另外一種情況就說使用jdbc連線資料庫,在資料庫後臺並沒有前臺應用的資訊,
我們也不知道session對應的是前臺哪個模組,使用這個包可以解決這個問題,在一定的場景下可用。
Procedure:
Read_client_info
Read_module
Set_action
Set_client_info
Set_module
Set_session_logops
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/16179598/viewspace-722210/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- DBMS_APPLICATION_INFO包的使用APP
- Oracle DBMS_APPLICATION_INFO 用法例子(ZT)OracleAPP
- 【dbms包】dbms_redefinition
- 【dbms包】DBMS_MONITOR
- 【dbms包】DBMS_ADVANCED_REWRITE
- bulk_collect結合dbms_application_info監控資料處理進度APP
- oracle dbms_stats 包Oracle
- oracle dbms包和其他包的使用大全Oracle
- dbms_xplan 函式包函式
- dbms_sqltune包的使用SQL
- DBMS_TRACE包學習
- DBMS_OUTPUT包學習
- oracle dbms包和其他包的使用大全 (十二)Oracle
- oracle dbms包和其他包的使用大全 (十一)Oracle
- oracle dbms包和其他包的使用大全 (十)Oracle
- oracle dbms包和其他包的使用大全 (九)Oracle
- oracle dbms包和其他包的使用大全 (八)Oracle
- oracle dbms包和其他包的使用大全 (七)Oracle
- oracle dbms包和其他包的使用大全 (六)Oracle
- oracle dbms包和其他包的使用大全 (五)Oracle
- oracle dbms包和其他包的使用大全 (四)Oracle
- oracle dbms包和其他包的使用大全 (三)Oracle
- oracle dbms包和其他包的使用大全(二)Oracle
- oracle dbms包和其他包的使用大全(一)Oracle
- 【DBMS_RANDOM】使用 DBMS_RANDOM包生成隨機字串random隨機字串
- Oracle系統包dbms_randomOraclerandom
- oracle常用包之dbms_jobOracle
- DBMS_WORKLOAD_REPOSITORY包
- DBMS_SESSION包小議(八)Session
- DBMS_SESSION包小議(七)Session
- DBMS_SESSION包小議(六)Session
- DBMS_SESSION包小議(五)Session
- DBMS_SESSION包小議(四)Session
- DBMS_SESSION包小議(三)Session
- DBMS_SESSION包小議(二)Session
- DBMS_SESSION包小議(一)Session
- DBMS_METDATA程式包的用法
- oracle系統包——dbms_random用法Oraclerandom