active sql
select
'USERNAME'AND sid in (SELECT SID FROM V$SESSION WHERE STATUS = 'ACTIVE')
select *
from v$access
where owner = 'username'
and sid in (SELECT SID FROM V$SESSION WHERE STATUS = 'ACTIVE')
and type in ('TABLE','PACKAGE')
*
from dba_ddl_locks
where owner =[@more@]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9879835/viewspace-1034153/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- PowerShell 操作 Azure SQL Active Geo-ReplicationSQL
- 生成sql monitor active report指令碼SQL指令碼
- Azure SQL Database Active Geo-Replication 簡介SQLDatabase
- oracle生成批量殺掉active程式的sqlOracleSQL
- [Active Learning] Multi-Criteria-based Active Learning
- limit active sessionsMITSession
- spring.profiles.active=@profiles.active@的含義Spring
- 巧用dba_hist_active_sess_history跟蹤某個時間段內SQLSQL
- Oracle Active database duplicationOracleDatabase
- Active Session History (ASH)Session
- Duplicating an Active DatabaseDatabase
- DB常用指令碼 - 查詢正在執行的active session及對應sql ,等待事件指令碼SessionSQL事件
- [Oracle Script] check active sessionOracleSession
- Active Data Guard初探(一)
- Oracle ASM Active Change DirectoryOracleASM
- Active Directory 常用屬性
- WRH$_ACTIVE_SESSION_HISTORYSession
- Active Session History ReportsSession
- Redo active狀態解析
- [擴充套件] hieu-le active 判斷導航元素的 active 狀態套件
- CSS E:active 選擇器CSS
- ASH(Active Session History)——概述(1)!Session
- 等待事件:regmsr:become active事件
- 搭建Active Data Guard環境
- 11g Active DataGuard初探
- 脫離rails 使用Active RecordAI
- Oracle 11g Active DataguardOracle
- Oracle RAC active-passive modeOracle
- No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_Compile
- CSS 搞事技巧:hover+activeCSS
- Zabbix Agent active主動模式配置模式
- WebKit Insie: Active 樣式表WebKit
- zabbix agent(Active)模式 /克隆修改模板模式
- RAC 下做Active 和standby 模式模式
- Oracle11gR2 Active DataGuardOracle
- 11g新特性--active dataguard
- Clean WRH$_ACTIVE_SESSION_HISTORY in SYSAUXSessionUX
- v$active_session_history檢視Session