Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Compile Schema statement takes a long time

646879Jul 11 2008 — edited Jul 17 2008
Hi,

When we call DBMS_UTILITY.COMPILE_SCHEMA('schema name') or DBMS_UTILITY.COMPILE_SCHEMA('schema name', FALSE), from TOAD or SQL Plus directly, it gets over so quickly, say in a minute.

Whereas when we include the same in a Procedure and invoke this before executing other
process just to re-compile the invalid objects. It takes 40 minutes, please tell me
why it takes such an unreasonable time, can it be reduced in any way?

Regards,
Sarathy
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 14 2008
Added on Jul 11 2008
2 comments
1,375 views