How can i get the SQL ID or SID to trace back Oracle debugging from Copy Data Activity from ADF.

Jaganathan, Naveen 31 Reputation points
2023-01-14T11:22:24.1033333+00:00

Hi Team,

we are facing below error while loading oracle database using copy data activity using Azure Data Factory.

Failure happened on 'Sink' side. ErrorCode=UserErrorOdbcOperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=ERROR [HY000] [Microsoft][ODBC Oracle Wire Protocol driver][Oracle]ORA-00604: error occurred at recursive SQL level 1 ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired Error in parameter 1.,Source=Microsoft.DataTransfer.ClientLibrary.Odbc.OdbcConnector,''Type=Microsoft.DataTransfer.ClientLibrary.Odbc.Exceptions.OdbcException,Message=ERROR [HY000] [Microsoft][ODBC Oracle Wire Protocol driver][Oracle]ORA-00604: error occurred at recursive SQL level 1 ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired Error in parameter 1.,Source=msora28.dll,'

I have tried to connect to Oracle DBA. He is asking for SQL ID or SID or the back end query it will execute to trace back the issue. Please help me on getting this details.

Thanks,

Naveen

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,238 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247 27,791 Reputation points MVP
    2023-01-15T01:48:43.5633333+00:00

    Hi

    Thanks for reaching out to Microsoft Q&A.

    From the error it seems the ADF is unable to fetch connection to the oracle database since there are multiple other processes already running (Resource busy/timeout). You cannot get the SID/ProcessID details from the ADF error.

    Can you check if you are using the correct & existing database and table names? I trying to see why there it waits and times out instead of connecting instantly which should be the case unless there is truly resource contention from the oracle database.

    One way is to try with him to filter out by the loginname(that you are using to connect oracle), I know this might not work all the time because there might not be a unique login for ADF in most cases.

    Please Upvote and Accept as answer if the reply was helpful, this will be helpful to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.