How to trace all events for a specific user in Oracle 19c
We have a dbms job that starts every night at 21:45 and last for about two hours to full completion. Often it doesn't complete because of error which seems likely to be a data error. However, it has been a challenge to identify because of the complexity of the software.
we would like to trace the execution to identify the statement that error as well as the data involved in it.
What would be the best approach to have a complete and meaningful view of what happen without using huge amount of space.
Thanks
gio