Oracle数据库的temp表空间有时会增加很大,检查当前正在使用的会话:
select /*+rule*/
distinct a.sid,
a.serial#,
to_char(a.logon_time, 'YYYY-MM-DD HH24:MI:SS') LOGON,
a.USERNAME,
a.MACHINE,
c.SEGTYPE,
tablespace,
b.sql_text
from v$session a, v$sql b, v$sort_usage c
where a.sql_address = b.address(+)
and a.sql_address = c.sqladdr;
阅读(2890) | 评论(0) | 转发(0) |