Oracle database objects are invalid. VPD is used in project development. The creation of Database User B objects depends on data user A. Because user A objects perform DDL, migration, dump, and other operations
Oracle database objects are invalid. VPD is used in project development. The creation of Database User B objects depends on data user A. Because user A objects perform DDL, migration, dump, and other operations
VPD is used for development in the project. The creation of Database User B objects depends on Data User A. Because user A objects perform DDL, migration, dump, and other operations, this results in the INVALID of user B. User B is used as the data source of the application system, which leads to application system errors.
You can perform the following operations:
1. Find the invalid object
2. After judgment, you can recompile these objects.
Compilation methods include:
1) DBMS_DDL
2.) DBMS_UTILITY
3.) UTL_RECOMP
4) UTLRP. SQL
5) Manually Recompile
The best solution is to manually compile these objects. You can refer to the following SQL script: