设为首页 加入收藏

TOP

ORA-30926 及MERGE 临时表空占用问题(二)
2015-11-10 12:16:19 来源: 作者: 【 】 浏览:1
Tags:ORA-30926 MERGE 临时 占用 问题
HRONIZE')
? ? AND b.raw_add_time >= to_date('2014-01-01', 'yyyy-mm-dd')
? ? AND b.raw_add_time < to_date('2015-01-01', 'yyyy-mm-dd');
? ? ? ? ?
但是这样仅仅是使用了NEST LOOP 代替了HASH JION,NEST LOOP的被驱动表是可以使用索引的,可以测试出确实TEMPSPACE来自于HASH JION。
在我的机器上测试syn_event数据量500W大约6G数据,SYN_EVENT_1数据量大约250W大约3G数据,的数据包含CLOB字段进行更新,更改执行计划后耗时大约为750 S


ELAPSED_SECONDS TIME_REMAINING SQL_ID? ? ? ? ? ? SOFAR? TOTALWORK
--------------- -------------- ------------- ---------- ----------
? ? ? ? ? ? 750? ? ? ? ? ? ? 0 90ccdwpdtaq81? ? 322615? ? 322615
? ? ? ? ? ?
下面是更改为NSET LOOP后相关资源消耗? ? ? ? ? ?
? ? ? SID NAME? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? VALUE
---------- ---------------------------------------------------------------- ----------
? ? ? ? 20 session logical reads? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 5110391
? ? ? ? 20 physical read total IO requests? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 218114
? ? ? ? 20 physical read total multi block requests? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 2520
? ? ? ? 20 physical read total bytes? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 4402323456
? ? ? ? 20 logical read bytes from cache? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 4186432307
? ? ? ? 20 physical reads? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 537393
? ? ? ? 20 physical reads cache? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 537393
? ? ? ? 20 physical read IO requests? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 218114
? ? ? ? 20 physical read bytes? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 4402323456
? ? ? ? 20 physical reads cache prefetch? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 319289
? ? ? ? 20 redo entries? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 816088
? ? ? ? 20 redo size? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 396696100
? ? ? ? 20 redo buffer allocation retries? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1
? ? ? ? 20 redo log space requests? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 2
? ? ? ? 20 redo log space wait time? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 5
? ? ? ? 20 redo ordering marks? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 33766
? ? ? ? 20 redo subscn max counts? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 33781
? ? ? ? 20 redo synch time (usec)? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 5
? ? ? ? 20 redo synch writes? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 2
? ? ? ? 20 Batched IO vector read count? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 8

? ? ? SID NAME? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? VALUE
---------- ---------------------------------------------------------------- ----------
? ? ? ? 20 undo change vector size? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 263713896
? ? ? ? 20 data blocks consistent reads - undo records applied? ? ? ? ? ? ? ? ? 206356
? ? ? ? 20 no work - consistent read gets? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 404311
? ? ? ? 20 cleanouts only - consistent read gets? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1
? ? ? ? 20 cleanouts and rollbacks - consistent read gets? ? ? ? ? ? ? ? ? ? ? 103178
? ? ? ? 20 IMU undo allocation size? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 7624
? ? ? ? 20 sorts (memory)? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 17
? ? ? ? 20 sorts (rows)? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 68


首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇快照DataGuard 下一篇impdp报错ORA-39001、ORA-39000、..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: