Enable_ddl_logging parameter Parameter

This parameter was introduced by Oracle in Release 11g. It can be a powerfull tool to audit, without audit command, all the ddl language what is used into the database.

Put it on with the next command;

alter system set enable_ddl_logging=true;

For disable it, set the parameter to false;

alter system set enable_ddl_logging=false;

In Oracle 11g it logging the output to the alert.log of the database. In Oracle 12c it change and log the output to a specific file;

$ADR_BASE/diag/rdbms/{DB-name}/{SID}/log/ddl_{SID}.log

HTH – Antonio NAVARRO

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s