audit query errors in stored procedures
I am trying to use datapump transportable tablespaces to recreate my database with a smaller tablespace. I tried running this as 11g, 12c and 19c and I get the same no data found error. There must be something wrong with some of the meta data in the database. I don't yet know what. I am trying to work with Oracle support to solve this, but they haven't yet been able to point me in the right direction.
I was thinking that if I used unified auditing to audit for the no data found error, I might be able to pull out the SQL that is running. I guess I can use log miner as well. But I never really got around to learning how that works. The database is currently 19C and I can recreate the error at will. Can someone give me advice on which audit commands might isolate the select into query that is failing?