- 最后登录
- 2016-4-27
- 在线时间
- 84 小时
- 威望
- 87
- 金钱
- 846
- 注册时间
- 2012-2-22
- 阅读权限
- 50
- 帖子
- 101
- 精华
- 1
- 积分
- 87
- UID
- 253
|
4#
发表于 2013-6-6 11:10:43
本帖最后由 anbob 于 2013-6-6 11:18 编辑
成功升级。
怀疑与第一次运行@catupgrd.sql 时因为firewall 的网络超时,crt 客户端与数据库中断造成。- sys@ORCLDB>select OBJECT_TYPE,STATUS,COUNT(*) CNT from dba_objects where status='INVALID' and owner='CTXSYS' GROUP BY OBJECT_TYPE,STATUS;
- OBJECT_TYPE STATUS CNT
- ------------------- ------- --------------------
- PROCEDURE INVALID 1
- OPERATOR INVALID 5
- INDEXTYPE INVALID 4
- TYPE INVALID 25
- VIEW INVALID 14
- FUNCTION INVALID 2
- TYPE BODY INVALID 7
- PACKAGE INVALID 66
- PACKAGE BODY INVALID 56
- sys@ORCLDB>l
- 1* select COMP_ID ,comp_name,status,VERSION,schema from dba_registry
- sys@ORCLDB>/
- COMP_ID COMP_NAME STATUS VERSION SCHEMA
- ---------- ----------------------------------- ---------------------- ------------------------------ ------------------------------
- CATALOG Oracle Database Catalog Views VALID 11.2.0.3.0 SYS
- CATPROC Oracle Database Packages and Types VALID 11.2.0.3.0 SYS
- OWM Oracle Workspace Manager VALID 10.2.0.4.3 WMSYS
- JAVAVM JServer JAVA Virtual Machine VALID 11.2.0.3.0 SYS
- XML Oracle XDK VALID 11.2.0.3.0 SYS
- CATJAVA Oracle Database Java Packages VALID 10.2.0.4.0 SYS
- EXF Oracle Expression Filter VALID 10.2.0.4.0 EXFSYS
- ODM Oracle Data Mining VALID 10.2.0.4.0 DMSYS
- CONTEXT Oracle Text UPGRADING 10.2.0.4.0 CTXSYS
- ........
- 手动重装了oracle text
- ##uninstall
- @?/ctx/admin/catnoctx.sql
- ## install
- @?/ctx/admin/catctx.sql CTXSYS SYSAUX TEMP NOLOCK
- SQL> connect CTXSYS/xxx
- SQL> @?/ctx/admin/defaults/dr0defin.sql "AMERICAN";
- sys@ORCLDB>select object_name, object_type, status from dba_objects where owner='CTXSYS' and status != 'VALID' order by object_name;
- no rows selected
- 重新运行@catupgrd.sql 成功
- sys@ORCLDB>select comp_name,status,VERSION,schema from dba_registry where comp_id='CONTEXT';
- COMP_NAME STATUS VERSION SCHEMA
- ------------------------------ ---------------------- ------------------------------ ------------------------------
- Oracle Text VALID 11.2.0.3.0 CTXSYS
复制代码 PS: SHARED_POOL 升级前建议调大升级中有遇到ora-4031. |
|