Skip to Main Content
  • Questions
  • Identify the Users who had modified Database Objects

Breadcrumb

May 4th

Question and Answer

Connor McDonald

Thanks for the question, Vish.

Asked: October 10, 2016 - 1:03 pm UTC

Last updated: October 11, 2016 - 9:01 am UTC

Version: 12 C

Viewed 1000+ times

You Asked

Hi Tom,

Please can you help me to identify the easiest method to figure out the users who had modified a Database Object like tables,indexes etc.

I am a new DBA and would be very helpful if you could advice.

Thanks,
Vish

and Connor said...

By default, we dont track it.

You might want to consider the AUDIT command, or

a DDL logging trigger,

https://asktom.oracle.com/pls/apex/f?p=100:11:::NO:RP:P11_QUESTION_ID:9527677800346679012

or you could do

alter system set enable_ddl_logging = true;

(but there are license implications on this last one).

Rating

  (2 ratings)

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

Comments

Question

A reader, October 11, 2016 - 5:27 am UTC

As for the last option is there impact performance ? Mean for instance a monitoring session may have some impact on the oracle system .does the above alter system do ?
Connor McDonald
October 11, 2016 - 9:01 am UTC

Well...if you doing hundreds of ddl's per second, then *logging* them is the least of your problems :-)

Vish Das, October 11, 2016 - 9:20 am UTC

Thank you Tom.

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library