问题描述
嗨,我创建了保留1个月的Oracle flashback存档,并在几个表上启用了此存档。但是,当我执行如下版本查询时,出现错误 “ORA-08181: 指定的数字不是有效的系统更改编号。ORA-06512: 在“ SYS.TIMESTAMP_TO_SCN ”。而且我并没有始终如一地得到这个,有时我可以查询10天,对于某些表,我无法查询过去2天。
在时间戳minvalue和maxvalue之间从tbl1版本中选择版本 _ starttime
或者
在时间戳sysdate-2和sysdate之间从tbl1版本中选择versions_starttime
We do have AUTO undo management and undo retention is 24 hours and retention guarantee is set. As per many forums, its mentioned we get this Err或者when we try to look far back and as per the below link, it should be max( auto-tuned undo retention period, retention times of all flashback archives in the database).
https://docs.oracle.com/database/121/SQLRF/functions175.htm#SQLRF06325
Can someone help why we get this Err或者irrespective of FDA retention being one month?
在时间戳minvalue和maxvalue之间从tbl1版本中选择版本 _ starttime
或者
在时间戳sysdate-2和sysdate之间从tbl1版本中选择versions_starttime
We do have AUTO undo management and undo retention is 24 hours and retention guarantee is set. As per many forums, its mentioned we get this Err或者when we try to look far back and as per the below link, it should be max( auto-tuned undo retention period, retention times of all flashback archives in the database).
https://docs.oracle.com/database/121/SQLRF/functions175.htm#SQLRF06325
Can someone help why we get this Err或者irrespective of FDA retention being one month?
专家解答
你可能会碰到这个虫子
错误27092508-Fashback查询失败,ORA-08181
我认为您需要聊天以获得支持,以便他们可以查看您的SMON_SCN_TIME表以确保其正常工作
错误27092508-Fashback查询失败,ORA-08181
我认为您需要聊天以获得支持,以便他们可以查看您的SMON_SCN_TIME表以确保其正常工作
文章转载自ASKTOM,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。
评论
相关阅读
【纯干货】Oracle 19C RU 19.27 发布,如何快速升级和安装?
Lucifer三思而后行
757次阅读
2025-04-18 14:18:38
Oracle RAC 一键安装翻车?手把手教你如何排错!
Lucifer三思而后行
647次阅读
2025-04-15 17:24:06
Oracle数据库一键巡检并生成HTML结果,免费脚本速来下载!
陈举超
569次阅读
2025-04-20 10:07:02
【ORACLE】你以为的真的是你以为的么?--ORA-38104: Columns referenced in the ON Clause cannot be updated
DarkAthena
525次阅读
2025-04-22 00:13:51
【活动】分享你的压箱底干货文档,三篇解锁进阶奖励!
墨天轮编辑部
516次阅读
2025-04-17 17:02:24
【ORACLE】记录一些ORACLE的merge into语句的BUG
DarkAthena
497次阅读
2025-04-22 00:20:37
一页概览:Oracle GoldenGate
甲骨文云技术
482次阅读
2025-04-30 12:17:56
火焰图--分析复杂SQL执行计划的利器
听见风的声音
440次阅读
2025-04-17 09:30:30
3月“墨力原创作者计划”获奖名单公布
墨天轮编辑部
381次阅读
2025-04-15 14:48:05
OR+DBLINK的关联SQL优化思路
布衣
372次阅读
2025-05-05 19:28:36