01.09.2016 Views

Beginning Oracle Database 11g Administration From Novice to Professional

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

204<br />

CHAPTER 10 MONITORING<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Listing 10-3. Short Format Alert<br />

<br />

<br />

<br />

<br />

<br />

<br />

It is possible <strong>to</strong> cus<strong>to</strong>mize and extend the alerting capabilities of Enterprise Manager.<br />

If the option is licensed, new types of alerts can be created; for example, an alert<br />

could be generated if a batch job continues running past a defined maintenance window.<br />

Corrective action can be taken au<strong>to</strong>matically if needed; for example, a job that<br />

continues running outside a defined maintenance window can be killed au<strong>to</strong>matically<br />

or an incident record can be created in an incident management system.<br />

Caution The alert log contains informational messages in addition <strong>to</strong> error messages. Even if the database<br />

is being moni<strong>to</strong>red by Enterprise Manager, the database administra<strong>to</strong>r should periodically review the alert log.<br />

Moni<strong>to</strong>ring Changes<br />

The database administra<strong>to</strong>r can moni<strong>to</strong>r changes <strong>to</strong> database objects using the <strong>Oracle</strong><br />

auditing facilities. For example, the and commands<br />

enable auditing of changes <strong>to</strong> tables. The list of audited actions is contained in <br />

. If the database initialization parameter is set <strong>to</strong> ,<br />

<strong>Oracle</strong> also records the SQL statement associated with the action. As illustrated in<br />

Listing 10-4, the information can be found in the view.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!