Oracle Database Object invalid

Source: Internet
Author: User
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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.