My Oracle Support Banner

Flashback Database To Timestamp Failed With ORA-38729 (Doc ID 2658565.1)

Last updated on MAY 15, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Symptoms

1. A "flashback database to timestamp" on a database always failed with "ORA-38729: Not enough flashback database log data to do FLASHBACK"

 

SQL> flashback standby database to timestamp to_date('2020-03-26 09:35:00','yyyy-mm-dd hh24:mi:ss');
flashback standby database to timestamp to_date('2020-03-26 09:35:00','yyyy-mm-dd hh24:mi:ss')
*
ERROR at line 1:
ORA-38729: Not enough flashback database log data to do FLASHBACK.

2. When convert the timestamp to SCN, the "flashback standby database to scn" could work.

 

SQL> select timestamp_to_scn(to_timestamp('2020-03-26 09:35:00','yyyy-mm-dd hh24:mi:ss')) scn from dual;

SCN
----------------
5970079963088

 

SQL> flashback standby database to scn 5970079963088;

Flashback complete.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.