Deadlock occur session is blocking its own session

i'm getting deal lock in my process , this is comming when i'm trying to calculate ID/primary key valuce
from ID table , we maintain a table for PK each time we need we read the value and increament the value by one for the next procuess . but here u seen for deadlock blocker and witer is same
and dead lock i comming at same line every time
line is select ... from id table for update of id ;
please help me why it is comming
Trace file:ORACLE.GPRD.OSDI.TRACE.T1930834.G0010010
information may aid in determining the deadlock:
Deadlock graph:
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-00020017-000282b2 18 19 X 18 19 X
session 19: DID 0001-0012-00000035.session 19: DID 0001-0012-00000035
Rows waited on:
Session 19: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
(dictionary objn - 4617, file - 52, block - 8370, slot - 29)
Information on the OTHER waiting sessions:
End of information on OTHER waiting sessions.
Current SQL statement for this session:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME)
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME)
Trace file:ORACLE.GPRD.OSDI.TRACE.T1930834.G0010012
information may aid in determining the deadlock:
Deadlock graph:
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-00140021-0002d6d0 20 22 X 20 22 X
session 22: DID 0001-0014-00002734.session 22: DID 0001-0014-00002734
Rows waited on:
Session 22: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
(dictionary objn - 4617, file - 52, block - 8370, slot - 29)
Information on the OTHER waiting sessions:
End of information on OTHER waiting sessions.
Current SQL statement for this session:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME)
Trace File:ORACLE.GPRD.OSDI.TRACE.T1930904.G028000A
deadlock due to user error in the design of an application
or from issuing incorrect ad-hoc SQL. The following
information may aid in determining the deadlock:
Deadlock graph:
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-00120026-00028b60 12 14 X 12 14 X
session 14: DID 0001-000C-00002913.session 14: DID 0001-000C-00002913
Rows waited on:
Session 14: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
(dictionary objn - 4617, file - 52, block - 8370, slot - 29)
Information on the OTHER waiting sessions:
End of information on OTHER waiting sessions.
Current SQL statement for this session:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME)
deadlock due to user error in the design of an application
or from issuing incorrect ad-hoc SQL. The following
information may aid in determining the deadlock:
Deadlock graph:
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-00120026-00028b60 12 14 X 12 14 X
session 14: DID 0001-000C-00002913.session 14: DID 0001-000C-00002913
Rows waited on:
Session 14: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
(dictionary objn - 4617, file - 52, block - 8370, slot - 29)
Information on the OTHER waiting sessions:
End of information on OTHER waiting sessions.
Current SQL statement for this session:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME)
Trace file:ORACLE.GPRD.OSDI.TRACE.T1930834.G005000C
Resource Name process session holds waits process session holds waits
TX-0007002c-000282f7 14 13 X 14 13 X
session 13: DID 0001-000E-00000023.session 13: DID 0001-000E-00000023
Rows waited on:
Session 13: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
(dictionary objn - 4617, file - 52, block - 8370, slot - 29)
Information on the OTHER waiting sessions:
End of information on OTHER waiting sessions.
Current SQL statement for this session:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME)
Trace File:ORACLE.GPRD.OSDI.TRACE.T1931520.G002000D
deadlock due to user error in the design of an application
or from issuing incorrect ad-hoc SQL. The following
information may aid in determining the deadlock:
Deadlock graph:
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-0005000a-0002d905 15 16 X 15 16 X
session 16: DID 0001-000F-00004F28.session 16: DID 0001-000F-00004F28
Rows waited on:
Session 16: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
(dictionary objn - 4617, file - 52, block - 8370, slot - 29)
Information on the OTHER waiting sessions:
End of information on OTHER waiting sessions.
Current SQL statement for this session:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME)
trace File:ORACLE.GPRD.OSDI.TRACE.T1930834.G001000E
deadlock due to user error in the design of an application
or from issuing incorrect ad-hoc SQL. The following
information may aid in determining the deadlock:
Deadlock graph:
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-00170013-000284f7 16 17 X 16 17 X
session 17: DID 0001-0010-00000039.session 17: DID 0001-0010-00000039
Rows waited on:
Session 17: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
(dictionary objn - 4617, file - 52, block - 8370, slot - 29)
Information on the OTHER waiting sessions:
End of information on OTHER waiting sessions.
Current SQL statement for this session:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME)
Trace File:ORACLE.GPRD.OSDI.TRACE.T1930834.G0010011
deadlock due to user error in the design of an application
or from issuing incorrect ad-hoc SQL. The following
information may aid in determining the deadlock:
Deadlock graph:
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-00140026-0002d681 19 20 X 19 20 X
session 20: DID 0001-0013-00000013.session 20: DID 0001-0013-00000013
Rows waited on:
Session 20: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
(dictionary objn - 4617, file - 52, block - 8370, slot - 29)
Information on the OTHER waiting sessions:
End of information on OTHER waiting sessions.
Current SQL statement for this session:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME)
--------------------------------------------------------------------------------

Dear
information may aid in determining the deadlock:
Deadlock graph:
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-00020017-000282b2 18 19 X 18 19 X
session 19: DID 0001-0012-00000035.session 19: DID 0001-0012-00000035
Rows waited on:
Session 19: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
(dictionary objn - 4617, file - 52, block - 8370, slot - 29)
Information on the OTHER waiting sessions:
End of information on OTHER waiting sessions.
Current SQL statement for this session:
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME)
SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME)
Trace file:ORACLE.GPRD.OSDI.TRACE.T1930834.G0010012 You are getting TX (Transaction lock) on X(exclusive) mode. This is either a row locking or a PK/UK enforcement.
If you post your code here and if you are using autonomous transaction, I might be able to change a little bit your code to avoid using autonomous transaction and hence to avoid your deadlock which, in contrast to what has been said here by one of the contributors, has to be solved and has not to be let in the hand of Oracle which will select arbitrarly a victim session and kills it to release the lock.
Best Regards
Mohamed Houri

Similar Messages

  • Deadlock occur how to read trace file session info

    i got a dead lock & here is the part of trace from the call stack here i know one process but how i can get the inofrmation of
    process 237 session 126 , i want to know which two process are involved in dead lock , i know table and rowid but i want to know the secod call stack or procedure if any one can help please reply .
    *** 2010-08-16 17:32:48.038
    *** SESSION ID:(126.255) 2010-08-16 17:32:47.880
    DEADLOCK DETECTED ( ORA-00060 )
    The following deadlock is not an ORACLE error. It is a
    deadlock due to user error in the design of an application
    or from issuing incorrect ad-hoc SQL. The following
    information may aid in determining the deadlock:
    Deadlock graph:
    ---------Blocker(s)-------- ---------Waiter(s)---------
    Resource Name process session holds waits process session holds waits
    TX-001a0026-0002969f 237 126 X 253 147 X
    TX-00010014-00020a0a 253 147 X 237 126 X
    session 126: DID 0001-00ED-00000028     session 147: DID 0001-00FD-000000A0
    session 147: DID 0001-00FD-000000A0     session 126: DID 0001-00ED-00000028
    Rows waited on:
    Session 147: obj - rowid = 00001209 - AAAEiHAA0AAACCzABA
    (dictionary objn - 4617, file - 52, block - 8371, slot - 64)
    Session 126: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
    (dictionary objn - 4617, file - 52, block - 8370, slot - 29)
    Information on the OTHER waiting sessions:
    Session 147:
    pid=253 serial=316 audsid=21499288 user: 77/<none>
    O/S info: user: , term: , ospid: 1234, machine: reg-bpel1.viterra.ca
    program:
    client info: BPEL_MESSAGING 1.00 SHIPMENT_ACTUALS_SYNC MSG_INTF_BATCH
    Current SQL Statement:
    SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
    End of information on OTHER waiting sessions.
    Current SQL statement for this session:
    SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    373209A0 74 package body GA_APPLICATION.DATALESS_KEY_PROCESSING_PKG
    373209A0 156 package body GA_APPLICATION.DATALESS_KEY_PROCESSING_PKG
    407DC818 247 package body GA_APPLICATION.MESSAGE_AND_HISTORY_PKG
    407DC818 358 package body GA_APPLICATION.MESSAGE_AND_HISTORY_PKG
    41502DC8 9705 package body GA_APPLICATION.BPEL_ORDER_PKG
    41502DC8 5520 package body GA_APPLICATION.BPEL_ORDER_PKG
    416091D0 1286 package body MSG_INTF_APPLICATION.ORDER_PKG
    42C2C638 1 anonymous block
    ===================================================
    PROCESS STATE
    Process global information:
    process: 31853F30, call: 36FF8998, xact: 3471B720, curses: 31B53BD8, usrses: 31B53BD8
    SO: 31853F30, type: 2, owner: 0, flag: INIT/-/-/0x00
    (process) Oracle pid=237, calls cur/top: 36FF8998/36FF8930, flag: (0) -
    int error: 0, call error: 0, sess error: 0, txn error 0
    (post info) last post received: 0 0 4
    last post received-location: kslpsr
    last process to post me: 3181e400 1 6
    last post sent: 0 0 16
    last post sent-location: ksasnd
    last process posted by me: 3181e400 1 6
    (latch info) wait_event=0 bits=0
    Process Group: DEFAULT, pseudo proc: 31B01F50
    O/S info: user: , term: , ospid: 000700E6
    OSD pid info: OSDI process pid: 000700E6, image: MINBNDS
    SO: 350BD728, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa6d60 incno=0 pending i/o cnt=0
    SO: 350C2A98, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa62f0 incno=0 pending i/o cnt=0
    SO: 350C28B8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9d0d0 incno=0 pending i/o cnt=0
    SO: 350C25E8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa7fa8 incno=0 pending i/o cnt=0
    SO: 350C0EC0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aaa438 incno=0 pending i/o cnt=0
    SO: 350BB0A0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aaa190 incno=0 pending i/o cnt=0
    SO: 350BB028, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa2c28 incno=0 pending i/o cnt=0
    SO: 350BAF38, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9db40 incno=0 pending i/o cnt=0
    SO: 350E12A8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa2990 incno=0 pending i/o cnt=0
    SO: 350C8B88, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa07a8 incno=0 pending i/o cnt=0
    SO: 350CB2D0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa14b0 incno=0 pending i/o cnt=0
    SO: 350CB258, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa50b8 incno=0 pending i/o cnt=0
    SO: 350DA3F0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aac620 incno=0 pending i/o cnt=0
    SO: 35146570, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9e858 incno=0 pending i/o cnt=0
    SO: 3516B278, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa4b78 incno=0 pending i/o cnt=0
    SO: 35110D50, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa4e10 incno=0 pending i/o cnt=0
    SO: 3510E380, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa8240 incno=0 pending i/o cnt=0
    SO: 35109CB8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa19e0 incno=0 pending i/o cnt=0
    SO: 35104030, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa48e0 incno=0 pending i/o cnt=0
    SO: 350FFFB0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9f7f8 incno=0 pending i/o cnt=0
    SO: 350FCD70, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa3400 incno=0 pending i/o cnt=0
    SO: 350EF0A8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aab918 incno=0 pending i/o cnt=0
    SO: 350E4650, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa6058 incno=0 pending i/o cnt=0
    SO: 350D7930, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa84e8 incno=0 pending i/o cnt=0
    SO: 35109E20, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa8cb0 incno=0 pending i/o cnt=0
    SO: 350D6A00, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9cba0 incno=0 pending i/o cnt=0
    SO: 350FAE98, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa1218 incno=0 pending i/o cnt=0
    SO: 350FA5F8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9f560 incno=0 pending i/o cnt=0
    SO: 350FA238, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9d8a8 incno=0 pending i/o cnt=0
    SO: 350EDAE8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9c3c8 incno=0 pending i/o cnt=0
    SO: 350EBF58, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aab140 incno=0 pending i/o cnt=0
    SO: 350EBD00, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aacb50 incno=0 pending i/o cnt=0
    SO: 350EBC88, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa21b8 incno=0 pending i/o cnt=0
    SO: 350EBC10, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aaaea8 incno=0 pending i/o cnt=0
    SO: 350D0238, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aac388 incno=0 pending i/o cnt=0
    SO: 350CDF70, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aabbb0 incno=0 pending i/o cnt=0
    SO: 350CDEF8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa1748 incno=0 pending i/o cnt=0
    SO: 350CDE80, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa72a0 incno=0 pending i/o cnt=0
    SO: 350CDE08, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa7538 incno=0 pending i/o cnt=0
    SO: 350CDD90, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa6ac8 incno=0 pending i/o cnt=0
    SO: 350CDD18, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9fd38 incno=0 pending i/o cnt=0
    SO: 350CDB38, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa0a40 incno=0 pending i/o cnt=0
    SO: 350CBEB8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aabe48 incno=0 pending i/o cnt=0
    SO: 350CBA08, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9e080 incno=0 pending i/o cnt=0
    SO: 350CB828, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa5350 incno=0 pending i/o cnt=0
    SO: 350CB168, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa4108 incno=0 pending i/o cnt=0
    SO: 350CB078, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa9720 incno=0 pending i/o cnt=0
    SO: 350CB000, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9ce38 incno=0 pending i/o cnt=0
    SO: 31B53BD8, type: 4, owner: 31853F30, flag: INIT/-/-/0x00
    (session) trans: 3471B720, creator: 31853F30, flag: (100045) USR/- BSY/-/-/-/-/-
    DID: 0001-00ED-00000028, short-term DID: 0000-0000-00000000
    txn branch: 0
    oct: 3, prv: 0, sql: 3731E1A8, psql: 3731E1A8, user: 77/<none>
    O/S info: user: , term: , ospid: 1234, machine: reg-bpel1.viterra.ca
    program:
    client info: BPEL_Messaging 1.00 SO_SYNC MSG_INTF_BATCH
    last wait for 'enqueue' blocking sess=0x31b60208 seq=11337 wait_time=3333245
    name|mode=e3e70006, id1=10014, id2=20a0a
    temporary object counter: 0
    SO: 36D06490, type: 52, owner: 31B53BD8, flag: INIT/-/-/0x00
    LIBRARY OBJECT PIN: pin=36d06490 handle=3731f318 mode=S lock=53af8dc8
    user=31b53bd8 session=31b53bd8 count=1 mask=0041 savepoint=63373 flags=[00]
    SO: 4C1AEF38, type: 51, owner: 31B53BD8, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=4c1aef38 handle=3eb115d8 mode=N
    call pin=0 session pin=439995E8
    htl=4C1AEF74[3403195C,510B35B8] htb=510B35B8
    user=31b53bd8 session=31b53bd8 count=1 flags=[00] savepoint=63228
    LIBRARY OBJECT HANDLE: handle=3eb115d8
    namespace=CRSR flags=RON/KGHP/PN0/[10010000]
    kkkk-dddd-llll=0000-0041-0041 lock=N pin=0 latch#=2
    lwt=3EB115F0[3EB115F0,3EB115F0] ltm=3EB115F8[3EB115F8,3EB115F8]
    pwt=3EB11608[3EB11608,3EB11608] ptm=3EB11660[3EB11660,3EB11660]
    ref=3EB115E0[3EB11820, 3EB11820] lnd=3EB1166C[3EB1166C,3EB1166C]
    LIBRARY OBJECT: object=3eb10850
    type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
    DEPENDENCIES: count=6 size=16
    AUTHORIZATIONS: count=1 size=16 minimum entrysize=28
    ACCESSES: count=2 size=16
    TRANSLATIONS: count=2 size=16
    DATA BLOCKS:
    data# heap pointer status pins change
    0 3eb10a60 3eb10608 I/P/A 0 NONE
    6 3eb108f8 3eb0f3a8 I/-/A 0 NONE
    SO: 4C1AF910, type: 51, owner: 31B53BD8, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=4c1af910 handle=3eb1e3b8 mode=N
    call pin=46E24C60 session pin=0
    htl=4C1AF94C[3502B6B4,510B3680] htb=510B3680
    user=31b53bd8 session=31b53bd8 count=1 flags=[00] savepoint=63227
    LIBRARY OBJECT HANDLE: handle=3eb1e3b8
    name=
    INSERT INTO PO_MSG ( PO_MSG_ID ,PO_ID ,PO_NBR ,PO_DT ,LOC_ACCT_ID ,PO_FORMAT ,DS_ID ,QGRD_TABLE_PROD_ID ,TRANS_MODE ,TRA
    NS_TYPE_ID ,SPLIT_WHEN ,LEAD_CAR_NBR ,PO_STATUS ,ENABLE_EXTEND_AMT ,CONTROL_NBR ,SHIP_WHEN ,PO_TYPE ,PRINT_COPIES ,PRINT
    PRICE ,GENERATESO ,RETURN_AUTHORIZE ,ASSESS_STATE_ID ,REPEAT_ORDER ,REPEAT_NBR_DAYS ,REPEAT_DAY ,REPEAT_DAYS ,REPEAT_U
    NTIL_DT ,CURRENCY_ID ,CURR_RATE_TYPE_ID ,EXCH_RATE_AVG ,COMMENTS_EXIST ,CREATE_USER_ID ,CREATE_DT_TIME ,UPDATE_USER_ID ,
    UPDATE_DT_TIME ,REPEAT_TRIGGER ,
    hash=e58fc51 timestamp=08-15-2010 08:22:27
    namespace=CRSR flags=RON/KGHP/TIM/PN0/[10010000]
    kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=2
    lwt=3EB1E3D0[3EB1E3D0,3EB1E3D0] ltm=3EB1E3D8[3EB1E3D8,3EB1E3D8]
    pwt=3EB1E3E8[3EB1E3E8,3EB1E3E8] ptm=3EB1E440[3EB1E440,3EB1E440]
    ref=3EB1E3C0[3EB1E3C0, 3EB1E3C0] lnd=3EB1E44C[3EAECA24,3EB20044]
    LIBRARY OBJECT: object=3eb118f0
    type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
    CHILDREN: size=16
    child# table reference handle
    0 3eb11a98 3eb11820 3eb115d8
    DATA BLOCKS:
    data# heap pointer status pins change
    0 3eb25b40 3eb11980 I/P/A 0 NONE
    SO: 4C752940, type: 51, owner: 31B53BD8, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=4c752940 handle=3eb20cf8 mode=N
    call pin=3B503AF8 session pin=0
    htl=4C75297C[36856DD4,510B3628] htb=510B3628
    user=31b53bd8 session=31b53bd8 count=2 flags=[00] savepoint=63218
    LIBRARY OBJECT HANDLE: handle=3eb20cf8
    name=GA_APPLICATION.PO_AUR
    hash=92b14a46 timestamp=06-29-2010 21:08:46
    namespace=TRGR flags=KGHP/TIM/SML/[02000000]
    kkkk-dddd-llll=0000-0059-0059 lock=N pin=0 latch#=5
    lwt=3EB20D10[3EB20D10,3EB20D10] ltm=3EB20D18[3EB20D18,3EB20D18]
    pwt=3EB20D28[3EB20D28,3EB20D28] ptm=3EB20D80[3EB20D80,3EB20D80]
    ref=3EB20D00[3EB20D00, 3EB20D00] lnd=3EB20D8C[3EAB046C,3EB79DFC]
    LIBRARY OBJECT: object=3eb20c10
    type=TRGR flags=EXS/LOC[0005] pflags=NST [01] status=VALD load=0
    DEPENDENCIES: count=17 size=32
    READ ONLY DEPENDENCIES: count=2 size=16
    ACCESSES: count=5 size=16
    DATA BLOCKS:
    data# heap pointer status pins change
    0 3eb25ba8 3eb208f0 I/-/A 0 NONE
    3 3eb207d0 0 -/P/- 0 NONE
    4 3eb20838 3eb1f558 I/-/A 0 NONE
    6 3eb208a0 3eb1dd60 I/-/A 0 NONE
    ----------------------------------------

    Hi,
    ---------Blocker(s)-------- ---------Waiter(s)---------
    Resource Name process session holds waits process session holds waits
    TX-001a0026-0002969f 237 *126* X 253 *147* X
    TX-00010014-00020a0a 253 *147* X 237 *126* X
    session 126: DID 0001-00ED-00000028 session 147: DID 0001-00FD-000000A0
    session 147: DID 0001-00FD-000000A0 session 126: DID 0001-00ED-00000028
    Rows waited on:
    Session 147: obj - rowid = 00001209 - AAAEiHAA0AAACCzABA
    *(dictionary objn - 4617, file - 52, block - 8371, slot - 64)*
    Session 126: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
    *(dictionary objn - 4617, file - 52, block - 8370, slot - 29)*
    Information on the OTHER waiting sessions:
    Session 147:
    pid=253 serial=316 audsid=21499288 user: 77/<none>
    O/S info: user: , term: , ospid: 1234, machine: reg-bpel1.viterra.ca
    program:
    client info: BPEL_MESSAGING 1.00 SHIPMENT_ACTUALS_SYNC MSG_INTF_BATCH
    Current SQL Statement:
    SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
    End of information on OTHER waiting sessions.
    Current SQL statement for this session:
    SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
    Has most of the information.
    You have to check what session 126 and 147 were doing. It also gives you information on object_id and rowid where you had the lock by two sessions.
    The culprit is FOR UPDATE OF NEXT_ID.
    Regards
    Edited by: skvaish1 on Aug 18, 2010 5:26 PM

  • OrdImage using its own database session?

    Hello,
    I have been searching on the Internet and this forums, but I am unable to find an answer to my question, so I am asking it here: I have noticed that when a user enters to a screen with an OrdImage being displayed in it, the application module opens 2 database sessions instead of one. Furthermore, if I comment the af:media component used to display the OrdImage and I repeat the same test, only one database session is created. So for some reason, the OrdImage is using a separate database session from the rest of the screen.
    Does the OrdImage type really need its own session? Is it possible to make it use the screen's one? Using two database sessions in the same screen is kind of a waste of resources, especially when that screen has a lot of users (like the one where he have the issue).
    Thank you
    Jordi
    PS: by the way, I am using JDeveloper 11.1.1.4.0.

    I have just found [this article|http://jobinesh.blogspot.com.es/2011/07/tips-on-using-afmedia-to-display.html] about OrdImage in ADF, and I see that the pagedef property CustomInputHandler="OrdDomainValueHandler" (which is already set in my application) is used to retrieve some information that cannot be get through the View Object. Is it possible that this property is the responsible for that second connection?
    Jordi

  • Help - Recording Mysteriously Stops On Its Own

    Hello, can anyone please help me?.....
    I am recording 1 live track and Logic keeps stopping the recording mid-session.. (on its own, without any conscious prompting on my part) I have plenty of time alloted to the timeline and plenty of memory... Does anyone know why this happening and how I can solve the problem??.... Please help
    Thank you,
    Ra

    Also, I forgot to mention, Logic keeps playing after it stops recording. (as if Im pressing the record button but letting it play, or punching a specific region)
    Thank you, please help if you can....

  • I want my mac to start on its own just for one session.

    Hello,
    Is there a way to have my mac start on its own for just one session and thats it. A one time deal?
    Thanks

    Oops, really for Warrior Ant.
    Don't ask me to do it but that might be Applescriptable. I think there is a forum for A'S'.
    Oops, really for Warrior Ant.
    Don't ask me to do it but that might be Applescriptable. I think there is a forum for A'S'.
    http://discussions.apple.com/forum.jspa?forumID=724
    There it is.
    Message was edited by: Jpfresno w Link

  • Query to get the details of Blocking and deadlock occurred for the Day

    Hi,
       I need a query to get the details of blocking and deadlock occurred for the day.

    You havent specified which version of SQL you are using which makes it difficult to give a solution. Assuming its latest versions , by default SQL Server (in any versions) doesnt track blocking information.
    You need to run some kind of queries/traces to capture blocking. The same goes with Deadlocks where majority of the DBA's enable trace flag 1222/1205 when they suspect deadlocks happening.
    Check this link -
    http://dba.stackexchange.com/questions/10644/deadlock-error-isnt-returning-the-deadlock-sql/10646#10646
    This link gives code to get historic deadlock information. I havent used it , I just googled to get that.
    That being said if you are looking for something to capture for the future check the below links.
    Check these links on how to setup extended events to capture deadlock and blocking.
    http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/12/21/an-xevent-a-day-21-of-31-the-future-tracking-blocking-in-denali.aspx
    http://blogs.msdn.com/b/sqlserverfaq/archive/2013/04/27/an-in-depth-look-at-sql-server-memory-part-2.aspx
    http://blogs.technet.com/b/mspfe/archive/2012/06/28/how_2d00_to_2d00_monitor_2d00_deadlocks_2d00_in_2d00_sql_2d00_server.aspx
    HTH
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Two sessions are blocked each other in

    Hi All,
    My database is Exadata machine. 11.2
    These days we encountered one case, that is two sessions are always blocked by each other. I get this info from v$session blocking_session.
    For examle, the information looks like
    sid blocking_session event
    1 2 libarary cache lock
    2 1 row cache lock
    and as you know there are many other sessions are blocked by sid 1.
    By lookiing up v$sql, I got the sql for these 2 sessions.
    /* QSMQ VALIDATION */ ALTER SUMMARY "XXXXX"."Gxxx_CP_CAL_TIME_TEMP_MV" COMPILE
    /* QSMQ VALIDATION */ ALTER SUMMARY "XXXXX"."Gxxx_CP_CAL_TIME_MV" COMPILE
    Both of these 2 MV share some underlying objects. And both of the 2 sessions started at the same time roughly.
    If the compilation incurs the lock on the object, why the 2 sessions block each other?
    Can someone give me some tips,please?
    Best regards,
    Leon

    Leon,
    sid blocking_session event
    1 2 libarary cache lock
    2 1 row cache lockYou are saying that above situation does not cause a deadlock error to be generated in either one of those two sessions?
    /* QSMQ VALIDATION */ ALTER SUMMARY "XXXXX"."Gxxx_CP_CAL_TIME_TEMP_MV" COMPILE
    /* QSMQ VALIDATION */ ALTER SUMMARY "XXXXX"."Gxxx_CP_CAL_TIME_MV" COMPILEThese to me look like programmed 'ALTER SUMMARY' commands (the comment in front of the statement seems to indicate so). It's the application that's doing this right?
    - Can you reproduce this with two sqlplus sessions?
    - Why is the application compiling the MV's? Are underlying objects being altered frequently?
    - Should the application not just be 'refreshing' the MV's instead of compiling them?
    Just some thoughts.
    Toon
    Edit:
    Dom's right. The alter summary statements seem to be Oracle internal calls generated by DBMS_MVIEW.REFRESH executions.
    Edited by: Toon Koppelaars on Nov 24, 2011 10:41 AM

  • How can i get the value stored in the session object using its sessionid

    how can i get the value stored in the session object using its sessionid by running stand alone java application

    myforum wrote:
    how can i get the value stored in the session object using its sessionid by running stand alone java applicationThis does not seem to make sense! You need at least to give a lot more detail of what you are doing.

  • Has no value definition - Session INIT Block.

    Hi,
    I have a Session initialization block for Fetching Departments from a Security table for the user logging in.
    One user can have Multiple Departments assigned to him, so i enabled Row-wise initialization in INIT Block.
    But when a user not assigned to any departments logs in, i am getting 'Session variable has no value definition' error in all the reports. But i should instead pass a default value when SQL in INIT Block is not returning anything. Like '0'.
    How can i do this? please respond.
    Thanks
    Swami

    Hi Swami,
    When the query fetches a result set, the variable gets initialized.
    But, when the query doesn't fetch any rows, the variable doesn't gets initialized and hence "no value definition" errors out.
    So, to avoid this,
    In the query itself, place an exception condition which returns '0'.
    select dept_name from table
    where user_name = ':user'
    UNION
    select '0' from table
    where user_name <> ':user'or you can use like this
    select CASE WHEN user_name = ':user' THEN dept_name ELSE '0' END
    from tableP.S: Query written orally. (Pls adjust the query accordingly)
    Regards,
    Raghu

  • Security authorizations - batch input session - deleting your own session

    I know that S_BDC_MONI will allow you to delete Batch Input sessions (SM35), but it looks like it will allow you to delete whatever you put in BDCGROUPID, irrespective of whether it's your session or some one elses.
    Is there anything in security, which will allow you to only delete your own sessions, other than having different session names for different people.

    Hi,
    Execute the session in error mode only. If you are still facing the problem, you will have to execute it in foreground.
    Regards,
    Amit

  • Object locked in v$locked_object but can't find session/process blocking

    Hi,
    I am on database 10.2.0.5, windows x64.
    A developer calls me and tells me there are locks on 3 tables, and the locks are not released.
    So I run this to see which objects are locked by which session
    select vlo.object_id, vlo.session_id, vlo.oracle_username, vlo.process
      , DECODE(vlo.LOCKED_MODE, 0,'NONE', 1,'NULL', 2,'ROW SHARE', 3,'ROW EXCLUSIVE', 4,'SHARE', 5,'SHARE ROW EXCLUSIVE', 6,'EXCLUSIVE', NULL) LOCK_MODE
      , do.owner, do.object_name, do.object_type
      , vs.saddr, vs.serial#, vs.paddr, vs.username, vs.ownerid, vs.status, vs.server, vs.schemaname, vs.osuser, vs.machine, vs.program, vs.type, vs.logon_time, vs.last_call_et
      , vs.blocking_session_status, vs.event#, vs.event, vs.wait_class#, vs.wait_class, vs.wait_time, vs.seconds_in_wait, vs.state
      from v$locked_object vlo
        inner join dba_objects do on (vlo.object_id = do.object_id)
        left outer join v$session vs on (vlo.session_id = vs.sid)-----------
    I get (after finding out my table locks come from SID 514)
    OBJECT_ID              SESSION_ID             ORACLE_USERNAME                PROCESS      LOCK_MODE           OWNER                          OBJECT_NAME                                                                                                                      OBJECT_TYPE         SADDR            SERIAL#                PADDR            USERNAME                       OWNERID                STATUS   SERVER    SCHEMANAME                     OSUSER                         MACHINE                                                          PROGRAM                                                          TYPE       LOGON_TIME                LAST_CALL_ET           BLOCKING_SESSION_STATUS EVENT#                 EVENT                                                            WAIT_CLASS#            WAIT_CLASS                                                       WAIT_TIME              SECONDS_IN_WAIT        STATE              
    373122                 514                    IRMFIN                         22AB7298     ROW EXCLUSIVE       IRMFIN                         IC_PRODUCT_STATUS                                                                                                                TABLE               000007FF3E1A9070 1301                   000007FF3E639120 IRMFIN                         2147483644             INACTIVE DEDICATED IRMFIN                         IRMTEST                        IRM                                                              DSA0:[GEMBASE730.][RUN]GEM.EXE                                   USER       2012/09/05 13:55:51       702                    NO HOLDER               263                    SQL*Net message from client                                      6                      Idle                                                             0                      702                    WAITING            
    373025                 514                    IRMFIN                         22AB7298     ROW EXCLUSIVE       IRMFIN                         IC_BIN_DETAIL_STATUS                                                                                                             TABLE               000007FF3E1A9070 1301                   000007FF3E639120 IRMFIN                         2147483644             INACTIVE DEDICATED IRMFIN                         IRMTEST                        IRM                                                              DSA0:[GEMBASE730.][RUN]GEM.EXE                                   USER       2012/09/05 13:55:51       702                    NO HOLDER               263                    SQL*Net message from client                                      6                      Idle                                                             0                      702                    WAITING            
    373055                 514                    IRMFIN                         22AB7298     ROW EXCLUSIVE       IRMFIN                         IC_LOT_STATUS                                                                                                                    TABLE               000007FF3E1A9070 1301                   000007FF3E639120 IRMFIN                         2147483644             INACTIVE DEDICATED IRMFIN                         IRMTEST                        IRM                                                              DSA0:[GEMBASE730.][RUN]GEM.EXE                                   USER       2012/09/05 13:55:51       702                    NO HOLDER               263                    SQL*Net message from client                                      6                      Idle                                                             0                      702                    WAITING             -----------
    I run it again and I get something different, this time the lock is still there, but no session. select * from v$session where sid= 514 returns nothing.
    I get
    OBJECT_ID              SESSION_ID             ORACLE_USERNAME                PROCESS      LOCK_MODE           OWNER                          OBJECT_NAME                                                                                                                      OBJECT_TYPE         SADDR            SERIAL#                PADDR            USERNAME                       OWNERID                STATUS   SERVER    SCHEMANAME                     OSUSER                         MACHINE                                                          PROGRAM                                                          TYPE       LOGON_TIME                LAST_CALL_ET           BLOCKING_SESSION_STATUS EVENT#                 EVENT                                                            WAIT_CLASS#            WAIT_CLASS                                                       WAIT_TIME              SECONDS_IN_WAIT        STATE              
    373122                 514                                                                ROW EXCLUSIVE       IRMFIN                         IC_PRODUCT_STATUS                                                                                                                TABLE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
    373025                 514                                                                ROW EXCLUSIVE       IRMFIN                         IC_BIN_DETAIL_STATUS                                                                                                             TABLE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
    373055                 514                                                                ROW EXCLUSIVE       IRMFIN                         IC_LOT_STATUS                                                                                                                    TABLE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       When I run the query later, I sometimes get another session, but the lock stays. It seems here, that I am catching the same SID on new sessions, but it is probably a different serial # than the original session locking the table rows.
    I get nothing from
    select * from dba_waiters;
    select * from dba_blockers;
    Now why are those 3 tables row locked on some rows and I can't find the session responsible? The developer tells me his application crashed and the rows are locked since.
    So far ( keep in mind I am not a locking expert) the only way I found to release the locks is a DB bounce, its a test DB so no biggy.
    Is this a bug? Am I missing something?
    This is the second time this has happened. How can I solve this issue?
    Best wishes to all.

    Thank you for your reply.
    I do not think I can kill the session (514) it does not exist, even though v$locked_object reports tables are locked by session 514
    see below
    select * from v$locked_object
    XIDUSN                 XIDSLOT                XIDSQN                 OBJECT_ID              SESSION_ID             ORACLE_USERNAME                OS_USER_NAME                   PROCESS      LOCKED_MODE           
    9                      26                     351467                 373122                 514                                                                                               3                     
    10                     41                     339655                 373025                 514                                                                                               3                     
    11                     6                      92004                  373055                 514                                                                                               3                     
    select * from v$session order by sid
    ( no session 514)
    SADDR            SID                    SERIAL#                AUDSID                 PADDR            USER#                  USERNAME                       COMMAND                OWNERID                TADDR            LOCKWAIT         STATUS   SERVER    SCHEMA#                SCHEMANAME                     OSUSER                         PROCESS      MACHINE                                                          PORT                   TERMINAL         PROGRAM                                                          TYPE       SQL_ADDRESS      SQL_HASH_VALUE         SQL_ID        SQL_CHILD_NUMBER       PREV_SQL_ADDR    PREV_HASH_VALUE        PREV_SQL_ID   PREV_CHILD_NUMBER      PLSQL_ENTRY_OBJECT_ID  PLSQL_ENTRY_SUBPROGRAM_ID PLSQL_OBJECT_ID        PLSQL_SUBPROGRAM_ID    MODULE                                           MODULE_HASH            ACTION                           ACTION_HASH            CLIENT_INFO                                                      FIXED_TABLE_SEQUENCE   ROW_WAIT_OBJ#          ROW_WAIT_FILE#         ROW_WAIT_BLOCK#        ROW_WAIT_ROW#          LOGON_TIME                LAST_CALL_ET           PDML_ENABLED FAILOVER_TYPE FAILOVER_METHOD FAILED_OVER RESOURCE_CONSUMER_GROUP          PDML_STATUS PDDL_STATUS PQ_STATUS CURRENT_QUEUE_DURATION CLIENT_IDENTIFIER                                                BLOCKING_SESSION_STATUS BLOCKING_INSTANCE      BLOCKING_SESSION       SEQ#                   EVENT#                 EVENT                                                            P1TEXT                                                           P1                     P1RAW            P2TEXT                                                           P2                     P2RAW            P3TEXT                                                           P3                     P3RAW            WAIT_CLASS_ID          WAIT_CLASS#            WAIT_CLASS                                                       WAIT_TIME              SECONDS_IN_WAIT        STATE               SERVICE_NAME                                                     SQL_TRACE SQL_TRACE_WAITS SQL_TRACE_BINDS ECID                                                            
    582                  41322092               000007FF3E6279B0 88                     IRMFIN                         0                      2147483644                                               INACTIVE NONE      88                     IRMFIN                         IRM-NTSERVER\ttoupet           2768:5812    IRM-NTSERVER\IRM-WINDEV                                          2091                   IRM-WINDEV       WDMAP.EXE                                                        USER       00               0                                                           000007FF296D46B0 1249880231             gkm8w8157za57 0                                                                                                                     WDMAP.EXE                                        3924246850                                              0                                                                                       4272871                480874                 5                      109733                 0                      2012/09/06 08:54:26       369                    NO           NONE          NONE            NO                                           DISABLED    ENABLED     ENABLED   0                                                                                       NO HOLDER                                                             55                     263                    SQL*Net message from client                                      driver id                                                        1297371904             000000004D545300 #bytes                                                           1                      0000000000000001                                                                  0                      00               2723168908             6                      Idle                                                             0                      369                    WAITING             irtrcs01.ivacorm.com                                             DISABLED  FALSE           FALSE                                                                           
    000007FF3E1A0FA0 508                    55443                  41321967               000007FF3E62E488 93                     RODMILL                        0                      2147483644                                               INACTIVE DEDICATED 93                     RODMILL                        flong                          4144         IT011                                                            49450                  unknown          SQL Developer                                                    USER       00               0                                                           000007FF126A6BC0 293046999              7jjvy5s8rg2qr 0                                                                                                                     SQL Developer                                    1012150930                                              0                                                                                       4280261                373579                 5                      348686                 0                      2012/09/06 08:39:23       218                    NO           NONE          NONE            NO                                           DISABLED    ENABLED     ENABLED   0                                                                                       NO HOLDER                                                             5486                   263                    SQL*Net message from client                                      driver id                                                        675562835              0000000028444553 #bytes                                                           1                      0000000000000001                                                                  0                      00               2723168908             6                      Idle                                                             0                      218                    WAITING             irtrcs01.ivacorm.com                                             DISABLED  FALSE           FALSE                                                                           
    000007FF3E1A2518 509                    3086                   41287084               000007FF3E628A20 64                     SYSMAN                         47                     2147483644             000007FF3D7C21D8                  ACTIVE   SHARED    64                     SYSMAN                                                        1234         IRMFAX                                                           1341                                    OMS                                                              USER       000007FF357CE418 4281219134             2b064ybzkwf1y 0                      000007FF357A8BF0 2532399038             5dwsqwabg2pxy 0                      178612                 8                                                                       OEM.SystemPool                                   2960518376             NotificationMgr                  3664650334             IRMFAX.ivacorm.com:4889_Management_Service                       4281687                177737                 14                     40683                  0                      2012/09/03 11:44:37       7                      NO           NONE          NONE            NO                                           DISABLED    ENABLED     ENABLED   0                                                                                       UNKNOWN                                                               48888                  45                     wait for unread message on broadcast channel                     channel context                                                  8792836163648          000007FF3DE04840 channel handle                                                   8792836060256          000007FF3DDEB460                                                                  0                      00               2723168908             6                      Idle                                                             0                      7                      WAITING             irtrcs01.ivacorm.com                                             DISABLED  FALSE           FALSE                                                                           
    000007FF3E1A3A90 510                    35277                  41286699               000007FF3E6279B0 64                     SYSMAN                         0                      2147483644                                               INACTIVE NONE      64                     SYSMAN                                                        1234         IRMFAX                                                           3154                                    OMS                                                              USER       00               0                                                           000007FF3E844AD8 3275117642             43c5ykm1mcp2a 1                                                                                                                     OEM.CacheModeWaitPool                            796036576                                               0                      IRMFAX.ivacorm.com:4889_Management_Service                       4280509                -1                     0                      0                      0                      2012/09/03 10:58:32       169                    NO           NONE          NONE            NO                                           DISABLED    ENABLED     ENABLED   0                                                                                       NO HOLDER                                                             29909                  263                    SQL*Net message from client                                      driver id                                                        1297371904             000000004D545300 #bytes                                                           1                      0000000000000001                                                                  0                      00               2723168908             6                      Idle                                                             0                      169                    WAITING             irtrcs01.ivacorm.com                                             DISABLED  FALSE           FALSE                                                                           
    000007FF3E1A5008 511                    51686                  41287085               000007FF3E6279B0 64                     SYSMAN                         0                      2147483644                                               INACTIVE NONE      64                     SYSMAN                                                        1234         IRMFAX                                                           1342                                    OMS                                                              USER       00               0                                                           000007FF36C3CED8 2539923080             6v7n0y2bq89n8 0                                                                                                                     OEM.SystemPool                                   2960518376             JobDispatcher                    875884737              IRMFAX.ivacorm.com:4889_Management_Service                       4281706                -1                     0                      0                      0                      2012/09/03 11:44:37       5                      NO           NONE          NONE            NO                                           DISABLED    ENABLED     ENABLED   0                                                                                       NO HOLDER                                                             38929                  263                    SQL*Net message from client                                      driver id                                                        1297371904             000000004D545300 #bytes                                                           1                      0000000000000001                                                                  0                      00               2723168908             6                      Idle                                                             0                      5                      WAITING             irtrcs01.ivacorm.com                                             DISABLED  FALSE           FALSE                                                                           
    000007FF3E1A6580 512                    28994                  41293063               000007FF3E6279B0 64                     SYSMAN                         0                      2147483644                                               INACTIVE NONE      64                     SYSMAN                                                        1234         IRMFAX                                                           3636                                    OMS                                                              USER       00               0                                                           000007FF32990C90 1763828656             44nz3b1nk3sxh 1                                                                                                                     OEM.CacheModeWaitPool                            796036576                                               0                      IRMFAX.ivacorm.com:4889_Management_Service                       4280509                -1                     0                      0                      0                      2012/09/04 00:00:02       169                    NO           NONE          NONE            NO                                           DISABLED    ENABLED     ENABLED   0                                                                                       NO HOLDER                                                             20902                  263                    SQL*Net message from client                                      driver id                                                        1297371904             000000004D545300 #bytes                                                           1                      0000000000000001                                                                  0                      00               2723168908             6                      Idle                                                             0                      169                    WAITING             irtrcs01.ivacorm.com                                             DISABLED  FALSE           FALSE                                                                           
    000007FF3E1ABB60 516                    48427                  41292026               000007FF3E62DC50 93                     RODMILL                        0                      2147483644                                               INACTIVE DEDICATED 93                     RODMILL                        ebesner                        10808        Fingers                                                          59004                  unknown          SQL Developer                                                    USER       00               0                                                           000007FF127B0A58 351849430              bkcpdnnagjkyq 0                                                                                                                     SQL Developer                                    1012150930                                              0                                                                                       4049825                533716                 21                     17036                  0                      2012/09/03 21:53:47       61389                  NO           NONE          NONE            NO                                           DISABLED    ENABLED     ENABLED   0                                                                                       NO HOLDER                                                             2578                   263                    SQL*Net message from client                                      driver id                                                        675562835              0000000028444553 #bytes                                                           1                      0000000000000001                                                                  0                      00               2723168908             6                      Idle                                                             0                      61389                  WAITING             irtrcs01.ivacorm.com                                             DISABLED  FALSE           FALSE                                                                           
    000007FF3E1AD0D8 517                    2                      0                      000007FF3E635FD0 0                                                     0                      2147483644                                               ACTIVE   DEDICATED 0                      SYS                            SYSTEM                         4292         CHARLIE                                                          0                      CHARLIE          ORACLE.EXE (q001)                                                BACKGROUND 00               0                                    0                      00               0                                    0                                                                                                                                                                      0                                                       0                                                                                       112                    -1                     0                      0                      0                      2012/08/22 17:46:54       1264692                NO           NONE          NONE            NO                                           DISABLED    ENABLED     ENABLED   0                                                                                       UNKNOWN                                                               2685                   281                    Streams AQ: qmn slave idle wait                                                                                                   0                      00                                                                                0                      00                                                                                0                      00               2723168908             6                      Idle                                                             0                      16                     WAITING             SYS$BACKGROUND                                                   DISABLED  FALSE           FALSE                                                                           
    000007FF3E1AE650 518                    2                      4294967295             000007FF3E635798 0                      SYS                            3                      2147483644                                               INACTIVE DEDICATED 0                      SYS                            IRM-NTSERVER\cluster           3704:1572    IRM-NTSERVER\CHARLIE                                             49181                  CHARLIE          rhs.exe                                                          USER       000007FF3EA55E08 654885888              bcfjz80mhjj00 0                      000007FF3EA55E08 654885888              bcfjz80mhjj00 0                                                                                                                     rhs.exe                                          1733424889                                              0                                                                                       4281686                -1                     0                      0                      0                      2012/08/22 17:46:54       16                     NO           NONE          NONE            NO                                           DISABLED    ENABLED     ENABLED   0                                                                                       NO HOLDER                                                             58582                  263                    SQL*Net message from client                                      driver id                                                        1413697536             0000000054435000 #bytes                                                           1                      0000000000000001                                                                  0                      00               2723168908             6                      Idle                                                             0                      16                     WAITING             SYS$USERS                                                        DISABLED  FALSE           FALSE                                                                           

  • Sites identified to allow, allow for session or block cookies in exceptions diappear

    I identify sites to allow, allow for session or block cookies in the exception tab in the privacy tab. These sites all disappear when Firefox is closed without any action on my part. I have to repeatedly reenter the sites again. How do I arrange to make the remain until I make a change?

    Do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    Clearing "Site Preferences" clears all cookies, images, pop-up windows, software installation, and password exceptions.
    * http://kb.mozillazine.org/Cookies

  • Identifing which session is blocking which session

    Dear All,
    We are having 500 user we don't have Database administrator.
    All of us are Form6i/Report6i developers.
    We do basic DBA activities liking creation of user, taking backup etc.
    Recently we have started facing follwoing problem:
    1) Our HR department uses 5-10 different types of report.
    Other departments uses 1-5 types of reports.
    HR & Other department even though refering to different reports are using some common tables which are used in HR as wel as Other department's report.
    Report of HR gets hanged.
    What we observe in "Enterprise Manager Console" in session that there are non HR user which are also running report.
    The information we see is "Memory Usage","I/O reads","CPU time","Session","User" and so on. We just see who is using maximum memory or CPU time or I/O reads and on basis of that we kill the user (which may be inappropriate)
    What we are enable to understand is at that point of time which user SQL is blocking which user.
    e.g: user "PKP0001" session is inactive and he calls us and tells my report is hanged. We want to identify which user if we kill will allow "PKP0001" user's report to get executed.
    2) User executes there report and get the result on the screen. User gets what he wants but when we see in Enterprise Manager Console" in session even though his task is complete it shows status as inactive with his high "I/O reads","Memory", "CPU" time. so we have to identify and call that user confirm whether he is running any form or report if not then kill his session or ask him to close the application.
    In this case how would we identify without asking the user whether he doing something or not.
    Any mehtod we need to implement in our form6i and report 6i which will take care of that.
    Kindly suggest as soon as possible.
    Thanking You in anticipation.
    Devendra .

    Devendra,
    It is fairly easy to determine which session is blocking another session. Take a look at the SQL statements in this thread (the SQL statements are not well explained, but the output might be understandable):
    enq TX  locked row
    The first, which queries V$SESSION_WAIT and V$SESSION, shows the wait event (on 10g and above, provides a better clue as to the reason session is waiting), the number of seconds waiting, SQL_ADDR and SQL_HASH_VALUE (may be used to find the SQL statement the session submitted), and details potentially describing the object being waited on, the specific absolute data file number, the block number, and the row within the block (DBMS_ROWID.ROWID_CREATE may be used to generate a ROWID to use to query the table in order to determine the actual contents of the row being waited on). The definition of P1, P2, and P3 vary by the type of wait event. In this case, lock mode and lock type for the waiting session may be derived from the P1 value.
    The second, which queries V$LOCK and V$SESSION, shows the two sessions involved in the lock. SID 150, in all cases is blocking SID 143 (as indicated by the BLOCK column). The other columns returned may be used to determine the SQL statements executed by each session (the SQL statement should have retrieved SQL_ADDR also on 10g and above), and the type of locks involved by both sessions.
    Other examples:
    Thorough example of using the information from V$LOCK:
    http://jonathanlewis.wordpress.com/2008/02/06/trouble-shooting-2/
    "How do you find out who is locking a specific row in a table?"
    http://www.jlcomp.demon.co.uk/faq/row_locker.html
    "Enqueue Waits and Locks" by Kyle Hailey:
    http://www.nocoug.org/download/2006-08/unit5_enqueues.ppt
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Session Keeping with ITS

    Hi guys,
    I have a question regarding the session keeping with ITS.
    Let's suggest an Mobile-ITS-Application is running on a mobile device (scanner with touch screen) in a warehouse and is connected via wlan.
    If the scanner lost's it's wlan-connection (out of range of router/repeater) we want that the session of the ITS-Application is kept alive. That means if the user connects again with the network, the ITS-Application should go on.
    Does anybody can help here?
    Best Regards.

    This is the errormessage I receive in the browser: 400 Session timed out - please log in again
    As I wanted to change the parameter icm/server_port_<xx> I came to another problem. I can't change it in RZ11and also not in the SMICM. The fields are not editable.
    Any help on this topic?
    Update
    When I changed the timeouts in the HTTP-Service of the ICM int transaction SMICM my sessions where kept. I just need to change this parameter.
    Edited by: Hendrik Piotter on Feb 3, 2010 9:50 AM

  • Problem of creating session initialisation block

    Hi,
    I'm using OBIEE11.6, I want to new a session initialisation block, and I select Database as the Data Source Type,select the Default initialisation string radio button,but when I select the connection pool, the there is no connection pool in right pane,I have created two connection pools by oracle DB before,
    but now I can't select the connection pool,the Select button is gray and can't click.
    But when I new a repository initialisation block, I can select the connection pool.
    so I don't know why.
    If you know please help me.
    Thank you!

    Thanks MK,
    I have tested that use the connection pool which with some tables it warn me it will impact performance.
    but I use the connection pool which with no tables it also warn me it will impact performance.
    so I don't know how to create Independent connection pool that you mean.

Maybe you are looking for

  • SNP Planned Order Date

    Hi Experts, May I ask for your help. I have a gr processing time of 1 and In-house production of 1 day as well. But whenever I run heuristic, it results in 4 days from start date to availability date. Say April 16 start date and availability date is

  • Dynamic Columns in Workflow Inbox

    Hi, We are seeing some eratic behaviour with regards to the Dynamic Columns assignment in the Layout Variant of SAP INBOX. We have assigned the Dynamic Columns, but altough the Customisation in SWL1 has the assignment they are still not visble in the

  • Pacman - short question about usage

    Hi, while searching the database with "pacman -Ss foobar", is it possible to show which of the resulting package names are already installed? In Debian it's shown via "aptitude search foobar", but I can't find the corresponding option for pacman in i

  • I want to delete my account, please help me!

    I want to delete my account, please help me!

  • How do I obtain a serial number for iWork 09 Trial?

    I am running Mac OS X 10.7.5 on an early-2009 iMac, and I don't want to upgrade to 10.8 or 10.9. I can't run the new version of iWork software, but I still have a copy of iWork '09 Trial which I had saved on a USB Pen. When I try to run it now I am p