ORA-13711: Some snapshots in the range [string, string] are missing key statistics. ORACLE 报错 故障修复 远程处理

文档解释

ORA-13711: Some snapshots in the range [string, string] are missing key statistics.

Cause: Some AWR tables encountered errors while creating one or more snapshots in the given range. The data present in one or more of these missing tables is necessary to perform an ADDM analysis.

Action: Look in DBA_HIST_SNAP_ERROR to find what tables are missing in the given snapshot range. Use the ERROR_NUMBER column in that view together with the alert log to identify the reason for failure and take necessary action to prevent such failures in the future. Try running ADDM on a different snapshot range that does not include any incomplete snapshots.

ORA-13711 错误指示在指定范围[字符串,字符串]内的某些快照缺少关键统计信息。

把错误代码:ORA-13711和错误信息一起看,我们会发现:

当你使用Oracle数据库时,系统检查到在最近创建或更新的快照中,有一些缺失的关键统计信息。系统把这个错误报告发回给你,即ORA-13711: Some snapshots in the range [string, string] are missing key statistics.

官方解释

该错误是由于在任何一个自动收集快照统计信息期间缺失其中一项快照,这会引起不可抗拒的ORA-13711错误。这种情况下,快照统计信息将不完整。

常见案例

ORA-13711错误最常见的情况发生在使用数据库的自动快照功能时。这将允许数据库系统定期收集快照,以获取有关数据库表或其他对象的有用信息。但是,如果某个快照缺失,就会发生该错误。

正常处理方法及步骤

1.确保有关快照统计信息的自检已启用:

一旦确保了自检已经启用,你就可以尝试重新收集快照统计信息,并检查这是否可以解决ORA-13711错误。

2.使用完整的快照收集数据:

如果你发现任何快照正在缺失,就必须马上开始使用完整的快照收集数据,以确保系统性能和可预测性。

3.检查丢失的快照以及它们缺失的原因:

最后,如果ORA-13711错误依然存在,就需要尝试弄清楚那些快照是如何丢失的,以及丢失的原因。


数据运维技术 » ORA-13711: Some snapshots in the range [string, string] are missing key statistics. ORACLE 报错 故障修复 远程处理