Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

CREATE/ALTER/DROP statements and the alert log

Matthew MorrisDec 31 2014 — edited Dec 31 2014

In the Oracle Administrator's Guide (12c) under "Monitoring Errors with Trace Files and the Alert Log" is the following text:

The alert log is a chronological log of messages and errors, and includes the following items:

- All internal errors (ORA-00600), block corruption errors (ORA-01578), and deadlock errors (ORA-00060) that occur

- Administrative operations, such as CREATE, ALTER, and DROP statements and STARTUP, SHUTDOWN, and ARCHIVELOG statements

- Messages and errors relating to the functions of shared server and dispatcher processes

- Errors occurring during the automatic refresh of a materialized view

- The values of all initialization parameters that had nondefault values at the time the database and instance start

My question is about the second (bolded) bullet point.  I could perhaps be accused of not monitoring my alert log as closely as I should, but I haven't noticed CREATE/ALTER/DROP statements in there.  I went to one of my test instances and created a table. No message was written to the alert log.  I did a logfile switch just to make sure I was looking at the right file.  Yep -- the switch appeared in the log.  I dropped my test table -- again no alert log entry was created.

So my question is whether the above is a documentation error or am I'm missing some piece of the puzzle?

This post has been answered by Frank Kulash on Dec 31 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 28 2015
Added on Dec 31 2014
3 comments
1,978 views