在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
Oracle的show processlist 复制代码 代码如下: set linesize 400; set pagesize 400; col sql_text format a100; col machine format a25; col username format a15; SELECT a.username,a.machine, b.sql_id, b.SQL_TEXT FROM v$session a, v$sqlarea b WHERE a.sql_address = b.address AND a.SQL_HASH_VALUE = b.HASH_VALUE; Oracle show full processlist 复制代码 代码如下: set linesize 400; set pagesize 400; set long 4000; col SQL_FULLTEXT format a100; col machine format a25; col username format a15; SELECT a.username,a.machine, b.sql_id, b.SQL_FULLTEXT FROM v$session a, v$sqlarea b WHERE a.sql_address = b.address AND a.SQL_HASH_VALUE = b.HASH_VALUE; |
请发表评论