Chinaunix首页 | 论坛 | 博客
  • 博客访问: 643167
  • 博文数量: 70
  • 博客积分: 145
  • 博客等级: 入伍新兵
  • 技术积分: 1150
  • 用 户 组: 普通用户
  • 注册时间: 2012-10-11 08:15
个人简介

没有简介就是最好的简介

文章分类

全部博文(70)

文章存档

2020年(1)

2018年(2)

2017年(3)

2016年(11)

2015年(12)

2014年(16)

2013年(19)

2012年(6)

我的朋友

分类: Oracle

2012-10-15 11:38:06

一、
SQL> conn /as sysdba
ERROR:
ORA-09925: Unable to create audit trail file
Linux Error: 2: No such file or directory
Additional information: 9925
出错原因:$ORACLE_HMOE/dbs这个目录中的init文件中audit_file_dest不是$ORACLE_HOME/rdbms/audit这个目录;
解决方法:
1) Ensure the directory $ORACLE_HOME/rdbms/audit or the directory
specified by the init.ora exists, is
writable by the oracle software owner and that the disk is not full.
2) Check $ORACLE_HOME/bin/oracle has permission of 6755.

If not, then correct the permissions by executing this from the
$ORACLE_HOME/bin directory:
chmod 6755 oracle

二、
ORA-07446:sdnfy:bad   value   '/local/home/oracle/product/9.2.0/logs/test_udump '   for   parameter   user_dump_test

问题原因:user_dump_test指定的目录不存在或者错误
解决方法:找到bdump这个目录,更改参数文件指定的值。
三、
SQL> startup
ORACLE instance started.

Total System Global Area  285212672 bytes
Fixed Size                  1218992 bytes
Variable Size              92276304 bytes
Database Buffers          188743680 bytes
Redo Buffers                2973696 bytes
ORA-00205: error in identifying control file, check alert log for more info
问题原因:参数文件中control_files指定的目标不存在
解决方法:找到参数文件的存放位置,然后更改control_files=的目录

四,
2012-11-08 17:00:16  ERROR   OGG-01168  Oracle GoldenGate Delivery for Oracle, ryszx.prm: 
 Encountered an update for target table YSZX2012.ELE_REGION, which has no unique key defined. 
 KEYCOLS can be used to define a key.  Use ALLOWNOOPUPDATES to process the update without applying it to the target database.  Use APPLYNOOPUPDATES to force the update to be applied using all columns in both the SET and WHERE clause.
问题原因:当Update一条记录但是未修改其中某些字段记录时,Oracle会在日志中记录该Update操作,但是由于数据本身没有改变,可能并没有记录其后影像。此时OGG抽取数据后队列中也没有后影像,导致目标端Replicat无法组成正确SQL
解决方法:在灾备端配置文件中加上APPLYNOOPUPDATES,使用APPLYNOOPUPDATES 时,会在SET和where自居中构造所有的相关字段,从而实现这种实际没有更新数据的UPDATE。
阅读(2527) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~