重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3113|回复: 0
打印 上一主题 下一主题

[Oracle] ORA-00258: NOARCHIVELOG 模式下的人工存档必须标识日志

[复制链接]
跳转到指定楼层
楼主
发表于 2021-3-14 17:47:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在查看数据库日志时发现数据库采用手工归档,但是报错:
ORA-00258: manual archiving in NOARCHIVELOG mode must identify log
MOS中的描述信息
OERR: ORA 258 manual archiving in NOARCHIVELOG mode must identify log [ID 18327.1]

Error:  ORA 258
Text:   manual archiving in NOARCHIVELOG mode must identify log
-------------------------------------------------------------------------------
Cause:  An attempt was made to archive a redo log file manually without
        specifying the sequence number, group number, or filename while the
        database was in NOARCHIVELOG mode.
Action: The name, group number, or thread and sequence number of redo log
        files must be specified to archive redo log files manually while the
        database is in NOARCHIVELOG mode.
————————————————
处理方法:

1.将数据库改为归档模式
2.使用带有指定日志组的SQL命令完成归档操作(意义不大)
alter system archive log group 1;
alter system archive log group 1
*
ERROR at line 1:
ORA-00259: log 1 of open instance ora10g (thread 1) is the current log, cannot archive
错误提示很显然,当前日志组不允许归档。

尝试归档第二组日志
alter system archive log group 2;
alter system archive log group 2
*
ERROR at line 1:
ORA-16013: log 2 sequence# 1526 does not need archiving
因为归档状态是“YES”,因此该组日志无需归档。

尝试归档第三组日志
alter system archive log group 3;
System altered.
归档成功。

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

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

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-6-26 17:43 , Processed in 0.080251 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表