Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Andy.

Asked: June 18, 2020 - 7:23 am UTC

Last updated: June 22, 2020 - 3:18 am UTC

Version: Oracle 12

Viewed 1000+ times

You Asked

We have an audit requirement to know about all code changes that go into our production environment. At the moment this done by the rather cumbersome method of taking a copy of the all_source view each day. We then run a PL/SQL package to compare todays all_source with the stored copy from the previous day, looking for inserted, deleted or updated rows of data and then reporting at object_name level. This allows us to catch unplanned changes as well as planned changes in production.
Whilst this works its not good and can take a long time to run, is there a better way of doing this perhaps using triggers or some form of notification?

and Connor said...

Rating

  (1 rating)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Really Helpful

Andy, June 19, 2020 - 7:08 am UTC

Thanks brilliant response just what I need
Connor McDonald
June 22, 2020 - 3:18 am UTC

Glad we could help

More to Explore

Security

All of the vital components for a secure database are covered in the Security guide.