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

 

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s