- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
5#
发表于 2013-4-10 15:02:57
Mutex 88fb1e93 ??? Blocker
KGX Atomic Operation Log 7000007a4c28310
Mutex 7000008b4736020(0, 1) idn 88fb1e93 oper GET_EXCL
Cursor Pin uid 2016 efd 0 whr 14 slp 7785
opr=3 pso=700000898104d18 flg=0
pcs=7000008b4736020 nxt=7000008b4735ad0 flg=18 cld=0 hd=7000008b47a53f8 par=7000008b476cbb0
ct=9 hsh=0 unp=0 unn=0 hvl=b476cea0 nhv=0 ses=0
hep=7000008b47360a0 flg=80 ld=1 ob=700000824463668 ptr=7000008b4199d80 fex=7000008b4199090
----------------------------------------
SO: 7000006bc0eec98, type: 53, owner: 7000009c1f4bb98, flag: INIT/-/-/0x00
LIBRARY OBJECT LOCK: lock=7000006bc0eec98 handle=7000008b4c75210 mode=N
call pin=0 session pin=0 hpc=0000 hlc=0000
htl=7000006bc0eed18[70000089f11b590,700000898104d98] htb=70000089f11b590 ssga=70000089f11ab48
user=700000a0b5d0748 session=700000a0b5d0748 count=1 flags=[0000] savepoint=0xad7
LIBRARY OBJECT HANDLE: handle=7000008b4c75210 mtx=7000008b4c75340(2) cdp=1
name=
INSERT INTO BUSINESS_TARGETS (COMCODE, DEPTNO, BUSINESS_TYPE, CUSTOM, CHANNEL, RISKCODE, KINDCODE, CAR_TYPE, YEAR, MONTH, TARGET_TYPE, AMOUNT) SELECT COMCODE, COMCODE,
'' BUSINESS_TYPE, '' CUSTOM, C.BUSINESSNATURE CHANNEL, C.RISKCODE, NVL(A.ARTICLECODE, '02'), '999999' CAR_TYPE, :B5 YEAR, :B4 MONTH, 'е¥¼þÊý' TARGET_TYPE, SUM(1) AMOU
NT FROM PRPCMAINORIGIN C, (SELECT * FROM PRPCITEMKINDORIGIN H LEFT JOIN PRPDKINDARTICLE G ON (H.RISKCODE = G.RISKCODE AND H.KINDCODE = G.KINDCODE) WHERE H.RISKCODE LIKE
'05%' A
hash=6e031a7ec0e7eec037f459cd88fb1e93 timestamp=04-08-2013 15:05:55
namespace=CRSR flags=RON/KGHP/TIM/PN0/KST/DBN/MTX/[100100d0]
kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=8 hpc=fff4 hlc=fff4
lwt=7000008b4c752b8[7000008b4c752b8,7000008b4c752b8] ltm=7000008b4c752c8[7000008b4c752c8,7000008b4c752c8]
pwt=7000008b4c75280[7000008b4c75280,7000008b4c75280] ptm=7000008b4c75290[7000008b4c75290,7000008b4c75290]
ref=7000008b4c752e8[7000008b4c752e8,7000008b4c752e8] lnd=7000008b4c75300[7000009f7e9d678,7000009c41d4f78]
LIBRARY OBJECT: object=7000008b476ca98
type=CRSR flags=EXS[0001] pflags=[0000] status=VALD load=0
KGX Atomic Operation Log 700000824452808
Mutex 7000008b4736020(0, 1) idn 88fb1e93 oper SHRD
Cursor Pin uid 2018 efd 0 whr 1 slp 0
opr=4 pso=7000009f5135b48 flg=0
pcs=7000008b4736020 nxt=7000008b4735ad0 flg=18 cld=0 hd=7000008b47a53f8 par=7000008b476cbb0
ct=9 hsh=0 unp=0 unn=0 hvl=b476cea0 nhv=0 ses=0
hep=7000008b47360a0 flg=80 ld=1 ob=700000824463668 ptr=7000008b4199d80 fex=7000008b4199090
Mutex 7000008b4736020(0, 1) idn 88fb1e93 oper SHRD
Mutex 7000008b4736020(0, 1) idn 88fb1e93 oper GET_EXCL
Mutex 7000008b4736020(0, 1) idn 88fb1e93 oper SHRD 的session sqlplus@DB01_manage (TNS V1-V3) sid: 2018正在执行该INSERT语句,该语句用到了绑定变量
SO: 700000a095c9940, type: 4, owner: 700000a0b3c1500, flag: INIT/-/-/0x00
(session) sid: 2018 trans: 700000a05bc18e8, creator: 700000a0b3c1500, flag: (41) USR/- BSY/-/-/-/-/-
DID: 0001-001D-00001A25, short-term DID: 0000-0000-00000000
txn branch: 0
oct: 2, prv: 0, sql: 7000008b4c75210, psql: 7000008b448f428, user: 254/<none>
service name: SYS$USERS
O/S info: user: ora, term: pts/3, ospid: 4055330, machine: DB01_manage
program: sqlplus@DB01_manage (TNS V1-V3)
application name: sqlplus@DB01_manage (TNS V1-V3), hash value=3504064190
waiting for 'db file sequential read' blocking sess=0x0 seq=60148 wait_time=0 seconds since wait started=0
file#=47, block#=339e6, blocks=1
Dumping Session Wait History
for 'db file sequential read' count=1 wait_time=105082
file#=46, block#=34241, blocks=1
for 'db file sequential read' count=1 wait_time=4813
file#=46, block#=3424c, blocks=1
for 'db file sequential read' count=1 wait_time=7209
SO: 7000009ed0ce938, type: 53, owner: 700000a095c9940, flag: INIT/-/-/0x00
LIBRARY OBJECT LOCK: lock=7000009ed0ce938 handle=7000008b4c75210 mode=N
call pin=0 session pin=0 hpc=0000 hlc=0000
htl=7000009ed0ce9b8[70000089f118248,7000009f5135bc8] htb=70000089f118248 ssga=70000089f117800
user=700000a095c9940 session=700000a095c9940 count=1 flags=[0000] savepoint=0x51641086
LIBRARY OBJECT HANDLE: handle=7000008b4c75210 mtx=7000008b4c75340(2) cdp=1
name=
INSERT INTO BUSINESS_TARGETS (COMCODE, DEPTNO, BUSINESS_TYPE, CUSTOM, CHANNEL, RISKCODE, KINDCODE, CAR_TYPE, YEAR, MONTH, TARGET_TYPE, AMOUNT) SELECT COMCODE, COMCODE,
'' BUSINESS_TYPE, '' CUSTOM, C.BUSINESSNATURE CHANNEL, C.RISKCODE, NVL(A.ARTICLECODE, '02'), '999999' CAR_TYPE, :B5 YEAR, :B4 MONTH, 'е¥¼þÊý' TARGET_TYPE, SUM(1) AMOU
NT FROM PRPCMAINORIGIN C, (SELECT * FROM PRPCITEMKINDORIGIN H LEFT JOIN PRPDKINDARTICLE G ON (H.RISKCODE = G.RISKCODE AND H.KINDCODE = G.KINDCODE) WHERE H.RISKCODE LIKE
'05%' A
被block的session 等待 cursor: pin X 正在执行的是
BEGIN dbms_shared_pool.purge('07000008B4C75210,2298158739','C',1); END;
07000008b4c75210 正对应于 前面的INSERT SQL语句:
SO: 7000006bc0eec98, type: 53, owner: 7000009c1f4bb98, flag: INIT/-/-/0x00
LIBRARY OBJECT LOCK: lock=7000006bc0eec98 handle=7000008b4c75210 mode=N
call pin=0 session pin=0 hpc=0000 hlc=0000
htl=7000006bc0eed18[70000089f11b590,700000898104d98] htb=70000089f11b590 ssga=70000089f11ab48
user=700000a0b5d0748 session=700000a0b5d0748 count=1 flags=[0000] savepoint=0xad7
LIBRARY OBJECT HANDLE: handle=7000008b4c75210 mtx=7000008b4c75340(2) cdp=1
name=
INSERT INTO BUSINESS_TARGETS (COMCODE, DEPTNO, BUSINESS_TYPE, CUSTOM, CHANNEL, RISKCODE, KINDCODE, CAR_TYPE, YEAR, MONTH, TARGET_TYPE, AMOUNT) SELECT COMCODE, COMCODE,
'' BUSINESS_TYPE, '' CUSTOM, C.BUSINESSNATURE CHANNEL, C.RISKCODE, NVL(A.ARTICLECODE, '02'), '999999' CAR_TYPE, :B5 YEAR, :B4 MONTH, 'е¥¼þÊý' TARGET_TYPE, SUM(1) AMOU
NT FROM PRPCMAINORIGIN C, (SELECT * FROM PRPCITEMKINDORIGIN H LEFT JOIN PRPDKINDARTICLE G ON (H.RISKCODE = G.RISKCODE AND H.KINDCODE = G.KINDCODE) WHERE H.RISKCODE LIKE
'05%' A
hash=6e031a7ec0e7ee
SO: 700000a0b5d0748, type: 4, owner: 700000a0c3d2748, flag: INIT/-/-/0x00
(session) sid: 2016 trans: 0, creator: 700000a0c3d2748, flag: (100041) USR/- BSY/-/-/-/-/-
DID: 0001-002A-00000792, short-term DID: 0000-0000-00000000
txn branch: 0
oct: 47, prv: 0, sql: 7000008d486cf10, psql: 7000009d0360ae0, user: 0/SYS
service name: SYS$USERS
O/S info: user: ora, term: pts/7, ospid: 2811306, machine: DB01_manage
program: sqlplus@DB01_manage (TNS V1-V3)
application name: sqlplus@DB01_manage (TNS V1-V3), hash value=3504064190
waiting for 'cursor: pin X' blocking sess=0x0 seq=13163 wait_time=0 seconds since wait started=0
idn=88fb1e93, value=1, where|sleeps=e000432d5
Dumping Session Wait History
for 'cursor: pin X' count=1 wait_time=69980
idn=88fb1e93, value=1, where|sleeps=e000432d4
for 'cursor: pin X' count=1 wait_time=9775
idn=88fb1e93, value=1, where|sleeps=e000432d3
for 'cursor: pin X' count=1 wait_time=9774
idn=88fb1e93, value=1, where|sleeps=e000432d2
for 'cursor: pin X' count=1 wait_time=9774
SO: 7000006290f8f38, type: 53, owner: 700000a0b5d0748, flag: INIT/-/-/0x00
LIBRARY OBJECT LOCK: lock=7000006290f8f38 handle=7000008d486cf10 mode=N
call pin=0 session pin=0 hpc=0000 hlc=0000
htl=7000006290f8fb8[70000089f11b200,700000629133d38] htb=70000089f11b200 ssga=70000089f11ab48
user=700000a0b5d0748 session=700000a0b5d0748 count=1 flags=[0000] savepoint=0x51641087
LIBRARY OBJECT HANDLE: handle=7000008d486cf10 mtx=7000008d486d040(1) cdp=1
name=BEGIN dbms_shared_pool.purge('07000008B4C75210,2298158739','C',1); END;
hash=cc5a32e71af8e9d6b84bb0e747a0805a timestamp=04-09-2013 13:29:19
namespace=CRSR flags=RON/KGHP/TIM/PN0/MED/KST/DBN/MTX/[500100d0]
kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=35 hpc=0002 hlc=0002
lwt=7000008d486cfb8[7000008d486cfb8,7000008d486cfb8] ltm=7000008d486cfc8[7000008d486cfc8,7000008d486cfc8]
pwt=7000008d486cf80[7000008d486cf80,7000008d486cf80] ptm=7000008d486cf90[7000008d486cf90,7000008d486cf90]
ref=7000008d486cfe8[7000008d486cfe8,7000008d486cfe8] lnd=7000008d486d000[7000008d486d000,7000008d486d000]
LIBRARY OBJECT: object=7000008cd68e3b0
|
|