|
反sql的命令已经执行了
alter database add supplemental log data;
alter database add supplemental log data ( primary key ) columns;
先执行
update hr.employees set salary=salary*5;
再查询,能看到107行记录
select * from flashback_Transaction_query
where table_name='EMPLOYEES' and logon_user='hr';
但是此后,在此修改了employee_id=100的salary值
update employees set salary=25000 where employee_id=100;
再查询的时候,看不到修改salary=25000 的结果
select * from flashback_Transaction_query
where table_name='EMPLOYEES' and logon_user='hr';
同时几个versions_xid查询出来是空值
select versions_xid,versions_startscn,versions_endscn,versions_operation,SALARY
from hr.employees
versions between scn minvalue and maxvalue
where employee_id=100
;
不明白为什么会这样?中间是否漏做了什么? |
|