Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

history of a specific table in oracle

Can we find the history of values, updates, deletes or inserts of a specific table?

I don't have the access to create a stored procedure. Can you please provide me a query in the answer or some other way to find the history?

like image 480
Freakyuser Avatar asked Feb 14 '23 07:02

Freakyuser


1 Answers

Two possibilities come to mind.

1.) If you have auditing enabled, you are all set. But, I'm guessing if that was the case, you wouldn't be asking the question. If you think this request will come up again, you should investigate setting up auditing for future requests.

2.) If auditing isn't set up, there's LogMiner, which allows you to examine the contents of the archived and online redo logs. This is probably your only solution, if you need the details of inserts, updates, deletes to a specific table.

Hope that helps.

like image 141
Mark J. Bobak Avatar answered Feb 17 '23 09:02

Mark J. Bobak