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;
阅读(2765) | 评论(0) | 转发(0) |