V$SESSION_LONGOPS bug 【Blog 搬家】
V$SESSION_LONGOPS bug
2006 年 06 月 07 日, 星期三
V$SESSION_LONGOPS bug
概念瞭解:
此View顯示使用者操作時間超過6 seconds 的執行狀態。
這些操作包括 備份恢復功能,統計資訊收集,執行查詢和其他一些oracle 操作。
需要監視查詢的執行,資料庫必須使用 CBO 並且設定 Parameters
timed_statistics=true or sql_trace=true
使用analyze 語句或dbms_stats package 收集物件的統計資訊。
bug 顯現
SID | SERIAL# | TARGET_DESC | SOFAR | TOTALWORK | START_TIME | LAST_UPDATE_TIME | USERNAME | SQL_ADDRESS |
29 | 183 | 256 | 256 | 2006-06-05 12:55:49 | BQY | ? 2358537492 | ||
29 | 5912 | x虁 | 7984 | 7984 | 2054-10-25 03:14:09 | 2006-06-06 16:38:03 | BQY | ? 2615825342 |
31 | 391 | 137438953504 | 137438953504 | 1988-01-01 00:00:32 | 2006-06-06 08:19:17 | BQY | ? 3290242800 | |
31 | 391 | p |
9223372041150663488 | 9223372041150663488 | 2054-10-25 03:14:09 | 2006-06-06 08:19:18 | BQY | ? 3290242800 |
Column Datatype Description
SID NUMBER Session identifier
SERIAL# NUMBER Session serial number
OPNAME VARCHAR2(64) Brief description of the operation
TARGET VARCHAR2(64) The object on which the operation is carried out
TARGET_DESC VARCHAR2(32) Description of the target
SOFAR NUMBER The units of work done so far
TOTALWORK NUMBER The total units of work
UNITS VARCHAR2(32) The units of measurement
START_TIME DATE The starting time of operation
LAST_UPDATE_TIME DATE Time when statistics last updated
TIME_REMAINING NUMBER Estimate (in seconds) of time remaining for the operation to complete.
ELAPSED_SECONDS NUMBER The number of elapsed seconds from the start of operations
CONTEXT NUMBER Context
MESSAGE VARCHAR2(512) Statistics summary message
USERNAME VARCHAR2(30) User ID of the user performing the operation.
SQL_ADDRESS RAW(4) Used with the value of the SQL_HASH_VALUE column to identify the
SQL statement associated with the operation.
SQL_HASH_VALUE NUMER Used with the value of the SQL_ADDRESS column to identify the SQL
statement associated with the operation.
QCSID NUMBER Session identifier of the parallel coordinator.
SERIAL# NUMBER Session serial number
OPNAME VARCHAR2(64) Brief description of the operation
TARGET VARCHAR2(64) The object on which the operation is carried out
TARGET_DESC VARCHAR2(32) Description of the target
SOFAR NUMBER The units of work done so far
TOTALWORK NUMBER The total units of work
UNITS VARCHAR2(32) The units of measurement
START_TIME DATE The starting time of operation
LAST_UPDATE_TIME DATE Time when statistics last updated
TIME_REMAINING NUMBER Estimate (in seconds) of time remaining for the operation to complete.
ELAPSED_SECONDS NUMBER The number of elapsed seconds from the start of operations
CONTEXT NUMBER Context
MESSAGE VARCHAR2(512) Statistics summary message
USERNAME VARCHAR2(30) User ID of the user performing the operation.
SQL_ADDRESS RAW(4) Used with the value of the SQL_HASH_VALUE column to identify the
SQL statement associated with the operation.
SQL_HASH_VALUE NUMER Used with the value of the SQL_ADDRESS column to identify the SQL
statement associated with the operation.
QCSID NUMBER Session identifier of the parallel coordinator.
紅色部分現在2054年,但在Schema 描述的是 The starting time of operation. 顯然結果和描述是不相符的。
Version=8.1.7.4
myhuaer 發表於:2006.06.07 11:26 ::分類: ( Oracle Infomation ) ::閱讀:(353次)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/34596/viewspace-661947/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- V$SESSION_LONGOPS bugSessionGo
- Oracle10g V$OSSTAT 關於PHYSICAL_MEMORY_BYTES 的 Bug【Blog 搬家】Oracle
- Oracle backgroud Process【Blog 搬家】Oracle
- float datatype in Oracle database 【Blog 搬家】OracleDatabase
- V$SESSION_LONGOPSSessionGo
- oracle Distinct|Unique 異同【Blog 搬家】Oracle
- Oracle Database Link Problems【Blog 搬家】OracleDatabase
- Oracle DDL 執行過程【Blog 搬家】Oracle
- HP -Data Protector Restore file system【Blog 搬家】REST
- 限制End User Session數量 【Blog 搬家】Session
- Trim() 函式的介紹【Blog 搬家】函式
- oracle Database Event trace 設定【Blog 搬家】OracleDatabase
- Oracle event 10231 【Blog 搬家】Oracle
- Oracle Date Function 講解和事例【Blog 搬家】OracleFunction
- ora -03232 問題解決【Blog 搬家】
- oracle ora-00997 problems【Blog 搬家】Oracle
- 效能檢視 V$Session_LONGOPSSessionGo
- RMAN 只備份當前資料?【Blog 搬家】
- Database Link 建立注意的兩點【Blog 搬家】Database
- V$SESSION_LONGOPS 檢視的用法SessionGo
- exp/imp expdp/impdp Tables 萬用字元 % 的使用【Blog 搬家】字元
- Oracle Optimizer -RBO (理解Rule-based 優化器)【Blog 搬家】Oracle優化
- Database Triggers and event attributes--Introduction[Blog 搬家]Database
- 利用v$session_longops監控長操作SessionGo
- 資料庫加密Product_user_profile(PUP) TABLE FOR security 【Blog 搬家】資料庫加密
- MM-DD-RRRR / MM-DD-YYYY 的區別【Blog 搬家】
- Database Triggers and event attributes--Event Attributes【Blog 搬家】Database
- Database Triggers and event attributes--Database System Events【Blog 搬家】Database
- Database Triggers and event attributes--DDL/Client Events【Blog 搬家】Databaseclient
- v$session_longops 檢視回滾進度SessionGo
- 動態檢視V$SESSION_LONGOPS學習SessionGo
- V$SESSION_LONGOPS超過系統時間SessionGo
- 利用v$session_longops監控long RUN操作SessionGo
- 學習動態效能表(十)--V$SESSION_LONGOPSSessionGo
- [zt] 用v$session_longops監控long RUN操作SessionGo
- 利用v$session_longops監控long RUN操作(轉)SessionGo
- Oracle動態效能檢視之v$session_longops ztOracleSessionGo
- 使用v$session_longops來監控rman備份進度SessionGo