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.

CHAPTER 16 INSTANCE TUNING 375<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Using the Statspack Report<br />

A Statspack report is generated from two snapshots of the database. These snapshots are<br />

a copy of the contents of the various dynamic performance tables that are continuously<br />

accumulating information about activity in the database. Au<strong>to</strong>matic Workload Reposi<strong>to</strong>ry<br />

(AWR) and Au<strong>to</strong>matic <strong>Database</strong> Diagnostic Moni<strong>to</strong>r (ADDM) were offered as replacements<br />

for Statspack beginning with <strong>Oracle</strong> <strong>Database</strong> 10g and are no longer documented<br />

in the <strong>Oracle</strong> manuals. However, you can use AWR and ADDM only with Enterprise Edition<br />

and only if you have a license for Diagnostics Pack—an extra-cost option available<br />

only with Enterprise Edition. In my experiences, very few organizations have the requisite<br />

licenses. I therefore emphasize the use of Statspack and use it a lot in my own work. Note<br />

that <strong>Oracle</strong> did make several incremental enhancements <strong>to</strong> Statspack in <strong>Oracle</strong> <strong>Database</strong><br />

10g and <strong>11g</strong>, thus further increasing its usefulness and relevance. However, you will have<br />

<strong>to</strong> refer <strong>to</strong> Chapter 21 of <strong>Oracle</strong> <strong>Database</strong> 9i Performance Tuning Guide and Reference for

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

Saved successfully!

Ooh no, something went wrong!