Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

2

好友

3

主题
1#
发表于 2013-4-18 10:17:22 | 查看: 3063| 回复: 1
SQL> SELECT * FROM V$VERSION;

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE        10.2.0.4.0        Production
TNS for HPUX: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production

生产环境有一个job,偶尔会运行失败。在alert日志里面可以看到如下信息:


alert日志:

Tue Apr  9 08:06:35 2013
Errors in file /oracle/app/oracle/admin/bdump/nmgacct_j008_23012.trc:
ORA-12012: error on auto execute of job 14523
ORA-06550: line 1, column 96:
PLS-00905: object xxxxxxxxxxxxxxxxxxxxxxxxxxxxx is invalid
ORA-06550: line 1, column 96:
PL/SQL: Statement ignored


dump日志:
/oracle/app/oracle/admin/bdump/nmgacct_j008_23012.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /oracle/app/oracle/product/10.2
System name:    HP-UX
Node name:      
Release:        B.11.31
Version:        U
Machine:        ia64
Instance name:
Redo thread mounted by this instance: 1
Oracle process number: 392
Unix process pid: 23012, image: oracle@acctdb1 (J008)


*** SERVICE NAME:(SYS$USERS) 2013-04-09 08:06:35.645
*** SESSION ID:(386.26969) 2013-04-09 08:06:35.645
*** 2013-04-09 08:06:35.645
ORA-12012: error on auto execute of job 14523
ORA-06550: line 1, column 96:
PLS-00905: object xxxxxxxxxxxxxxxxxx is invalid
ORA-06550: line 1, column 96:
PL/SQL: Statement ignored


这个里面只能看到过程失效。过程很简单,里面引用了一张远程的表做查询的。但是日志中也看不到dblink相关的报错日志。


想请教下,有没有什么办法,看到更加详细的日志。
2#
发表于 2013-4-22 18:41:59
PLS-00905: object xxxxxxxxxxxxxxxxxx is invalid
ORA-06550: line 1, column 96:
PL/SQL: Statement ignored


吧这个job的详细ddl 和运行历史列出来咯

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-11-16 15:35 , Processed in 0.048340 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569