DBMS_SERVER_ALERTS
i found two ways to call set_threshold procedure of dbms_server_alerts
like one is
SQL> execute
2 dbms_server_alert.set_threshold(
3 dbms_server_alert.tablespace_pct_full,
4 dbms_server_alert.operator_ge, 90,
5 dbms_server_alert.operator_ge, 99,
6 1, 1, null,
7 dbms_server_alert.object_type_tablespace,'USERS2');
the null used above is instance name for RAC,,,if its not RAC the do we have to provide our instance name or will it take automatically the current instance name if no value is provided.
the other one is
EXEC DBMS_SERVER_ALERTS.SET_THRESHOLD(
METRICS_ID => CPU_TIME_PER_CALL,
WARNING_OPERATOR => OPERATOR_GT,
WARNING_VALUE => ‘15000’,
CRITICAL_OPERATOR => OPERATOR_GT,
CRITICAL_VALUE => ‘30000’, OBSERVATION_PERIOD => 10,
CONSECUTIVE_OCCURRENCES => 3);
is this just two different methods to call a procedure or they are for different purpose
well my other question is how do we found out the value for metrics_id like,,, now i only know two values that i can use in this parameter(CPU_TIME_PER_CALL and tablespace_pct_ful),,,what else i can use here ,,,,,is there any dictionary/dynamic view to find out what else values i can use here
Read the documentation...
DBMS_SERVER_ALERT
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_salt.htm#i1005585
Supported metrics:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_salt.htm#i1007642
Similar Messages
-
DBMS_SERVER_ALERT
Hello -
I have set up the following tablespace alert in 10g:
SQL> l
1 begin
2 dbms_server_alert.set_threshold(
3 dbms_server_alert.tablespace_pct_full,
4 dbms_server_alert.operator_ge,80,
5 dbms_server_alert.operator_ge, 95,1,1,NULL,
6 dbms_server_alert.object_type_tablespace,'EAI_DATA');
7* end;
SQL> /
How do I setup so I can receive an email notification when the 80% threshold is reached? I dod not have EM, so I will have to do this using the pl/sql packages.
Thanks in advance!
MikeAnand... wrote:
Hi..
You can refer to
link: [http://www.oracleutilities.com/Packages/utl_smtp.html]
[http://www.dba-oracle.com/t_utl_smtp_utility.htm]
Anand,
In 10g, utl_smtp is replaced by utl_mail which is more better as compared to later one.
Aman.... -
How to Unset Alert Thresholds Set via DBMS_SERVER_ALERT.SET_THRESHOLD
Hi Folks,
Can some one suggest the working steps to un set the DBMS_SERVER_ALERT
Regards790072 wrote:
Thanks for the quick reply ..
I am just not sure of the values set for the parameters ,
how can i look at the values set for the DBMS_SERVER_ALERT.SET_THRESHOLD
so that i can revert back after i unset with NULL values .
any suggestion is highly apprciated .
Regards
GET_THRESHOLD Procedure
This procedure gets the current threshold settings for the specified metric.
Syntax
DBMS_SERVER_ALERT.GET_THRESHOLD(
metrics_id IN BINARY_INTEGER,
warning_operator OUT BINARY_INTEGER,
warning_value OUT VARCHAR2,
critical_operator OUT BINARY_INTEGER,
critical_value OUT VARCHAR2,
observation_period OUT BINARY_INTEGER,
consecutive_occurrences OUT BINARY_INTEGER,
instance_name IN VARCHAR2,
object_type IN BINARY_INTEGER,
object_name IN VARCHAR2);
Parameters
Table 129-6 GET_THRESHOLD Procedure Parameters
Parameter Description
metrics_id
The internal name of the metric. See "Supported Metrics".
warning_operator
The operator for the compa3ring the actual value with the warning threshold.
warning_value
The warning threshold value.
critical_operator
The operator for the comparing the actual value with the critical threshold.
critical_value
The critical threshold value.
observation_period
The period at which the metric values are computed and verified against the threshold setting.
consecutive_occurrences
The number of observation periods the metric value should violate the threshold value before the alert is issued.
instance_name
The name of the instance for which the threshold is set. This is NULL for database-wide alerts. In cases in which this parameter is not NULL, this should be set to one of the INSTANCE_NAME values found in the GV$INSTANCE View.
object_type
Either OBJECT_TYPE_SYSTEM or OBJECT_TYPE_SERVICE.
object_name
The name of the object.
Usage Notes
Note that this subprogram does not check if the value of the instance_name parameter is meaningful or valid. -
i export the full database as a dump file in one location after that i tried to import to another database.
my doubt is if i import the database ....the existing database is having datadictionary ,v$views etc..
so wont it clash with the existing systemtables
When i import my database i got the followin error
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by SYSTEM, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','SYS',TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','DBA',TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','IMP_FULL_DATABASE',FALS"
"E);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','AQ_ADMINISTRATOR_ROLE',"
"TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('MANAGE_ANY','OEM_MONITOR',FALSE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('DEQUEUE_ANY','SYS',TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('DEQUEUE_ANY','DBA',TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('DEQUEUE_ANY','AQ_ADMINISTRATOR_ROLE'"
",TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('ENQUEUE_ANY','SYS',TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('ENQUEUE_ANY','DBA',TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE('ENQUEUE_ANY','AQ_ADMINISTRATOR_ROLE'"
",TRUE);"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
ORA-06512: at "SYS.DBMS_AQADM", line 480
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "REPCAT$_OBJECT_NULL_VECTOR" TIMESTAMP '2005-08-30:14:05:35' OI"
"D '296EAC6057114D26B123A36D2679C516' AS OBJECT"
" -- type owner, name, hashcode for the type represented by null_vector"
" type_owner VARCHAR2(30),"
" type_name VARCHAR2(30),"
" type_hashcode RAW(17),"
" -- null_vector for a particular object instance"
" -- ROBJ REVISIT: should only contain the null image, and not version#"
" null_vector RAW(2000)"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"sys.dbms_logrep_imp.instantiate_schema(schema_name=>NULL, export_db_name=>'"
"ORCLBK.REGRESS.RDBMS.DEV.US.ORACLE.COM', inst_scn=>'820250');sys.dbms_logre"
"p_imp.bump_scn(scn=>'820250');"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_LOGREP_UTIL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_LOGREP_UTIL"
ORA-06512: at "SYS.DBMS_LOGREP_IMP", line 274
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_REPCAT_MIG.PRE_IMPORT;"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_REPCAT_MIG_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_REPCAT_MIG_INTERNAL"
ORA-06512: at "SYS.DBMS_REPCAT_MIG", line 116
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(2104,dbms_server_alert.operator_GT,'1200',d"
"bms_server_alert.operator_NONE,'',1,3,'orclbk',dbms_server_alert.object_typ"
"e_SYSTEM,'');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 93:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(2018,dbms_server_alert.operator_GE,'100',db"
"ms_server_alert.operator_NONE,'',1,2,'orclbk',dbms_server_alert.object_type"
"_SYSTEM,'');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 92:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Administrative');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Application');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Concurrency');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Configuration');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Network');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'10',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Other');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Cluster');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1000,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Commit');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Administrative');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Application');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Concurrency');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Configuration');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Network');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'30',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Other');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'50',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Cluster');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN "
"dbms_server_alert.set_threshold(1001,dbms_server_alert.operator_GT,'50',dbm"
"s_server_alert.operator_NONE,'',1,1,'orclbk',dbms_server_alert.object_type_"
"EVENT_CLASS,'Commit');"
"COMMIT; END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 2, column 91:
PLS-00302: component 'OPERATOR_NONE' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
IMP-00017: following statement failed with ORACLE error 29371:
"BEGIN "
"dbms_resource_manager.set_consumer_group_mapping_pri(1,7,6,9,8,10,5,4,3,2);"
"dbms_resource_manager.set_consumer_group_mapping('ORACLE_USER','SYSTEM','SY"
"S_GROUP');"
"dbms_resource_manager.set_consumer_group_mapping('ORACLE_USER','SYS','SYS_G"
"ROUP');"
"dbms_resource_manager.submit_pending_area;"
"COMMIT; END;"
IMP-00003: ORACLE error 29371 encountered
ORA-29371: pending area is not active
ORA-06512: at "SYS.DBMS_RMIN", line 332
ORA-06512: at "SYS.DBMS_RESOURCE_MANAGER", line 413
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"sys.dbms_logrep_imp.instantiate_schema(schema_name=>SYS_CONTEXT('USERENV','"
"CURRENT_SCHEMA'), export_db_name=>'ORCLBK.REGRESS.RDBMS.DEV.US.ORACLE.COM',"
" inst_scn=>'820288');"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_LOGREP_UTIL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_LOGREP_UTIL"
ORA-06512: at "SYS.DBMS_LOGREP_IMP", line 274
ORA-06512: at line 2
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
"DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 1, column 9:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 9:
PL/SQL: Statement ignored
. . importing table "DEF$_AQCALL" 0 rows imported
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
"DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 1, column 9:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 9:
PL/SQL: Statement ignored
. . importing table "DEF$_AQERROR" 0 rows imported
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
"DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 1, column 9:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 9:
PL/SQL: Statement ignored
. . importing table "DEF$_CALLDEST" 0 rows imported
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
"DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 1, column 9:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 9:
PL/SQL: Statement ignored
. . importing table "DEF$_DEFAULTDEST" 0 rows imported
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
"DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 1, column 9:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 9:
PL/SQL: Statement ignored
. . importing table "DEF$_DESTINATION" 0 rows imported
IMP-00017: following statement failed with ORACLE error 6550:
"BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCLBK.REGRESS.R"
"DBMS.DEV.US.ORACLE.COM','IBMPC/WIN_NT-8.1.0'); END;"
IMP-00003: ORACLE error 6550 encountered
ORA-06550: line 1, column 9:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 1, column 9:
PL/SQL: Statement ignored
. . importing table "DEF$_ERROR" 0 rows imported
. . importing table "DEF$_LOB" 0 rows imported
. . importing table "DEF$_ORIGIN" 0 rows imported
. . importing table "DEF$_PROPAGATOR" 0 rows imported
. . importing table "DEF$_PUSHED_TRANSACTIONS" 0 rows imported
. . importing table "DEF$_TEMP$LOB" 0 rows imported
. . importing table "DEPT" 0 rows imported
. . importing table "DEPT1" 0 rows imported
. . importing table "EMP" 0 rows imported
. . importing table "EMP1" 0 rows imported
. . importing table "LOGSTDBY$APPLY_MILESTONE" 0 rows imported
. . importing partition "LOGSTDBY$APPLY_PROGRESS":"P0" 0 rows imported
. . importing table "LOGSTDBY$EVENTS" 0 rows imported
. . importing table "LOGSTDBY$HISTORY" 0 rows imported
. . importing table "LOGSTDBY$PARAMETERS" 0 rows imported
. . importing table "LOGSTDBY$PLSQL" 0 rows imported
. . importing table "LOGSTDBY$SCN" 0 rows imported
. . importing table "LOGSTDBY$SKIP" 0 rows imported
. . importing table "LOGSTDBY$SKIP_TRANSACTION" 0 rows imported
. . importing table "MVIEW$_ADV_INDEX" 0 rows imported
. . importing table "MVIEW$_ADV_PARTITION" 0 rows imported
. . importing table "REPCAT$_AUDIT_ATTRIBUTE" 2 rows imported
. . importing table "REPCAT$_AUDIT_COLUMN" 0 rows imported
. . importing table "REPCAT$_COLUMN_GROUP" 0 rows imported
. . importing table "REPCAT$_CONFLICT" 0 rows imported
. . importing table "REPCAT$_DDL" 0 rows imported
. . importing table "REPCAT$_EXCEPTIONS" 0 rows imported
. . importing table "REPCAT$_EXTENSION" 0 rows imported
. . importing table "REPCAT$_FLAVORS" 0 rows imported
. . importing table "REPCAT$_FLAVOR_OBJECTS" 0 rows imported
. . importing table "REPCAT$_GENERATED" 0 rows imported
. . importing table "REPCAT$_GROUPED_COLUMN" 0 rows imported
. . importing table "REPCAT$_INSTANTIATION_DDL" 0 rows imported
. . importing table "REPCAT$_KEY_COLUMNS" 0 rows imported
. . importing table "REPCAT$_OBJECT_PARMS" 0 rows imported
. . importing table "REPCAT$_OBJECT_TYPES" 28 rows imported
. . importing table "REPCAT$_PARAMETER_COLUMN" 0 rows imported
. . importing table "REPCAT$_PRIORITY" 0 rows imported
. . importing table "REPCAT$_PRIORITY_GROUP" 0 rows imported
. . importing table "REPCAT$_REFRESH_TEMPLATES" 0 rows imported
. . importing table "REPCAT$_REPCAT" 0 rows imported
. . importing table "REPCAT$_REPCATLOG" 0 rows imported
. . importing table "REPCAT$_REPCOLUMN" 0 rows imported
. . importing table "REPCAT$_REPGROUP_PRIVS" 0 rows imported
. . importing table "REPCAT$_REPOBJECT" 0 rows imported
. . importing table "REPCAT$_REPPROP" 0 rows imported
. . importing table "REPCAT$_REPSCHEMA" 0 rows imported
. . importing table "REPCAT$_RESOLUTION" 0 rows imported
. . importing table "REPCAT$_RESOLUTION_METHOD" 19 rows imported
. . importing table "REPCAT$_RESOLUTION_STATISTICS" 0 rows imported
. . importing table "REPCAT$_RESOL_STATS_CONTROL" 0 rows imported
. . importing table "REPCAT$_RUNTIME_PARMS" 0 rows imported
. . importing table "REPCAT$_SITES_NEW" 0 rows imported
. . importing table "REPCAT$_SITE_OBJECTS" 0 rows imported
. . importing table "REPCAT$_SNAPGROUP" 0 rows imported
. . importing table "REPCAT$_TEMPLATE_OBJECTS" 0 rows imported
. . importing table "REPCAT$_TEMPLATE_PARMS" 0 rows imported
. . importing table "REPCAT$_TEMPLATE_REFGROUPS" 0 rows imported
. . importing table "REPCAT$_TEMPLATE_SITES" 0 rows imported
. . importing table "REPCAT$_TEMPLATE_STATUS" 3 rows imported
. . importing table "REPCAT$_TEMPLATE_TARGETS" 0 rows imported
. . importing table "REPCAT$_TEMPLATE_TYPES" 2 rows imported
. . importing table "REPCAT$_USER_AUTHORIZATIONS" 0 rows imported
. . importing table "REPCAT$_USER_PARM_VALUES" 0 rows imported
. . importing table "SQLPLUS_PRODUCT_PROFILE" 0 rows imported
IMP-00041: Warning: object created with compilation warnings
"CREATE FORCE VIEW "ORCLBKP2"."MVIEW_EVALUATIONS" ("R"
"UNID","MVIEW_OWNER","MVIEW_NAME","RANK","STORAGE_IN_BYTES","FREQUENCY","CUM"
"ULATIVE_BENEFIT","BENEFIT_TO_COST_RATIO") AS "
"select"
" t1.runid# as runid,"
" summary_owner AS mview_owner,"
" summary_name AS mview_name,"
" rank# as rank,"
" storage_in_bytes,"
" frequency,"
" cumulative_benefit,"
" benefit_to_cost_ratio"
"from SYSTEM.MVIEW$_ADV_OUTPUT t1, SYSTEM.MVIEW$_ADV_LOG t2, ALL_USERS u"
"where"
" t1.runid# = t2.runid# and"
" u.username = t2.uname and"
" u.user_id = userenv('SCHEMAID') and"
" t1.output_type = 1"
"order by t1.rank#"
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN SYS.DBMS_AQ_IMPORT_INTERNAL.AQ_TABLE_DEFN_UPDATE('SYSTEM','DEF$_AQC"
"ALL',2,16384,2,0,0,'', '-07:00'); END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
ORA-06512: at line 1
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
ORA-06512: at line 1
ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
ORA-06512: at line 1
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN SYS.DBMS_AQ_IMPORT_INTERNAL.AQ_TABLE_DEFN_UPDATE('SYSTEM','DEF$_AQE"
"RROR',2,16384,2,0,0,'', '-07:00'); END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
ORA-06512: at line 1
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN SYS.DBMS_AQ_IMPORT_INTERNAL.AQ_DEFN_UPDATE(HEXTORAW('388C27256DB141"
"49A4087915FDBE8A95'),'SYSTEM','DEF$_AQERROR','DEF$_AQERROR',0,5,0,1,0,'Erro"
"r Queue for Deferred RPCs'); END;"
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN SYS.DBMS_AQ_IMPORT_INTERNAL.AQ_DEFN_UPDATE(HEXTORAW('E5BCDC95348B40"
"C68F1295D72049BBAA'),'SYSTEM','DEF$_AQERROR','AQ$_DEF$_AQERROR_E',1,0,0,0,0"
",'exception queue'); END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_IMPORT_INTERNAL"
ORA-06512: at line 1
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN SYS.DBMS_REPCAT.REPCAT_IMPORT_REPSCHEMA; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_REPCAT" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_REPCAT"
ORA-06512: at line 1
IMP-00017: following statement failed with ORACLE error 4063:
"BEGIN "
"SYS.DBMS_AQ_IMP_INTERNAL.CLEANUP_SCHEMA_IMPORT;"
"COMMIT; END;"
IMP-00003: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_AQ_SYS_IMP_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQ_SYS_IMP_INTERNAL"
ORA-06512: at "SYS.DBMS_AQ_IMP_INTERNAL", line 191
ORA-06512: at line 2
Import terminated successfully with warnings.Hello,
Do not drop "SYSTEM" or import anything in system.
What you need to do it, make sure your "targetschemaname" exists, if you are looking to import everyting then you should using RMAN.
What was you export command ?
exp system/password owner=sourceschemaname file=orclexp.dmp log=orclexp.log
imp system/password fromuser=sourceschemaname touser=targetschemaname file=orclexp.dmp log=orclimplog.log ignore=y Regards -
EXPDP Error in Oracle 11.2.0.1.0
Hello Team,
I have a problem in executing expdp/impdp in oracle version 11.2.0.1.0. Following is the error output. Traditional exp/imp is working fine.
Note: command executed on Oracle Linux on VMware
[oracle1@rac1 test]$ expdp
Export: Release 11.2.0.1.0 - Production on Mon Aug 12 15:29:39 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Username: system
Password:
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31626: job does not exist
ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_INTERNAL_LOGSTDBY"
ORA-06512: at "SYS.KUPV$FT", line 991
ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_INTERNAL_LOGSTDBY"
Regards,Hello DK2010,
=======================================================================================================
SQL> set lines 100
SQL> set pagesize 200
SQL> /
OWNER OBJECT_TYPE
OBJECT_NAME
OBJECT_ID STATUS
SYS PACKAGE
DBMS_INTERNAL_LOGSTDBY
5067 VALID
SYS PACKAGE BODY
DBMS_INTERNAL_LOGSTDBY
10780 INVALID
===================================================================================================
UTLRP.SQL output:
====================================================================================================
SQL> @utlrp.sql
TIMESTAMP
COMP_TIMESTAMP UTLRP_BGN 2013-08-12 16:03:24
DOC> The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC> objects in the database. Recompilation time is proportional to the
DOC> number of invalid objects in the database, so this command may take
DOC> a long time to execute on a database with a large number of invalid
DOC> objects.
DOC>
DOC> Use the following queries to track recompilation progress:
DOC>
DOC> 1. Query returning the number of invalid objects remaining. This
DOC> number should decrease with time.
DOC> SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
DOC>
DOC> 2. Query returning the number of objects compiled so far. This number
DOC> should increase with time.
DOC> SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
DOC>
DOC> This script automatically chooses serial or parallel recompilation
DOC> based on the number of CPUs available (parameter cpu_count) multiplied
DOC> by the number of threads per CPU (parameter parallel_threads_per_cpu).
DOC> On RAC, this number is added across all RAC nodes.
DOC>
DOC> UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
DOC> recompilation. Jobs are created without instance affinity so that they
DOC> can migrate across RAC nodes. Use the following queries to verify
DOC> whether UTL_RECOMP jobs are being created and run correctly:
DOC>
DOC> 1. Query showing jobs created by UTL_RECOMP
DOC> SELECT job_name FROM dba_scheduler_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
DOC> 2. Query showing UTL_RECOMP jobs that are running
DOC> SELECT job_name FROM dba_scheduler_running_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#
DECLARE
ERROR at line 1:
ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_INTERNAL_LOGSTDBY"
ORA-06512: at "SYS.UTL_RECOMP", line 781
ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_INTERNAL_LOGSTDBY"
ORA-06512: at line 4
TIMESTAMP
COMP_TIMESTAMP UTLRP_END 2013-08-12 16:03:25
DOC> The following query reports the number of objects that have compiled
DOC> with errors (objects that compile with errors have status set to 3 in
DOC> obj$). If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
OBJECTS WITH ERRORS
13
DOC> The following query reports the number of errors caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC>#
ERRORS DURING RECOMPILATION
0
PL/SQL procedure successfully completed.
SQL> SELECT owner, object_type, object_name, object_id, status FROM SYS.dba_objects where object_name = 'DBMS_INTERNAL_LOGSTDBY';
OWNER OBJECT_TYPE
OBJECT_NAME
OBJECT_ID STATUS
SYS PACKAGE
DBMS_INTERNAL_LOGSTDBY
5067 VALID
SYS PACKAGE BODY
DBMS_INTERNAL_LOGSTDBY
10780 INVALID
==================================================
SELECT owner,object_type,object_name,status FROM dba_objects WHERE status = 'INVALID' ORDER BY owner, object_type, object_name;SQL> SQL>
OWNER OBJECT_TYPE OBJECT_NAME STATUS
DBSNMP PACKAGE BSLN INVALID
DBSNMP PACKAGE BSLN_INTERNAL INVALID
DBSNMP PACKAGE BODY BSLN INVALID
DBSNMP PACKAGE BODY BSLN_INTERNAL INVALID
DBSNMP SYNONYM MGMT_BSLN INVALID
PUBLIC SYNONYM DBA_LOGSTDBY_LOG INVALID
PUBLIC SYNONYM DBMS_ADVISOR INVALID
PUBLIC SYNONYM DBMS_SQLPA INVALID
PUBLIC SYNONYM DBMS_SQLTUNE INVALID
SYS FUNCTION LOGSTDBY$TABF INVALID
SYS FUNCTION LOGSTDBY$UTABF INVALID
SYS PACKAGE DBMS_ADVISOR INVALID
SYS PACKAGE DBMS_SQLDIAG_INTERNAL INVALID
SYS PACKAGE DBMS_SQLPA INVALID
SYS PACKAGE DBMS_SQLTUNE INVALID
SYS PACKAGE DBMS_SQLTUNE_INTERNAL INVALID
SYS PACKAGE PRVT_ADVISOR INVALID
SYS PACKAGE BODY AS_REPLAY INVALID
SYS PACKAGE BODY DBMS_ADDM INVALID
SYS PACKAGE BODY DBMS_ADVISOR INVALID
SYS PACKAGE BODY DBMS_APPLY_ERROR INVALID
SYS PACKAGE BODY DBMS_ARCH_PROVIDER_INTL INVALID
SYS PACKAGE BODY DBMS_ASH_INTERNAL INVALID
SYS PACKAGE BODY DBMS_AUTOTASK_PRVT INVALID
SYS PACKAGE BODY DBMS_AUTO_TASK_EXPORT INVALID
SYS PACKAGE BODY DBMS_CAPTURE_SWITCH_ADM INVALID
SYS PACKAGE BODY DBMS_CAPTURE_SWITCH_INTERNAL INVALID
SYS PACKAGE BODY DBMS_COMPRESSION INVALID
SYS PACKAGE BODY DBMS_DBFS_CONTENT_ADMIN INVALID
SYS PACKAGE BODY DBMS_DBFS_HS INVALID
SYS PACKAGE BODY DBMS_FEATURE_USAGE INVALID
SYS PACKAGE BODY DBMS_FEATURE_USAGE_INTERNAL INVALID
SYS PACKAGE BODY DBMS_INTERNAL_LOGSTDBY INVALID
SYS PACKAGE BODY DBMS_ISCHED INVALID
SYS PACKAGE BODY DBMS_LOGREP_EXP INVALID
SYS PACKAGE BODY DBMS_LOGSTDBY INVALID
SYS PACKAGE BODY DBMS_MANAGEMENT_PACKS INVALID
SYS PACKAGE BODY DBMS_PROPAGATION_INTERNAL INVALID
SYS PACKAGE BODY DBMS_REPORT INVALID
SYS PACKAGE BODY DBMS_SERVER_ALERT INVALID
SYS PACKAGE BODY DBMS_SERVER_ALERT_PRVT INVALID
SYS PACKAGE BODY DBMS_SMB INVALID
SYS PACKAGE BODY DBMS_SMB_INTERNAL INVALID
SYS PACKAGE BODY DBMS_SPACE INVALID
SYS PACKAGE BODY DBMS_SPM INVALID
SYS PACKAGE BODY DBMS_SPM_INTERNAL INVALID
SYS PACKAGE BODY DBMS_SQLDIAG INVALID
SYS PACKAGE BODY DBMS_SQLDIAG_INTERNAL INVALID
SYS PACKAGE BODY DBMS_SQLPA INVALID
SYS PACKAGE BODY DBMS_SQLTCB_INTERNAL INVALID
SYS PACKAGE BODY DBMS_SQLTUNE INVALID
SYS PACKAGE BODY DBMS_SQLTUNE_INTERNAL INVALID
SYS PACKAGE BODY DBMS_SQLTUNE_UTIL1 INVALID
SYS PACKAGE BODY DBMS_SQLTUNE_UTIL2 INVALID
SYS PACKAGE BODY DBMS_STATS INVALID
SYS PACKAGE BODY DBMS_STATS_INTERNAL INVALID
SYS PACKAGE BODY DBMS_STREAMS_ADM INVALID
SYS PACKAGE BODY DBMS_STREAMS_ADM_UTL INVALID
SYS PACKAGE BODY DBMS_STREAMS_AUTO_INT INVALID
SYS PACKAGE BODY DBMS_STREAMS_SM INVALID
SYS PACKAGE BODY DBMS_SWRF_INTERNAL INVALID
SYS PACKAGE BODY DBMS_SWRF_REPORT_INTERNAL INVALID
SYS PACKAGE BODY DBMS_UNDO_ADV INVALID
SYS PACKAGE BODY DBMS_WORKLOAD_CAPTURE INVALID
SYS PACKAGE BODY DBMS_WORKLOAD_REPLAY INVALID
SYS PACKAGE BODY DBMS_WORKLOAD_REPOSITORY INVALID
SYS PACKAGE BODY DBMS_WRR_INTERNAL INVALID
SYS PACKAGE BODY DBMS_XPLAN INVALID
SYS PACKAGE BODY HM_SQLTK_INTERNAL INVALID
SYS PACKAGE BODY LOGMNR_DICT_CACHE INVALID
SYS PACKAGE BODY PRVT_ACCESS_ADVISOR INVALID
SYS PACKAGE BODY PRVT_ADVISOR INVALID
SYS PACKAGE BODY PRVT_COMPRESSION INVALID
SYS PACKAGE BODY PRVT_HDM INVALID
SYS PACKAGE BODY PRVT_PARTREC_NOPRIV INVALID
SYS PACKAGE BODY PRVT_REPORT_TAGS INVALID
SYS PACKAGE BODY PRVT_SQLADV_INFRA INVALID
SYS PACKAGE BODY PRVT_SQLPA INVALID
SYS PACKAGE BODY PRVT_SQLPROF_INFRA INVALID
SYS PACKAGE BODY PRVT_SQLSET_INFRA INVALID
SYS PACKAGE BODY PRVT_SYS_TUNE_MVIEW INVALID
SYS PACKAGE BODY PRVT_TUNE_MVIEW INVALID
SYS PACKAGE BODY PRVT_WORKLOAD INVALID
SYS PACKAGE BODY PRVT_WORKLOAD_NOPRIV INVALID
SYS PROCEDURE DBMS_FEATURE_AUM INVALID
SYS PROCEDURE DBMS_FEATURE_AUTOSTA INVALID
SYS PROCEDURE DBMS_FEATURE_AWR INVALID
SYS PROCEDURE DBMS_FEATURE_REGISTER_ALLFEAT INVALID
SYS PROCEDURE DBMS_FEATURE_SEGADV_USER INVALID
SYS PROCEDURE DBMS_FEATURE_UTILITIES1 INVALID
SYS PROCEDURE DBMS_FEATURE_UTILITIES2 INVALID
SYS PROCEDURE DBMS_FEATURE_UTILITIES3 INVALID
SYS PROCEDURE DBMS_FEATURE_UTILITIES4 INVALID
SYS PROCEDURE DBMS_FEATURE_WCR_CAPTURE INVALID
SYS PROCEDURE DBMS_FEATURE_WCR_REPLAY INVALID
SYS PROCEDURE LOGMNR_KRVRDA_TEST_APPLY INVALID
SYS TYPE SCHEDULER$_REMOTE_ARG INVALID
SYS TYPE SCHEDULER$_REMOTE_ARG_LIST INVALID
SYS TYPE SCHEDULER$_REMOTE_DB_JOB_INFO INVALID
SYS TYPE BODY WRI$_ADV_ABSTRACT_T INVALID
SYS TYPE BODY WRI$_ADV_COMPRESSION_T INVALID
SYS TYPE BODY WRI$_ADV_HDM_T INVALID
SYS TYPE BODY WRI$_ADV_OBJSPACE_TREND_T INVALID
SYS TYPE BODY WRI$_ADV_SQLACCESS_ADV INVALID
SYS TYPE BODY WRI$_ADV_SQLTUNE INVALID
SYS TYPE BODY WRI$_ADV_TUNEMVIEW_ADV INVALID
SYS TYPE BODY WRI$_REPT_PLAN_DIFF INVALID
SYS TYPE BODY WRI$_REPT_SQLMONITOR INVALID
SYS TYPE BODY WRI$_REPT_SQLPI INVALID
SYS TYPE BODY WRI$_REPT_SQLT INVALID
SYS VIEW AQ$AQ_PROP_TABLE_R INVALID
SYS VIEW AQ$SCHEDULER$_EVENT_QTAB_R INVALID
SYS VIEW AQ$SCHEDULER$_REMDB_JOBQTAB INVALID
SYS VIEW AQ$SCHEDULER$_REMDB_JOBQTAB_R INVALID
SYS VIEW AQ$SCHEDULER_FILEWATCHER_QT_R INVALID
SYS VIEW AQ$_AQ$_MEM_MC_F INVALID
SYS VIEW AQ$_AQ_PROP_TABLE_F INVALID
SYS VIEW AQ$_SCHEDULER$_EVENT_QTAB_F INVALID
SYS VIEW AQ$_SCHEDULER$_REMDB_JOBQTAB_F INVALID
SYS VIEW AQ$_SCHEDULER_FILEWATCHER_QT_F INVALID
SYS VIEW DBA_LOGSTDBY_LOG INVALID
121 rows selected.
=================================================================================================================
How do i fix this invalid sys objects.
Regards, -
Hi
Win2003 EEx64 10gR2 (RAC)
On RAC1 every think works fine but on rac2.....
D:\oracle\product\db\BIN>emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
http://rac1:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsoleKA
LOBR2 service is starting..............
The OracleDBConsoleKALOBR2 service was started successfully.
emagent.trc
2008-08-22 13:59:18 Thread-5592 WARN command: Job Subsystem Timeout set at 600 seconds
2008-08-22 13:59:18 Thread-5592 WARN upload: Upload manager has no Failure script: disabled
2008-08-22 13:59:18 Thread-5592 WARN upload: Recovering left over xml files in upload directory
2008-08-22 13:59:18 Thread-5592 WARN upload: Recovered 0 left over xml files in upload directory
2008-08-22 13:59:18 Thread-5592 WARN upload: Merging leftover data file named mgmt_ha_mttr.dat
2008-08-22 13:59:18 Thread-5592 WARN upload: Merging leftover data file named rawdata.dat
2008-08-22 13:59:18 Thread-5592 WARN metadata: Metric collectSnapshot does not have any data columns
2008-08-22 13:59:18 Thread-5592 WARN metadata: Metric Disk_Path does not have any data columns
2008-08-22 13:59:18 Thread-5592 WARN metadata: Metric osm_diskGroupPolicies does not have any data columns
2008-08-22 13:59:25 Thread-1528 WARN TargetManager: Query returned 0 rows (only one expected) for the dynamic property DGPrimaryDBName
2008-08-22 13:59:25 Thread-1528 WARN TargetManager: The execution of the query for DGPrimaryDBName in {KALOBR, rac_database} is missing the following required property values : DGPrimaryDBName
2008-08-22 13:59:28 Thread-5344 ERROR upload: Error in uploadXMLFiles. Trying again in 60,00 seconds.
2008-08-22 13:59:39 Thread-5500 WARN vpxoci: OCI Error -- ErrorCode(13900): ORA-13900: niepoprawny lub brakujący parametr warning value
ORA-06512: przy "SYS.DBMS_SERVER_ALERT", linia 4
ORA-06512: przy linia 1
SQL = "/* OracleOEM */ BEGIN dbms_server_alert.set_threshold(:metrics_id, "...
LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac2-vip)(PORT=1521))(CONNECT_DATA=(SID=KALOBR2)))
2008-08-22 13:59:39 Thread-5500 ERROR recvlets.aq: Error setting threshold of rac_global_cache.cr_request_cs: ORA-13900: niepoprawny lub brakujący parametr warning value
ORA-06512: przy "SYS.DBMS_SERVER_ALERT", linia 4
ORA-06512: przy linia 1
2008-08-22 13:59:39 Thread-5500 WARN vpxoci: OCI Error -- ErrorCode(13900): ORA-13900: niepoprawny lub brakujący parametr warning value
ORA-06512: przy "SYS.DBMS_SERVER_ALERT", linia 4
ORA-06512: przy linia 1
SQL = "/* OracleOEM */ BEGIN dbms_server_alert.set_threshold(:metrics_id, "...
LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac2-vip)(PORT=1521))(CONNECT_DATA=(SID=KALOBR2)))
2008-08-22 13:59:39 Thread-5500 ERROR recvlets.aq: Error setting threshold of rac_global_cache.currentgets_cs: ORA-13900: niepoprawny lub brakujący parametr warning value
ORA-06512: przy "SYS.DBMS_SERVER_ALERT", linia 4
ORA-06512: przy linia 1
On homepage instance2 (KALOBR2) I see
Database Instance
Status Open
Host rac2-vip
Port 1521
SID KALOBR2
Oracle Home D:\oracle\product\db
Details The instance is open.
Listener
Status Up
Host rac2-vip
Port 1521
Name LISTENER_RAC2
Oracle Home D:\oracle\product\db
Location D:\oracle\product\db\network\admin
Agent Connection to Instance
Status
Unavailable
Details
General
Status Up
Up Since 2008-07-07 08:39:39 CEST
Instance Name kalobr2
Version 10.2.0.3.0
Host rac2
Listener LISTENER_RAC2_rac2
ASM +ASM2_rac2
Thanks in advice!I try remove this instance from repository using..
emca -deleteInst db....
2008-08-24 12:58:09 oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-deleteInst' set to true
2008-08-24 12:58:09 oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
2008-08-24 12:58:09 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: D:\oracle\product\db
2008-08-24 12:58:09 oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-cluster' set to true
2008-08-24 12:58:12 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: MODIFY_NODE value: RAC2
2008-08-24 12:58:15 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: KALOBR
2008-08-24 12:58:36 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: MODIFY_SID value: KALOBR2
2008-08-24 12:58:36 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value:
2008-08-24 12:58:37 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: yes
2008-08-24 12:58:37 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LOG_FILE.
2008-08-24 12:58:38 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\oracle\product\db\cfgtoollogs\emca\KALOBR\KALOBR2\emca_2008-08-24_12-58-09-PM.log.
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter NODE_LIST.
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager getInaccessibleNodeList
CONFIG: Invalid Node/Sid List specified.
2008-08-24 12:58:38 oracle.sysman.emcp.util.ClusterUtil areNodesAlive
CONFIG: Alive node cache contents: []
2008-08-24 12:58:38 oracle.sysman.emcp.util.ClusterUtil areNodesAlive
CONFIG: RAC1 not found in alive node cache
2008-08-24 12:58:38 oracle.sysman.emcp.util.ClusterUtil areNodesAlive
CONFIG: RAC2 not found in alive node cache
2008-08-24 12:58:38 oracle.sysman.emcp.util.ClusterUtil areNodesAlive
CONFIG: Node: RAC1 is accessible.
2008-08-24 12:58:38 oracle.sysman.emcp.util.ClusterUtil areNodesAlive
CONFIG: Node: RAC2 is accessible.
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager getInaccessibleNodeList
CONFIG: All nodes are up. Nodes: [RAC1, RAC2]
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager getInaccessibleSidList
CONFIG: All nodes are up. Nodes: [RAC1, RAC2] Sids: [KALOBR1, KALOBR2]
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID_LIST value: KALOBR1,KALOBR2
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: NODE_LIST value: RAC1,RAC2
2008-08-24 12:58:38 oracle.sysman.emcp.util.ClusterUtil isShared
CONFIG: path: D:\oracle\product\db isOracleHome: true isShared: false
2008-08-24 12:58:38 oracle.sysman.emcp.util.ClusterUtil isShared
CONFIG: Path Cache contents: {D:\oracle\product\db=false}
2008-08-24 12:58:38 oracle.sysman.emcp.util.ClusterUtil isShared
CONFIG: OH Cache contents: {D:\oracle\product\db=false}
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SRC_OH.
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: D:\oracle\product\db
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: KALOBR
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-cluster' set to true
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'MULTIPLE_RAC_INSTANCES' set to false
2008-08-24 12:58:38 oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: Cluster.isCluster: true. Calling getLocalNode
2008-08-24 12:58:38 oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: rac1
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
2008-08-24 12:58:38 oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: rac1
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
2008-08-24 12:58:38 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
2008-08-24 12:58:38 oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
2008-08-24 12:58:38 oracle.sysman.emcp.EMConfig perform
SEVERE: Database instance unavailable.
Refer to the log file at D:\oracle\product\db\cfgtoollogs\emca\KALOBR\KALOBR2\emca_2008-08-24_12-58-09-PM.log for more details.
2008-08-24 12:58:38 oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Database instance unavailable.
at oracle.sysman.emcp.EMDBPreConfig.checkGlobalDbUniqueName(EMDBPreConfig.java:1166)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:200)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:168)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:485)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1141)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:469)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:418) -
DB console problem (10.2.0.3 SE, RAC, Windows 2003 EE)
HI all
When i start dbconsole everythink works fine for 3-5minutes, after that i get message on my instance "Agent Connection to Instance status details Unavailable"
it seeams to me that everythink works but i see this message and i dont knew why?
emoms.log
2008-01-04 11:51:03,448 [EMUI_11_51_02_/console/database/instance/sqlDetail] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:03,448 [EMUI_11_51_02_/console/database/instance/sqlDetail] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:03,464 [EMUI_11_51_02_/console/database/instance/sqlDetail] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:03,464 [EMUI_11_51_02_/console/database/instance/sqlDetail] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:05,995 [EMUI_11_51_05_/console/database/instance/sqlDetail] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:05,995 [EMUI_11_51_05_/console/database/instance/sqlDetail] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:06,011 [EMUI_11_51_05_/console/database/instance/sqlDetail] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:06,011 [EMUI_11_51_05_/console/database/instance/sqlDetail] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:10,057 [EMUI_11_51_09_/console/database/instance/waitDetails] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:10,057 [EMUI_11_51_09_/console/database/instance/waitDetails] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:10,073 [EMUI_11_51_09_/console/database/instance/waitDetails] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:10,073 [EMUI_11_51_09_/console/database/instance/waitDetails] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:26,636 [EMUI_11_51_26_/console/database/instance/waitDetails] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:26,636 [EMUI_11_51_26_/console/database/instance/waitDetails] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:26,651 [EMUI_11_51_26_/console/database/instance/waitDetails] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:26,651 [EMUI_11_51_26_/console/database/instance/waitDetails] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:33,370 [EMUI_11_51_33_/console/database/instance/sqlDetail] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:33,370 [EMUI_11_51_33_/console/database/instance/sqlDetail] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:33,370 [EMUI_11_51_33_/console/database/instance/sqlDetail] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:33,370 [EMUI_11_51_33_/console/database/instance/sqlDetail] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:43,307 [EMUI_11_51_43_/console/database/instance/waitDetails] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:43,307 [EMUI_11_51_43_/console/database/instance/waitDetails] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:43,323 [EMUI_11_51_43_/console/database/instance/waitDetails] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 11:51:43,323 [EMUI_11_51_43_/console/database/instance/waitDetails] WARN chart.EmChartImageMapBean addArea.175 - EmChartImageMapBean.addArea: no coordinates for column
2008-01-04 23:48:53,698 [XMLLoader0 00000001791.xml] ERROR eml.XMLLoader logDeleteFileError.316 - Could not delete file D:\oracle\product\db\rac1_KALOBR1\sysman\recv\00000001791.xml
2008-01-05 00:01:07,745 [JobWorker 13905:Thread-22] ERROR em.jobs executeCommand.265 - UpdateARUTables:
java.sql.SQLException: ORA-12899: wartość zbyt duża dla kolumny "SYSMAN"."MGMT_ARU_PRODUCTS"."PRODUCT_NAME" (obecna: 54, maksymalna: 50)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:287)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:744)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:215)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:965)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1261)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3344)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3428)
at oracle.sysman.util.jdbc.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:678)
at oracle.sysman.eml.ecm.patch.repaccess.ARUTableSql.insertARUTable(ARUTableSql.java:454)
at oracle.sysman.eml.ecm.patch.repaccess.ARUTableSql.insertARUProducts(ARUTableSql.java:195)
at oracle.sysman.eml.ecm.patch.ARUTable.updateARUTables(ARUTable.java:208)
at oracle.sysman.emdrep.jobs.commands.UpdateARUTables.executeCommand(UpdateARUTables.java:192)
at oracle.sysman.emdrep.jobs.JobWorker.run(Dispatcher.java:528)
at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:260)
2008-01-05 08:18:57,198 [EMUI_08_18_52_/console/rac/racSitemap] ERROR db.rac initializeFromAgent.1476 - java.lang.NullPointerException
java.lang.NullPointerException
at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.getMetricHistory(MetricCollectorThread.java:1187)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorTarget.getMetricHistory(MetricCollectorTarget.java:419)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorTarget.getMetricHistory(MetricCollectorTarget.java:387)
at oracle.sysman.db.uix.DBUtil.getMetricHistory(DBUtil.java:316)
at oracle.sysman.db.uix.DBUtil.getMetricHistory(DBUtil.java:283)
at oracle.sysman.emo.rac.RacDBInitializer.initializeFromAgent(RacDBInitializer.java:1444)
at oracle.sysman.emo.rac.RacDBInitializer.initialize(RacDBInitializer.java:172)
at oracle.sysman.emo.rac.RacDB.init(RacDB.java:243)
at oracle.sysman.db.rac.RacSitemapController.getBean(RacSitemapController.java:985)
at oracle.sysman.db.adm.BaseController.validateFileNameState(BaseController.java:1047)
at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1017)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:376)
at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:170)
at oracle.sysman.db.rac.RacControllerResolver.handleRequest(RacControllerResolver.java:137)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
at oracle.sysman.eml.app.Console.doGet(Console.java:285)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:151)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:282)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:595)
emagent.trc
SQL = "/* OracleOEM */ BEGIN dbms_server_alert.set_threshold(:metrics_id, "...
LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac1-vip)(PORT=1521))(CONNECT_DATA=(SID=KALOBR1)))
2008-01-02 08:56:26 Thread-4184 ERROR recvlets.aq: Error setting threshold of rac_global_cache.cr_request_cs: ORA-13900: niepoprawny lub brakujący parametr warning value
ORA-06512: przy "SYS.DBMS_SERVER_ALERT", linia 4
ORA-06512: przy linia 1
2008-01-02 08:56:26 Thread-4184 WARN vpxoci: OCI Error -- ErrorCode(13900): ORA-13900: niepoprawny lub brakujący parametr warning value
ORA-06512: przy "SYS.DBMS_SERVER_ALERT", linia 4
ORA-06512: przy linia 1
SQL = "/* OracleOEM */ BEGIN dbms_server_alert.set_threshold(:metrics_id, "...
LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac1-vip)(PORT=1521))(CONNECT_DATA=(SID=KALOBR1)))
2008-01-02 08:56:26 Thread-4184 ERROR recvlets.aq: Error setting threshold of rac_global_cache.currentgets_cs: ORA-13900: niepoprawny lub brakujący parametr warning value
ORA-06512: przy "SYS.DBMS_SERVER_ALERT", linia 4
ORA-06512: przy linia 1
2008-01-02 08:35:47 Thread-3632 WARN command: Job Subsystem Timeout set at 600 seconds
2008-01-02 08:35:47 Thread-3632 WARN upload: Upload manager has no Failure script: disabled
2008-01-02 08:35:47 Thread-3632 WARN upload: Recovering left over xml files in upload directory
2008-01-02 08:35:47 Thread-3632 WARN upload: Recovered 0 left over xml files in upload directory
2008-01-02 08:35:47 Thread-3632 WARN upload: Merging leftover data file named mgmt_ha_mttr.dat
2008-01-02 08:35:47 Thread-3632 WARN upload: Merging leftover data file named rawdata.dat
2008-01-02 08:35:47 Thread-3632 WARN metadata: Metric collectSnapshot does not have any data columns
2008-01-02 08:35:47 Thread-3632 WARN metadata: Metric Disk_Path does not have any data columns
2008-01-02 08:35:47 Thread-3632 WARN metadata: Metric osm_diskGroupPolicies does not have any data columns
2008-01-02 08:35:54 Thread-3964 WARN TargetManager: Query returned 0 rows (only one expected) for the dynamic property DGPrimaryDBName
2008-01-02 08:35:54 Thread-3964 WARN TargetManager: The execution of the query for DGPrimaryDBName in {KALOBR, rac_database} is missing the following required property values : DGPrimaryDBName
2008-01-02 08:35:55 Thread-4668 ERROR upload: Error in uploadXMLFiles. Trying again in 60,00 seconds.
2008-01-02 08:35:57 Thread-5000 WARN vpxoci: OCI Error -- ErrorCode(13900): ORA-13900: niepoprawny lub brakujący parametr warning value
ORA-06512: przy "SYS.DBMS_SERVER_ALERT", linia 4
ORA-06512: przy linia 1
SQL = "/* OracleOEM */ BEGIN dbms_server_alert.set_threshold(:metrics_id, "...
LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac1-vip)(PORT=1521))(CONNECT_DATA=(SID=KALOBR1)))
2008-01-02 08:35:57 Thread-5000 ERROR recvlets.aq: Error setting threshold of rac_global_cache.cr_request_cs: ORA-13900: niepoprawny lub brakujący parametr warning value
ORA-06512: przy "SYS.DBMS_SERVER_ALERT", linia 4
ORA-06512: przy linia 1
2008-01-02 08:35:57 Thread-5000 WARN vpxoci: OCI Error -- ErrorCode(13900): ORA-13900: niepoprawny lub brakujący parametr warning value
ORA-06512: przy "SYS.DBMS_SERVER_ALERT", linia 4
ORA-06512: przy linia 1
SQL = "/* OracleOEM */ BEGIN dbms_server_alert.set_threshold(:metrics_id, "...
LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac1-vip)(PORT=1521))(CONNECT_DATA=(SID=KALOBR1)))
2008-01-02 08:35:57 Thread-5000 ERROR recvlets.aq: Error setting threshold of rac_global_cache.currentgets_cs: ORA-13900: niepoprawny lub brakujący parametr warning value
ORA-06512: przy "SYS.DBMS_SERVER_ALERT", linia 4
ORA-06512: przy linia 1
2008-01-02 08:46:44 Thread-1164 WARN vpxoci: OCI Error -- ErrorCode(1722): ORA-01722: niepoprawna liczba
SQL = "/* OracleOEM */
SELECT /*+ INDEX(ts) */
o.object_type, u.name, o.object_name"...
LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac1-vip)(PORT=1521))(CONNECT_DATA=(SID=KALOBR1)))
2008-01-02 08:46:44 Thread-1164 WARN vpxoci: OCI Error -- ErrorCode(1722): ORA-01722: niepoprawna liczba
emagent.log
2008-01-02 08:35:46 Thread-3632 Starting Agent 10.1.0.5.1 from D:\oracle\product\db (00701)
2008-01-02 08:35:55 Thread-3632 EMAgent started successfully (00702)
2008-01-02 08:54:10 Thread-3632 EMAgent normal shutdown (00703)
2008-01-02 08:56:17 Thread-4672 Starting Agent 10.1.0.5.1 from D:\oracle\product\db (00701)
2008-01-02 08:56:25 Thread-4672 EMAgent started successfully (00702)
Thanks in adviceThanks to both for inputs.
I tried to find the following information but couldn't get it anywhere. Can you let me know if following needs to be performed as well?
I have single database (TESTDB), which is configured with database control. Along with OracleServiceTESTDB, i have following services
OracleServiceTESTDB
OracleOraDb10g_home1TNSListenerTESTDB
OracleDBConsoleTESTDB
OracleJobSchedulerTESTDB
Also the server has MSDTC service running.
I understand i need to stop all of these services in the old home before i do anything related to Upgrade. I have few more questions on this
1) Do i need to delete all other services i.,e dbconsole,jobscheduler,tnslistener from the old oracle home at the same time when deleting the SID using oradim?
2) Do all these services need to be re-created in 10.2.0.4 home before invoking DBUA? If yes, is ORADIM still the utility to use?
Thanks,
Harris.
Edited by: Harris2107 on Dec 2, 2009 2:52 AM -
Please refer me any useful like/tut for creating Oracle Server genrated Alerts in 10g.
Regards,
Abbasi
Edited by: Abbasi on Jul 1, 2010 1:51 PMif u cant access thru OEM use thi
SQl>Begiin
DBMS_SERVER_ALERT.SET_THRESHOLD(
metric_id =>DBMS_SERVER_ALERT.TABLESPACE_BYT_FREE,
warning_operator =>DBMS_SERVER_ALERT.OPERATOR_LE,
warning_value =>'10240',
critical_operator =>DBMS_SERVER_ALERT.OPERATOR_LE,
critical_value =>'2048',
observation_period =>1,
consecutive_occurence =>1,
instance_name = NULL,
object_type =>DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,
object_name =>users);
End;Note:The warning_value attribute set the bytes remaining alert warning threshold at 10 MB and the crtical value attribute sets the crtical threshold at 2 MB
Edited by: Suhail Faraaz on Jul 1, 2010 4:09 AM -
Change Management without Oracle Change Management Pack
Hello,
is there a possibility to define a change management process without having access to the enterprise manager?
The administration of the databases in our company is done by an outsourcing partner. So the developers can't access the enterprise manager.
siretYou are going to have to provide a lot more information for anyone to help you from the basic ... like in what version ... to the specific ... what functionality do you want?
In general none of the "packs" run any code not in the database in the form of built-in packages. For example much of the functionality of OEM Grid is implenented in DBMS_ADVISOR, DBMS_MONITOR, DBMS_SERVER_ALERT, etc.
But without specific questions no specific answer is possible.
You can find demos of the above referenced packages here:
http://www.morganslibrary.org/library.html -
Alerting Metric thresholds for Notification rules
Hi Guys,
Can i edit the Response Time (msec) metric under the Listener Availability Notification rule to alert only if the response time is breaching the alerting threshold for 5 minutes,as in for 5 consecutive occurences when this metric is pooled ?
For example we can execute dbms_server_alert.set_threshold(.....
consecutive_occurrences=>5
for a metric like redo_generated_sec
Can we do this for Response Time (msec) metric under the Listener Availability Notification rule ?
I am also not seeing this metric listed under v$METRICNAME
Any ideas...
Regards,
SwanandI am not sure if this is related, but you can added Metrics for the Service Test associated with the Beacon via the Monitoring Setting.
Example for homepage:
Select All Targets > EM Website > Metric and Policy Settings >Tests >Monitoring Settings of homepage
Then Add/edit Metric Thresholds and Collection settings accordingly. -
Get alerted after 5 metric breaches for Response Time (msec) metric
Hi Guys,
Can i edit the Response Time (msec) metric under the Listener Availability Notification rule to alert only if the response time is breaching the alerting threshold for 5 minutes,as in for 5 consecutive occurences when this metric is pooled ?
For example we can execute dbms_server_alert.set_threshold(.....
consecutive_occurrences=>5
for a metric like redo_generated_sec
Can we do this for Response Time (msec) metric under the Listener Availability Notification rule ?
I am also not seeing this metric listed under v$METRICNAME
Any ideas...
Regards,
SwanandI have no doubt this is it. I switched to the OID of the timeticks that the system has been up for and tried:
<CollectionItem NAME="Response">
<Schedule>
<IntervalSchedule INTERVAL="5" TIME_UNIT="Min"/>
</Schedule>
<Condition COLUMN_NAME="Status" CRITICAL="1" OPERATOR="LT"/>
</CollectionItem>
The corresponding snmpwalk retrieves:
-bash-3.00# ./snmpwalk -Os -v1 -c public 100.100.100.100 .1.3.6.1.2.1.1.3
sysUpTimeInstance = Timeticks: (26302086) 3 days, 1:03:40.86
Now I get a clock once in a while (it looks like its collecting) but then I revert to down. I assume that this structure is basically:
RetrievedValueForStatus OPERATOR CRITICAL triggers a CRITICAL alert and I could add another for WARNING
And then I'm making the assumption that "Running" is the state of CRITICAL or WARNING not being triggered?
I noticed Example 2-9 Default Collection File for Simple Server Alpha uses NO condition.
What happens if the system simply cannot be contacted, is there an assumption that the value is always available in these Conditions? For example, if I return the name of the system in the Snmp Fetchlet and SNMP cannot retrieve ANY values (because the system is down), would the CRITICAL condition be:
<Condition COLUMN_NAME="Status" CRITICAL="" OPERATOR="EQ"/>
I will keep going on trial an error
Thanks... -
Oracle error ORA-39127 unexpected error from call to export_string
Hi
The export for an database encounters the following error .Can someone take a look at the cause please.
Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM
Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PROCOBJ
ORA-39127: unexpected error from call to export_string :=SYS.DBMS_SERVER_ALERT_EXPORT.SYSTEM_INFO_EXP(1,dynconnect,'11.02.00.02.00',newblock)
ORA-13914: Threshold notification failed.
ORA-06512: at "SYS.DBMS_SERVER_ALERT", line 187
ORA-06512: at "SYS.DBMS_SERVER_ALERT_EXPORT", line 132
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 7418
Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/PRE_TABLE_ACTION
RegardsThere are a lot of similar errors on MOS, perhaps you should search through them and see if any apply to you.
What version/patch level are you on? Have you made any grid control threshold modifications? Are you using procobol in an upgraded database?
You might want to go through support for this one. -
Hi everyone!
I can't start DBConsole in my computer with Oracle 10.2.0.3.
What i do:
emca -config dbcontrol db
STARTED EMCA at 14.11.2007 10:46:17
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: orcl
Database Control is already configured for the database orcl
You have chosen to configure Database Control for managing the database orcl
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: y
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Password for SYSMAN user: Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ................ C:\oracle\product\10.2.0\db_1
Database hostname ................ **********
Listener port number ................ 1521
Database SID ................ orcl
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: y
14.11.2007 10:46:40 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2007-11-14_10-46-
14.11.2007 10:46:43 oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
14.11.2007 10:46:50 oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
14.11.2007 10:47:40 oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
14.11.2007 10:47:40 oracle.sysman.emcp.EMDBPostConfig performConfiguration
WARNING: Unable to create Database Control shortcut
14.11.2007 10:47:40 oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://*********:1158/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at 14.11.2007 10:47:40In sysman\log i have this:
SQL = "/* OracleOEM */ BEGIN dbms_server_alert.set_threshold(:metrics_id, "...
LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=********)(PORT=1521))(CONNECT_DATA=(SID=orcl)))
2007-11-14 10:49:53 Thread-372 ERROR recvlets.aq: Error setting threshold of wait_sess_cls.dbtime_waitclass_pct: ORA-13914: Threshold notification failed.
ORA-06512: at "SYS.DBMS_SERVER_ALERT", line 4
ORA-06512: at line 1
2007-11-14 10:49:53 Thread-372 WARN vpxoci: OCI Error -- ErrorCode(13914): ORA-13914: Threshold notification failed.
ORA-06512: at "SYS.DBMS_SERVER_ALERT", line 4
ORA-06512: at line 1 Thanks in advance!
Best regards, Pavel.You write , dbconsole not started, but I see 'INFO: Database Control started successfully'. You have an internal repository problem:
Error: ORA-13914 (ORA-13914)
Text: Threshold notification failed.
Cause: This is an internal Server Manageability Error
Action: Contact Oracle Support Services
Maybe recreation helps:
emca -deconfig dbcontrol db -repos drop
emca -config dbcontrol -repos create
Werner -
Hi,
I executed the below procedure to implement the tablespace threshold for the tablespace 'TESTING'.
My doubt is, once the threshold reaches where will I get the message like the tablespace 'TESTING' has only 51200 KB left.
Database:10.2.0.4
OS: solaris 10
BEGIN
DBMS_SERVER_ALERT.SET_THRESHOLD(
metrics_id => DBMS_SERVER_ALERT.TABLESPACE_BYT_FREE,
warning_operator => DBMS_SERVER_ALERT.OPERATOR_LE,
warning_value => '51200',
critical_operator => DBMS_SERVER_ALERT.OPERATOR_LE,
critical_value => '40960',
observation_period => 1,
consecutive_occurrences => 1,
instance_name => NULL,
object_type => DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,
object_name => 'TESTING');
DBMS_SERVER_ALERT.SET_THRESHOLD(
metrics_id => DBMS_SERVER_ALERT.TABLESPACE_PCT_FULL,
warning_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
warning_value => '0',
critical_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
critical_value => '0',
observation_period => 1,
consecutive_occurrences => 1,
instance_name => NULL,
object_type => DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,
object_name => 'TESTING');
END;
/Just curious, why are you setting the second threshold (TABLESPACE_PCT_FULL) limit = 0 %?
Anyway, the view dba_outstanding_alerts does not reflect the status immediately. It may take a few minutes, even if the parameter observation_period = 1 (minute).
-- Here we have set the database to trigger an alert if the any tablespace usage exceeds 85%
SQL> select metrics_name, warning_operator, warning_value
2 from dba_thresholds
3 /
METRICS_NAME WARNING_OPERATOR WARNING_VALUE
Tablespace Space Usage GE 85
SQL> CREATE TABLESPACE "TS_TEST" LOGGING DATAFILE
2 'C:\ORADB\TRAIN10G\DATA\TS_TEST01.DBF' SIZE 400K AUTOEXTEND ON NEXT 100K MAXSIZE 800K
3 EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO ;
Tablespace created
SQL> CREATE TABLE testtab (testcol CHAR(100)) tablespace TS_TEST;
Table created.
-- Here we wrote a script to insert 1000 rows at a time which will be run repeatedly until we see the threshold exceeded
DECLARE
N INTEGER;
BEGIN
FOR N IN 1..1000 LOOP
INSERT INTO testtab values('TESTTESTTEST');
END LOOP;
COMMIT;
END;
... repeated a few times, checking the freespace each round with the query below until the threshold is exceeded
SQL> SELECT a.tablespace_name
2 ,trunc(decode(a.autoextensible,'YES',a.maxsize-a.bytes+NVL(b.free,0),'NO',NVL(b.free,0))/1024) free_kb
3 ,trunc(a.bytes/1024) size_kb
4 ,trunc(a.maxsize/1024) maxsize_kb
5 ,a.autoextensible ae
6 ,trunc(decode(a.autoextensible,'YES',(a.maxsize-a.bytes+NVL(b.free,0))/a.maxsize*100,'NO',NVL(b.free,0)/a.maxsize*100)) free_pct
7 FROM ( select tablespace_name
8 ,autoextensible,sum(bytes) bytes
9 ,sum (decode(autoextensible,'YES',maxbytes,bytes)) maxsize
10 from dba_data_files
11 group by tablespace_name,autoextensible) a,
12 (select tablespace_name ,sum(bytes) free
13 from dba_free_space
14 group by tablespace_name) b
15 where a.tablespace_name=b.tablespace_name(+)
16 order by 2 asc
17 /
TABLESPACE_N FREE_KB SIZE_KB MAXSIZE_KB AE FREE_PCT
TS_TEST 16 784 800 YES 2
... SQL below was repeatedly run, and after 4 minutes we got the alert in dba_outstanding_alerts....
SQL> select object_name, object_type, reason
2 from dba_outstanding_alerts
3 /
OBJECT_NAME OBJECT_TYPE REASON
TS_TEST TABLESPACE Tablespace [TS_TEST] is [88 percent] fullAlso, you can expand this method to include a stored procedure that is scheduled (DBMS_SCHEDULER) to check dba_outstanding_alerts every so often and compose an email message to be sent to the DBA using UTL_SMTP. -
How to exclude undo and temp from "Tablespace Space Used (%)"
Dear All
Is it possible to exclude undo and temp tablespace monitoring from "Tablespace Space Used (%)" matric?
Thanks & Regards
Quazi Abdur RabIf you use TEMP >=100 as Warning, this warning can still be raised.
What version of the database is it? If Oracle 10g, Grid Control (the agent) searches the alert table in the database for alerts, so the database raises the alert and the agent just passes this alert to Grid Control.
If you are using Oracle 10g, you can use the following statement (connected as sys):
DBMS_SERVER_ALERT.SET_THRESHOLD(
metrics_id => DBMS_SERVER_ALERT.TABLESPACE_PCT_FULL,
warning_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
warning_value => '90',
critical_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
critical_value => '100',
observation_period => 1,
consecutive_occurrences => 1,
instance_name => NULL,
object_type => DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,
object_name => 'TEMP');
This will create the GT (Greater Than) instead of GE (Greater Equal).
Kind regards,
Dave
ps. I'm using GC 10.2.0.3.0, so thanks for the note that 10.2.0.4 doesn't take 100+ values.
Maybe you are looking for
-
Years back I had installed Firefox 3.0 (at launch, so not beta) into a separate program folder. After installation, I expected to have my bookmarks saved. Recently I found out my bookmarks were in application data and I found out I had one profile. T
-
Windows 2000 on my desktop & Firefox 3.6.0 I have the following code on a web page. The file plays on my Laptop with XP and the latest Internet Explorer, but not on the W 2000 machine. I tried to download the plug in I found, but it's only for XP and
-
Can someone explain to me what the history state slider does?
Hi everyone! Why use the slider when I can easily click a previous state from the list in the history panel? Does the slider have some extra function that I may have overlooked? Thanks for your help, It's been bugging me for ages. Kelly (using Photos
-
Reg : Script for shutdown startup in oracle9i
Hi, I need shutdown and startup sqlfiles script while taking Coldbackup in oracle9i.
-
Has anyone the same problem? And a solution?