- 最后登录
- 2016-1-28
- 在线时间
- 8 小时
- 威望
- 14
- 金钱
- 156
- 注册时间
- 2012-4-12
- 阅读权限
- 10
- 帖子
- 23
- 精华
- 0
- 积分
- 14
- UID
- 344
|
1#
发表于 2013-3-25 17:31:36
|
查看: 4034 |
回复: 3
ORACLE版本:11.2.0.3.0 RAC ASM
操作系统版本:HP-64-11.31
今日有应用人员反映数据一直出不来,平时只需要几分种就可以跑出的数据,查看了等待事件为
enq: TT - contention
语句为insert语句,代码为- [code]INSERT INTO VGOPMK.TMK_AUDIT_FT_CLI_ACT_M ( STATIS_MONTH, PROV_ID, PROV_NAME, CITY_ID, CITY_NAME, SERV_NUMBER ) SELECT :B1 , TB.PROV_ID, TB.PROV_NAME, TB.CITY_ID, TB.CITY_NAME, TA.SERV_NUMBER FROM VGOPMK.TMK_AUDIT_FT_CLI_BEFACT_TEMP TA, VGOPDW.VDW_NUMBER_SEGMENT TB WHERE SUBSTR(TA.SERV_NUMBER,1,7) = TB.SEGMENT GROUP BY TB.PROV_ID, TB.PROV_NAME, TB.CITY_ID, TB.CITY_NAME, TA.SERV_NUMBER
复制代码 INSERT INTO VGOPMK.TMK_AUDIT_FT_CLI_ACT_M ( STATIS_MONTH, PROV_ID, PROV_NAME, CITY_ID, CITY_NAME, SERV_NUMBER ) SELECT :B1 , TB.PROV_ID, TB.PROV_NAME, TB.CITY_ID, TB.CITY_NAME, TA.SERV_NUMBER FROM VGOPMK.TMK_AUDIT_FT_CLI_BEFACT_TEMP TA, VGOPDW.VDW_NUMBER_SEGMENT TB WHERE SUBSTR(TA.SERV_NUMBER,1,7) = TB.SEGMENT GROUP BY TB.PROV_ID, TB.PROV_NAME, TB.CITY_ID, TB.CITY_NAME, TA.SERV_NUMBER [/code]
想请问下,有没有碰到这种情况的,碰到这种情况应该如何分析?,enq: TT - contention,看了下刘大BLOG的文章,没太懂,请指教 |
|