07.05.2014 Views

Oracle RAC on RedHat Linux Best Practice guide and ... - OpenMPE

Oracle RAC on RedHat Linux Best Practice guide and ... - OpenMPE

Oracle RAC on RedHat Linux Best Practice guide and ... - OpenMPE

SHOW MORE
SHOW LESS

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

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

Using <str<strong>on</strong>g>Oracle</str<strong>on</strong>g> Statspack<br />

Run the installati<strong>on</strong> script using SQL*Plus from within the<br />

$O<str<strong>on</strong>g>RAC</str<strong>on</strong>g>LE_HOME/rdbms/admin directory or the equivalent <strong>on</strong> your system:<br />

SQL> c<strong>on</strong>nect / as sysdba<br />

SQL> @spcreate<br />

SQL> execute statspack.snap;<br />

or<br />

SQL> execute statspack.snap(i_sessi<strong>on</strong>_id=>32);<br />

run the spreport.sql report while being c<strong>on</strong>nected to the PERFSTAT user to<br />

generate a report.<br />

97

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

Saved successfully!

Ooh no, something went wrong!