DX Unified Infrastructure Management

  • 1.  Oracle probe query checkpoint

    Posted Apr 24, 2019 09:55 PM

    Hi,

     

    I use oracle probe to monitor my customer oracle DB. My customer told me that he found the running query in their oracle DB like this:

    SELECT  a.serial# as serial, a.sid, a.username, b.type, b.ctime, lmode, a.osuser, c.sql_text 

    FROM v$session a, v$lock b, v$sqlarea c 

    WHERE b.type in ('TM', 'TX', 'UL') 

    and a.sid=b.sid and lmode > 0 

    and ((a.PREV_HASH_VALUE = c.hash_value 

    and a.prev_sql_addr = c.address 

    and a.sql_hash_value = 0) 

    or (c.hash_value=a.sql_hash_value 

    and c.address = a.sql_address));

     

    Does this query is generated by Oracle probe? If yes, what Oracle information are gathered from this query?

     

    Thank you

    Rio



  • 2.  Re: Oracle probe query checkpoint

    Broadcom Employee
    Posted Apr 25, 2019 03:01 PM

    Rio -

     

    That is the query that the oracle probe will make for the user_locks checkpoint.

     

    For a full list of the queries the oracle probe makes for each checkpoint you can check out the following Knowledge Document:

     

     KB000034630 : Oracle Checkpoint Queries



  • 3.  Re: Oracle probe query checkpoint

    Posted Apr 25, 2019 08:58 PM

    Hi Kathryn,

     

    Thank you for the answer.

    Another question, can we customize this query? If yes, how to customize it and is there any limitation for the customization.

     

    Regards

    Rio



  • 4.  Re: Oracle probe query checkpoint

    Broadcom Employee