查询正在执行的SQL
- select SID,SERIAL#, OSUSER, PROGRAM, USERNAME, SCHEMANAME, B.Cpu_Time, STATUS, B.SQL_TEXT
- from V$SESSION A
- LEFT JOIN V$SQL B ON A.SQL_ADDRESS = B.ADDRESS
- AND A.SQL_HASH_VALUE = B.HASH_VALUE
- order by b.cpu_time desc
kill session
|
查询正在执行的SQL
- select SID,SERIAL#, OSUSER, PROGRAM, USERNAME, SCHEMANAME, B.Cpu_Time, STATUS, B.SQL_TEXT
- from V$SESSION A
- LEFT JOIN V$SQL B ON A.SQL_ADDRESS = B.ADDRESS
- AND A.SQL_HASH_VALUE = B.HASH_VALUE
- order by b.cpu_time desc
kill session
|
SQL Server执行计划,多表关联查询
你的隐私,价值千万
mysql 查询当前运行的事务
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M