【YashanDB知识库】YAS-02547 there is a gap in the restored archived logs on instance 1, reason: start of restored archive 35 is greater than database last archive 21

简介: 【YashanDB知识库】YAS-02547 there is a gap in the restored archived logs on instance 1, reason: start of restored archive 35 is greater than database last archive 21

本文内容来自YashanDB官网,原文内容请见 https://www.yashandb.com/newsinfo/7849017.html?templateId=1718516

【标题】错误码处理

【问题分类】执行数据库归档注册时报错

【关键字】YAS-02547

【问题描述】执行restore archivelog sequence between xxx and yyy thread 1 from searchdir '/tmp/d1' ; 语句后触发报错。

【问题原因分析】

YAS-02547 there is a gap in the restored archived logs on instance 1, reason: start of restored archive 35 is greater than database last archive 21

由于数据库中当前注册的最新归档号为21,在恢复归档文件时,必须从下一个归档(22号归档)开始进行恢复。

在实际恢复中,指定的归档范围中最早的归档号为35,因此触发报错。

【解决/规避方法】按归档生成的顺序依次进行恢复,不能跳过更早的归档,直接恢复更新的归档。

【影响范围】-

【修复版本】-

相关文章
|
26天前
|
SQL 数据库
【YashanDB知识库】YAS-02605 the current instance is not master role
【YashanDB知识库】在共享集群架构数据库上实施恢复,触发报错
|
28天前
|
数据库
【YashanDB 知识库】YAS-02547
【YashanDB 知识库】YAS-02547
|
26天前
|
数据库
【YashanDB知识库】YAS-02547
【YashanDB知识库】执行restore archivelog sequence between xxx and yyy thread 1 from searchdir '/tmp/d1' ; 语句后触发报错。
|
30天前
|
数据库
【YashanDB知识库】YAS-02547 there is a gap in the restored archived logs on instance 1, reason: start of restored archive 35 is greater than database last archive 21
【YashanDB知识库】YAS-02547 there is a gap in the restored archived logs on instance 1, reason: start of restored archive 35 is greater than database last archive 21
|
28天前
|
SQL 数据库
【YashanDB 知识库】YAS-02605 the current instance is not master role
【YashanDB 知识库】YAS-02605 the current instance is not master role
|
25天前
|
数据库
【YashanDB知识库】安装共享集群时报错:YAS-05721 invalid input parameter, reason: node name invalid
【YashanDB知识库】安装共享集群时报错:YAS-05721 invalid input parameter, reason: node name invalid
|
22天前
|
SQL 存储 关系型数据库
【YashanDB知识库】共享从 MySQL异常处理CONTINUE HANDLER的改写方法
【YashanDB知识库】共享从 MySQL异常处理CONTINUE HANDLER的改写方法
|
5天前
|
SQL 测试技术 数据库
【YashanDB知识库】IMP跨网络导入慢问题
问题现象:290M数据,本地导入2分钟,跨机导入耗时显著增加(最高30分钟)。 原因分析:`imp`逐条SQL通过网络传输至yashanDB执行,交互频繁导致性能下降。 影响版本:客户测试环境22.2.8.3。 解决方法:将导入文件上传至与yashanDB同机后使用`imp`,减少网络延迟。 经验总结:优化`imp`工具,支持直接上传文件至服务器端执行,降低网络依赖。
|
5天前
|
监控 数据库
【YashanDB 知识库】ycm 托管数据库时报错 OM host ip:127.0.0.1 is not support join to YCM
在托管数据库时,若 OM 的 IP 被设置为 127.0.0.1,将导致无法托管至 YCM,并使数据库失去监控。此问题源于安装时修改了 OM 的监听 IP。解决方法包括:将 OM 的 IP 修改为本机实际 IP 或 0.0.0.0,同时更新 env 文件及 yasom 后台数据库中的相关配置。经验总结指出,应避免非必要的后台 IP 修改,且数据库安装需遵循规范,不使用仅限本机访问的 IP(如 127.0.0.1)。
|
5天前
|
监控 网络安全 数据库
YashanDB 知识库:ycm 纳管主机安装 YCM-AGENT 时报错 “任务提交失败,无法连接主机”
在安装 ycm-agent 纳管主机时,可能出现因端口未开放导致的报错问题。此问题会阻止 YCM 对主机和数据库的监控功能,影响版本为 `yashandb-cloud-manager-23.2.1.100-linux-aarch64.tar`。原因是目标主机(如 10.149.223.121)未开放 9070 或 9071 端口。解决方法包括关闭防火墙、添加白名单或开放指定端口,需与管理员确认操作。处理过程涉及网络检查、端口测试等步骤。端口问题解决后,若再次安装报唯一键错误,需先移除失败主机再重试。

热门文章

最新文章