utlrp script
+ What is UTLRP.SQL?
This script recompiles invalid PLSQL modules.
+ What this script does?
This script recompiles all existing invalid PL/SQL modules in a database.
This is a fairly general script that can be used at any time to recompile all existing invalid PL/SQL modules in a database If run as one of the last steps during migration/upgrade/downgrade this script will validate all PL/SQL modules (i.e. procedures, functions, packages, triggers, types, views, libraries) during the migration step itself.
+ Any other script called within UTLRP.SQL?
Yes. It invokes utlrcmp.sql
Where are these SCRIPTS located?
============================
The scripts are found in the standard admin directory of the Oracle Home.
$ORACLE_HOME/rdbms/admin
Which script is better?
=================
-> UTLRP.SQL - Validates all invalid objects and can be run anytime. (this in-turn is called by utlirp.sql)
What is invalid ? you can find out by doing this In sqlplus :
15:03:58 SQL> select Object_name, Object_type from dba_objects where status = ‘INVALID’ and OWNER <> ‘SYS’:
[ fayoubi on mars :] echo $ORACLE_HOME
/z01/app/oracle/product/10.2.0
[ fayoubi on mars :] ls -lrt $ORACLE_HOME/rdbms/admin/utlrp.sql
-rw-r–r– 1 oracle dba 3221 Aug 15 2003 /z01/app/oracle/product/10.2.0/rdbms/admin/utlrp.sql
Of course as oracle you can see the file:
[ fayoubi on mars :] vi $ORACLE_HOME/rdbms/admin/utlrp.sql
+ What is UTLRP.SQL?
This script recompiles invalid PLSQL modules.
+ What this script does?
This script recompiles all existing invalid PL/SQL modules in a database.
This is a fairly general script that can be used at any time to recompile all existing invalid PL/SQL modules in a database If run as one of the last steps during migration/upgrade/downgrade this script will validate all PL/SQL modules (i.e. procedures, functions, packages, triggers, types, views, libraries) during the migration step itself.
+ Any other script called within UTLRP.SQL?
Yes. It invokes utlrcmp.sql
Where are these SCRIPTS located?
============================
The scripts are found in the standard admin directory of the Oracle Home.
$ORACLE_HOME/rdbms/admin
Which script is better?
=================
-> UTLRP.SQL - Validates all invalid objects and can be run anytime. (this in-turn is called by utlirp.sql)
What is invalid ? you can find out by doing this In sqlplus :
15:03:58 SQL> select Object_name, Object_type from dba_objects where status = ‘INVALID’ and OWNER <> ‘SYS’:
[ fayoubi on mars :] echo $ORACLE_HOME
/z01/app/oracle/product/10.2.0
[ fayoubi on mars :] ls -lrt $ORACLE_HOME/rdbms/admin/utlrp.sql
-rw-r–r– 1 oracle dba 3221 Aug 15 2003 /z01/app/oracle/product/10.2.0/rdbms/admin/utlrp.sql
Of course as oracle you can see the file:
[ fayoubi on mars :] vi $ORACLE_HOME/rdbms/admin/utlrp.sql
Comments
Post a Comment