更新时间:2022-08-22 10:33:49
今天在给R12升级到12.1.3的时候,要安装一个补丁, 打最大的一个patch p9239090 的时候, 前面还算正常, 到了数据库
编译无效对象的时候,一直不结束,第一次做,有点束手无措,最后从网上找了一些参考,整理了一下:
首先,我的环境是这样提示的:
Telling workers to quit...
All workers have quit.
Dropping FND_INSTALL_PROCESSES table...
FND_INSTALL_PROCESSES table dropped.
Dropping AD_DEFERRED_JOBS table...
AD_DEFERRED_JOBS table dropped.
Done running SQL and EXEC commands in parallel.
Updating the checkfile repository if necessary...
Did not update the checkfile repository...
Done running SQL scripts and EXEC commands.
Compiling invalid objects...
sqlplus -s APPS/***** @/u01/prod/apps/apps_st/appl/ad/12.0.0/sql/adutlrcmp.sql APPLSYS ***** APPS ***** ***** 4 0 NONE FALSE
—— 一直就停在这里不动了。
搜到了这个帖子https://forums.oracle.com/thread/2170368:
告诉我要查看一些无效的对象是否在减少,如果一直在减少的话,说明运行良好,只要等待就行.
按照他说的,我在数据库中执行:
SQL> select count(*) from dba_objects where status='INVALID';
COUNT(*)
----------
64353
确实在不断减少,但是。。太特么多了,正在想别的办法.....
这哥们跟我一样遇到了相同的问题:博客:http://www.itpub.net/thread-1602399-1-1.html
2、ebs编译无效对象的步骤
1. 查看数据库中的无效对象