Check the transaction running in oracle
SQL> conn scott/tigger
Connected.
SQL>
SQL>
SQL> select distinct sid from v$mystat;
Connected.
SQL>
SQL>
SQL> select distinct sid from v$mystat;
SID
----------
28
----------
28
SQL> create table t( a varchar(3), b varchar(2));
Table created.
SQL> insert into t values('aaa','bb');
1 row created.
SQL>
conn / as sysdba
SQL> select SQL_ID from v$session s,v$transaction t where s.TADDR=t.ADDR;
SQL_ID
-------------
g23fmpu17zwku
-------------
g23fmpu17zwku
SQL> select SQL_TEXT from v$sqlarea where SQL_ID='g23fmpu17zwku';
SQL_TEXT
--------------------------------------------------------------------------------
insert into t values('aaa','bb')
--------------------------------------------------------------------------------
insert into t values('aaa','bb')
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10973950/viewspace-766227/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- transaction-level or statement-level consistency; check constraintsAI
- Long running Operations in OracleOracle
- [Oracle Script] check userOracle
- [Oracle Script] check latchOracle
- 關於oracle autonomous transactionOracle
- oracle set transaction read only與dbms_transaction實現事務transaction控制Oracle
- [Oracle Script] check active sessionOracleSession
- [Oracle Script] check lock infoOracle
- [Oracle Script] check Literal SQLOracleSQL
- [Oracle Script] check tablespace usage infoOracle
- [Oracle Script] check temp tablespace usageOracle
- ORACLE WITH CHECK OPTION子句詳解Oracle
- [Oracle Script] check object count by userOracleObject
- [Oracle Script] check File I/OOracle
- MySQL 事務RUNNING狀態引發的Transaction timed out: deadline問題MySql
- [Oracle] Device Checks for ASM - This is a pre-check........OracledevASM
- Oracle自治事務autonomous_transaction用法Oracle
- oracle中的processes,session,transaction引數OracleSession
- oracle系統包——dbms_transaction用法Oracle
- oracle自治事務(PRAGMA AUTONOMOUS_TRANSACTION)Oracle
- Oracle ITL (Interested Transaction List) - 事務槽OracleREST
- 記錄獲得ORACLE的transaction IDOracle
- Oracle中的自治事務(Autonomous Transaction)Oracle
- 什麼是Interested Transaction List(ITL)--Oracle?RESTOracle
- Failure at final check of Oracle CRS stack.AIOracle
- Oracle Text Health Check (Doc ID 823649.1)Oracle
- ORACLE SQL Tuning Health-Check(SQLHC)OracleSQL
- 17_深入解析Oracle undo原理(1)_transactionOracle
- 學習oracle動態效能表--v$transactionOracle
- Giving up: Oracle CSS stack appears NOT to be running.OracleCSSAPP
- How to check whether the current database in using Oracle optionsDatabaseOracle
- Check_oracle_health 之阻塞會話數Oracle會話
- oracle產生事務transaction幾種方式或方法Oracle
- oracle中的processes,session,transaction引數詳解OracleSession
- Oracle10g的Flashback之Flashback Transaction QueryOracle
- nagios使用check_oracle_health配置文件iOSOracle
- oracle 建立檢視用 with check option 子句詳解Oracle
- Check_oracle_health之程式數使用率Oracle