Valid objects found invalid in ODS (OLTP & ODS are in SYNC) [message #626063] |
Mon, 20 October 2014 05:23  |
ashishkumarmahanta80
Messages: 231 Registered: October 2006 Location: kolkatta
|
Senior Member |
|
|
Dear All,
Here, data guard status is "STANDBY".
Objects are found valid in OLTP but are invalid in ODS. Though, both the databases(OLTP & ODS) are in SYNC.
I have advised to sub-ordinate to do below steps to make it Valid.
1) stop the log apply.
2) change the data-guard status to none (alter database none;)
3) compile manually each objects
4) change the data-guard status to standby (alter database standby;)
5) start the log apply.
Please assist me to know why & how it has happened?
Regards,
Ashish Kumar Mahanta
|
|
|
|
|
|
Re: Valid objects found invalid in ODS (OLTP & ODS are in SYNC) [message #626114 is a reply to message #626076] |
Tue, 21 October 2014 00:18   |
ashishkumarmahanta80
Messages: 231 Registered: October 2006 Location: kolkatta
|
Senior Member |
|
|
Dear Blackswan,
We have analyzed and came to conclusion that, dml statement was compiled with error. And temp tables are considered and kept on skip list.
execute dbms_logstDBY.SKIP(STMT => 'DML',SCHEMA_NAME => 'INS', OBJECT_NAME =>'GEN_PROP_INFORMATION_TEMP');
execute dbms_logstDBY.SKIP(STMT => 'SCHEMA_DDL',SCHEMA_NAME => 'INS', OBJECT_NAME =>'GEN_PROP_INFORMATION_TEMP');
Even after skip list, procedures are getting Invalid. Errors are -
We have un-skipped and skipped it again to check the status of objects. But it's status is still Invalid.
Regards,
Ashish
|
|
|
Re: Valid objects found invalid in ODS (OLTP & ODS are in SYNC) [message #626136 is a reply to message #626114] |
Tue, 21 October 2014 04:14   |
ashishkumarmahanta80
Messages: 231 Registered: October 2006 Location: kolkatta
|
Senior Member |
|
|
Dear All,
Below is the Error-
PL/SQL : ORA- 00913: to many values
After analyzing the problem came to know that, one table is in skip list (DDL & DML) and structure changes are there at OLTP.
We are trying to instantiate the tables. Once it has done. We will check the status (whether it is valid or invalid) and update the same.
Regards,
Ashish Kumar Mahanta
|
|
|
|