Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Statspack Report Snapshot ID 1

Status
Not open for further replies.

Thiko

Programmer
Mar 9, 2001
49
GB
When running a statspack report and it prompts you for

1. The beginning snapshot Id
2. The ending snapshot Id

Can you put anything/number in for this?

Or do you get them from somewhere?

I am having problems generating a report by putting any old number in.... Many Thanks!

Thiko!
 
You can't select any number and expect to get a valid report. Statspack is expecting you to enter one of the snapshot ids generated during an execution of the procedure statspack.snap. If you haven't gathered statistics yet, you won't be able to produce a report.

When you run statsrep.sql ,you should get a list of available snapshot ids. Select a beginning and ending id, and an output file, and the report will run.

For further details, please read the documentation in %ORACLE_HOME%\rdbms\admin\statspack.doc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top