Hello,
DB: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
We have an issue with an INSERT statement that occurs over a database link. Here is what the process does:
- The local table is truncated.
- An insert is done into the local table from a table across a DB Link.
This runs fine normally, but maybe once a month we will get the following errors:
- ORA-08103: object no longer exists
- ORA-02063: preceding line from <DB LINK NAME>
The developer that wrote this code did the classic EXCEPTION WHEN OTHERS error handling so I am missing the full stack trace. The INSERT is straight SQL without any DML Error Logging so I don't have a lot of info other than the SQLERRM.
I haven't been able to reproduce this issue in dev. Any ideas on how to figure out what the issue is? I'm going to clean up the exception handling, anything else I can do to get more information?
Thanks,
--Johnnie