RE: [EXTERNAL] RE: AQ process waiting on "library cache: mutex X"

From: Noveljic Nenad <nenad.noveljic_at_vontobel.com>
Date: Wed, 14 Jul 2021 14:52:23 +0000
Message-ID: <1aa9e52684714c36b4f332b723b9def7_at_vontobel.com>



Hi Amir,

You could get stacks without the OS access:

Oradebug setorapname (or setorapid or setospid) -you have to connect to AQ process oradebug SHORT_STACK

Do a couple of those to see if they repeat.

By the way, you can replace session_type='BACKGROUND' with "program2 like '%Qnn%'" when you're interested only in AQ processes.

Best regards,

Nenad

From: Hameed, Amir <amir.hameed_at_sleepnumber.com> Sent: Mittwoch, 14. Juli 2021 16:43
To: Noveljic Nenad <nenad.noveljic_at_vontobel.com>; oracle-l_at_freelists.org Subject: RE: [EXTERNAL] RE: AQ process waiting on "library cache: mutex X"

Thank you, Nenad. Please see the output from ASHTOP. The highlighted lines are Qnnn processes.

_at_ashtop session_id,username,sql_id,in_parse,sql_opname,top_level_call_name session_type='BACKGROUND' sysdate-2/24 sysdate

    Total                                                                                                                                                          Distinct Distinct
  Seconds     AAS %This   SESSION_ID USERNAME        SQL_ID        I SQL_OPNAME           TOP_LEVEL_CALL_NAME            FIRST_SEEN          LAST_SEEN           Execs Seen  Tstamps
--------- ------- ------- ---------- --------------- ------------- - -------------------- ------------------------------ ------------------- ------------------- ---------- --------
     7103     1.0   54% |         28 SYS                           N                      VERSION2                       2021-07-14 07:36:23 2021-07-14 09:36:22          1     7103
     5820      .8   44% |        607 SYS                           N                      VERSION2                       2021-07-14 07:36:23 2021-07-14 09:36:22          1     5820
       91      .0    1% |       1066 SYS                           N                      LOGOFF                         2021-07-14 07:36:57 2021-07-14 09:35:56          1       91
       78      .0    1% |        452 SYS                           N                                                     2021-07-14 07:41:21 2021-07-14 09:35:06          1       78
       33      .0    0% |        451 SYS                           N                                                     2021-07-14 07:36:35 2021-07-14 09:35:00          1       33
       28      .0    0% |          1 SYS                           N                                                     2021-07-14 07:41:49 2021-07-14 09:32:59          1       28
       20      .0    0% |        602 SYS                           N                                                     2021-07-14 08:02:00 2021-07-14 09:30:53          1       20
       11      .0    0% |        302 SYS                           N                                                     2021-07-14 07:38:57 2021-07-14 09:28:37          1       11
        6      .0    0% |        157 SYS                           N                      VERSION2                       2021-07-14 07:37:57 2021-07-14 09:35:00          1        6
        5      .0    0% |       1052 SYS                           N                                                     2021-07-14 07:49:10 2021-07-14 09:28:45          1        5
        4      .0    0% |        301 SYS                           N                                                     2021-07-14 07:58:03 2021-07-14 09:26:02          1        4
        2      .0    0% |         21 SYS             bunssq950snhf N INSERT               VERSION2                       2021-07-14 09:00:33 2021-07-14 09:00:34          1        2
        2      .0    0% |        903 SYS                           N                                                     2021-07-14 07:50:09 2021-07-14 08:27:55          1        2
        2      .0    0% |       1053 SYS                           N                      VERSION2                       2021-07-14 08:06:16 2021-07-14 08:42:26          1        2
        1      .0    0% |          7 SYS                           N                      VERSION2                       2021-07-14 07:52:24 2021-07-14 07:52:24          1        1

15 rows selected.

I will try to get pstack of the above two processes. I don't have access to the oracle account, I will have to ask someone to do it for me.

Thank you!



Please consider the environment before printing this e-mail. Bitte denken Sie an die Umwelt, bevor Sie dieses E-Mail drucken.

Important Notice

This message is intended only for the individual named. It may contain confidential or privileged information. If you are not the named addressee you should in particular not disseminate, distribute, modify or copy this e-mail. Please notify the sender immediately by e-mail, if you have received this message by mistake and delete it from your system. Without prejudice to any contractual agreements between you and us which shall prevail in any case, we take it as your authorization to correspond with you by e-mail if you send us messages by e-mail. However, we reserve the right not to execute orders and instructions transmitted by e-mail at any time and without further explanation. E-mail transmission may not be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete. Also processing of incoming e-mails cannot be guaranteed. All liability of Vontobel Holding Ltd. and any of its affiliates (hereinafter collectively referred to as "Vontobel Group") for any damages resulting from e-mail use is excluded. You are advised that urgent and time sensitive messages should not be sent by e-mail and if verification is required please request a printed version. Please note that all e-mail communications to and from the Vontobel Group are subject to electronic storage and review by Vontobel Group. Unless stated to the contrary and without prejudice to any contractual agreements between you and Vontobel Group which shall prevail in any case, e-mail-communication is for informational purposes only and is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. The legal basis for the processing of your personal data is the legitimate interest to develop a commercial relationship with you, as well as your consent to forward you commercial communications. You can exercise, at any time and under the terms established under current regulation, your rights. If you prefer not to receive any further communications, please contact your client relationship manager if you are a client of Vontobel Group or notify the sender. Please note for an exact reference to the affected group entity the corporate e-mail signature. For further information about data privacy at Vontobel Group please consult www.vontobel.com <https://www.vontobel.com>.

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jul 14 2021 - 16:52:23 CEST

Original text of this message