SOLVED

ORA-08189: Cannot Flashback The Table Because Row Movement Is Not Enabled

Asked by OracleDba11 viewsoracle
1
2
3
ORA-08189: Cannot Flashback The Table Because Row Movement Is Not Enabled

While permorming flashback on a table, got this error:
#oracle#error

Solutions(1)

Accepted Solution
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
To flashback a table, we need to enable row movement.

select table_name,ROW_MOVEMENT from dba_tables where table_name='DEPT'

TABLE_NAME ROW_MOVE

----------------------- --------

DEPT DISABLED

SQL> alter table dbaclass.DEPT enable row movement;

Table altered.

SQL> select table_name,ROW_MOVEMENT from dba_tables where table_name='DEPT';

TABLE_NAME ROW_MOVE

----------------------- --------

DEPT ENABLED

Now run flashback again.

flashback table dbaclass.DEPT to timestamp sysdate - 1;

Flashback complete.
OracleDba

Post Your Solution