ORA-13707: Either the start snapshot string or the end snapshot string is incomplete or missing key statistics.
Cause: Either the start or the end snaphots was missing or purged or had encountered errors while creating them.
Action: Verify that AWR is done taking these two snapshots, or Look in DBA_HIST_SNAP_ERROR to find what tables are missing in the start/end snapshots. 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 has valid start and end snapshots.
ORA-13707消息指出用户在使用动态性能视图(DV)中指定的快照字符串中的一个或两个快照字符串不完整或不正确。该错误通常由一个或多个关键统计不正确引起的,如前景、数据文件、表空间和控制文件。例如,尝试运行DV视图时,ORA-13707可能出现错误。
ORA-13707: either the start snapshot string or the end snapshot string is incomplete or missing key statistics
这意味着用户在使用DV视图时指定的快照字符串中缺少或者不全面,或者缺少关键数据。
1.使用SNAPSHOT_ADVISE视图排查ORA-13707错误,此视图的报表将为用户提供关于所有已保存快照的详细信息。
2.根据由SNAPSHOT_ADVISE视图提供的信息,检查所指定的DV快照中的关键统计是否完整。
3.如果所指定的DV快照中缺少关键统计,可以使用ORADI上的DBMS_DV,DROP_SNAPSHOT,CREATE_SNAPSHOT和SAVE_SNAPSHOT存储过程,删除、创建和保存一个新快照来修复ORA-13707错误。
4.重新执行DV视图,以验证ORA-13707错误是否解决。