Recompile As Fast As Possible

Working with a development team that is migrating an application, thousands of objects remain invalid after completing the upgrade. An easy way to compile all the objects that have been disabled is to use the package UTL_RECOMP. This we can use to recompile objects in serial (RECOMP_SERIAL) or parallel (RECOMP_PARALLEL). In this case as it is a critical ¬†application, working on 24×7 environment, we need you to recompile everything as quickly as possible to return to production as soon as possible.

The following command to recompile the schema Peoplesoft 8 threads;

 

EXEC UTL_RECOMP.RECOMP_PARALLEL(4, 'PEOPLESOFT');

 

Some notes;

It should run  AS SYSDBA. Of course, use DDL commands together can cause deadlocks.

HTH – Antonio NAVARRO