Oracle 写归档日志生成Ora-19502 And Ora-27063 错误

如果自己搞不定可以找诗檀软件专业ORACLE数据库修复团队成员帮您恢复!

诗檀软件专业数据库修复团队

服务热线 : 13764045638 QQ号:47079569 邮箱:service@parnassusdata.com

ORA-27063: number of bytes read/written is incorrect

Cause: the number of bytes read/written as returned by aiowait does not match the original number, additional information indicates both these numbers

Action: check errno

 

适用于:

Oracle Database – Enterprise Edition – 版本10.2.0.4 及以上
本文信息适用于任何平台。

症状

每当归档日志被写入时,在警告日志中收到以下错误。

ORA-19502: write error on file “/app/oracle/product/10.2.0/flash_recovery_area/PROD/archivelog/2010_05_26/o1_mf_1_630_5z80gg5v_.arc”, blockno 18433 (blocksize=512)
ORA-27063: number of bytes read/written is incorrect
SVR4 Error: 28: No space left on device
Additional information: -1
Additional information: 1048576

原因

归档日志目的地的磁盘空间不足。The archive log destination is out of disk space.

解决方案

在当前归档日志目的地释放磁盘空间或将目的地更改为有可用空间的目录。

要查看当前归档日志目的地设置,使用在SQL*Plus 中的archive log list 命令。

SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 629
Next log sequence to archive 631
Current log sequence 631

上述输出将表明‘Archive destination’的目录路径或将被设为USE_DB_RECOVERY_FILE_DEST以表明指定目录路径的db_recovery_file_dest参数。

要查看该参数的当前设置,发出一个show parameter命令。
SQL> show parameter db_recovery_file_dest

要更改db_recovery_file_dest log_archive_dest_1 参数,使用alter system 命令。

SQL> alter system set db_recovery_file_dest = ‘/my/new/directory/for/archivelogs’ scope=both;
SQL> alter system set log_archive_dest_1 = ‘LOCATION=/my/new/directory/for/archivelogs’ scope=both;

参考

NOTE:69739.1 – How to Turn Archiving ON and OFF in Oracle RDBMS

Comment

*

沪ICP备14014813号-2

沪公网安备 31010802001379号