Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Statspack setup for 2nd RAC instance ?...basic Qs
Folks
What additional SETUP is needed to ADD the 2nd instance to STATSPACK?
NOTE - SQL>?/rdbms/admin/spcreate has been Run from the 1st RAC instance.
Running sprepins shows only 1 instance, below
SQL> @?/rdbms/admin/sprepins
Instances in this Statspack schema
DB Id Inst Num DB Name Instance Host
408243075 1 PNBRAC PNBRAC1 spesuns4p-2
Running spreport.sql DIRECTLY from the 2nd instance gives the following Error
SQL> @?/rdbms/admin/spreport
Current Instance
DB Id DB Name Inst Num Instance
408243075 PNBRAC 2 PNBRAC2 Instances in this Statspack schema
DB Id Inst Num DB Name Instance Host
408243075 1 PNBRAC PNBRAC1 spesuns4p-2
Using 408243075 for database Id
Using 2 for instance number
declare
*
ERROR at line 1:
ORA-20200: Database/Instance 408243075/2 does not exist in
STATS$DATABASE_INSTANCE ORA-06512: at line 23
Unable to find this in the Manuals / google search
Thanks indeed
![]() |
![]() |