Skip to Content

ORA-00060 Deadlock while waiting for resource

Hi Experts

We have only 12 hours per day for execute our data loading job in SAP BW. But

Every parallel job for data loading is stop with following error:

ORA-00060 Deadlock while waiting for resource

1st we try 8 parallel jobs with 50K packet size, it stop after 9.5 hours when 80% data load.

2nd we try 6 parallel jobs with 50K packet size, it also stop after 12 hours when 80% data load.

If we reduce parallel jobs then it may be take more then 12 hours which is not allowed by basis.

Our DBA doesn't figure out what is the solution. so what is you advice to rectify this issue??

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Aug 15, 2016 at 03:32 PM

    Hi Imran,

    Please check below SAP Notes and see if solution provided in them helps out your issue:

    1944924 - Deadlock ORA-00060 during parallel loading/activation of BW ODS object



    1946893 - ORA-00060 Deadlock in Cube load




    Thanks,

    Manish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 15, 2016 at 10:45 PM

    You should ask the DBA's to investigate the Oracle alert log and the traces files when this error appears.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 16, 2016 at 02:05 AM

    hi Imran,

    First we need to find out if it is database deadlock or application deadlock. If it is database lock, then we need to adjust initrans, maxtrans.

    If it is application deadlock, needs to involve BW consultant. For the details, please check SAP note 84348.

    Best regards,
    James

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Irman,

      Sorry, I only saw part of the graph.

      In this case, you need to adjust initrans, maxtrans.

      You can use brspace to do this, please see Lars doc:

      Quick help for ORA-60 deadlock in BW systems


      Before changing it, you need to check its current values:

      SELECT partition_name, ini_trans, max_trans FROM

      dba_tab_partitions

      WHERE table_name = '<TABLE NAME>'

      AND table_owner = '<OWNER>';


      Or you can use sqlplus command to adjust them as mentioned in the SAP note 84348 , but afterwards you have to reorganize the table manually to take the new value effect.

      Best regards,
      James

  • author's profile photo Former Member
    Former Member
    Posted on Aug 20, 2016 at 03:05 PM

    Hi Imran,

    Please refer to below note

    1872040 - Handling ORA-00060 error - application deadlock issue


    Thanks,

    Avinash

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.