|
|
|
Re: Generate statspack report without perfstat account [message #576733 is a reply to message #576728] |
Thu, 07 February 2013 10:25 |
sathik
Messages: 196 Registered: August 2009 Location: INDIA
|
Senior Member |
|
|
I run spreport.sql. I got the below errors.
SQL>select * from v$version;
BANNER
----------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
PL/SQL Release 9.2.0.8.0 - Production
CORE 9.2.0.8.0 Production
TNS for Solaris: Version 9.2.0.8.0 - Production
NLSRTL Version 9.2.0.8.0 - Production
SQL>select * from session_roles;
ROLE
------------------------------
CONNECT
RESOURCE
SELECT_CATALOG_ROLE
HS_ADMIN_ROLE
SQL>@?/rdbms/admin/spreport.sql
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
----------- ------------ -------- ------------
1554290266 QOC 1 qoc
Instances in this Statspack schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
from stats$database_instance
*
ERROR at line 7:
ORA-00942: table or view does not exist
Using 1554290266 for database Id
Using 1 for instance number
, stats$database_instance di
*
ERROR at line 9:
ORA-00942: table or view does not exist
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap:
|
|
|
|
|
|