- 最后登录
- 2013-5-24
- 在线时间
- 10 小时
- 威望
- 0
- 金钱
- 30
- 注册时间
- 2012-12-15
- 阅读权限
- 10
- 帖子
- 7
- 精华
- 0
- 积分
- 0
- UID
- 819
|
7#
发表于 2012-12-24 15:47:57
这几条SESSION挂住已经有很长时间了, 而且是用TOAD程序连接的, 我问过用这个程序登录的开发人员, 他说已经很久没有登录这台服务器了. 而且我在 12月4日做巡检的时候就已经对这几条SESSION, 特别的留意了.- SELECT e.sql_text,
- r.name,
- s.serial#,
- s.sid,
- s.username,
- s.machine,
- s.LOGON_TIME,
- t.used_ublk*8192/1024/1024||'M' USED_M,
- substr(s.program, 1, 78) pro
- FROM sys.v_$session s,
- sys.v_$transaction t,
- sys.v_$rollname r,
- sys.v_$sqlarea e
- WHERE t.addr = s.taddr
- and t.xidusn = r.usn
- and e.address = DECODE(s.sql_hash_value, 0, s.prev_sql_addr, s.sql_address)
- and s.sid in (783,1158,974,1165,208)
- order by t.USED_UBLK desc
- /
- SQL_TEXT NAME SERIAL# SID USERNAME MACHINE LOGON_TIME USED_M PRO
- ------------------------------------------------------------------ ---------------------- ---------- ---------- ------------------ ---------------------- ------------------- --------------- ----------
- insert into JSLT_DAILY_STS select * from V_DAILY_STA@DBLINKJSLT _SYSSMU4_1440059666$ 21140 783 POPULARCENTER WORKGROUP\SHIBAOWEI 2012-11-07 16:48:10 .0234375M Toad.exe
- where datetime >= to_char(sysdate - 30, 'yyyy-mm-') || '01'
- CREATE TABLE TEMP_PLATFORM8 AS SELECT * FROM T_COUNTRY_SEGMENT@SXL _SYSSMU10_4077337953$ 58765 1158 CONSTSYN WORKGROUP\SHIBAOWEI 2012-12-14 10:26:38 .015625M Toad.exe
- TGJ
- CREATE TABLE TEMP_PLATFORM4 AS SELECT * FROM T_COUNTRY_SEGMENT@SXL _SYSSMU3_3720001429$ 45458 974 CONSTSYN WORKGROUP\SHIBAOWEI 2012-12-04 13:45:04 .015625M Toad.exe
- TGJ
- select distinct substr(a.segment, 1, 5) head from VALID_NUMBER_SE _SYSSMU8_3417650142$ 2999 208 CONSTSYN WORKGROUP\SHIBAOWEI 2012-12-05 11:26:02 .0078125M Toad.exe
- CT@HLJTXZL a where a.segment not in( select B.SEGMENT from
- t_phone_segment b join t_city c on B.CITY_ID = C.CITY_ID
- where B.TELECO_ID = 1 and C.PRO_ID = 11 ) order by 1
复制代码 |
|