How to obtain a Statspack report from Oracle |
|
Execute the script "@spcreate" in the install directory Execute "statspack.snap" <perform critical testing> Execute "statspack.snap" Execute "sqlplus perfstat/<password> @spreport.sql" |
How to obtain an AWR report from Oracle |
|
A user must be granted the DBA role Use Enterprise Manager to configure AWR report intervals. AWR is installed by default. The awrrpt.sql SQL script generates an HTML or text report that displays statistics for a range of snapshot IDs Specify the report type:
Would you like an HTML report, or a plain text report? Enter value for report_type: text |