sqlplus internal/oracle@phj create table tmp(name varchar2(10),no number(3)); alter system switch logfile; insert into tmp values(‘liming’,112); update tmp set no=200; commit; alter system switch logfile; delete from tmp; alter system switch logfile;
SQL> select Operation,sql_redo,sql_undo 2 from v$logmnr_contents 3 where seg_name='TMP'; OPERATION SQL_REDO SQL_UNDO ----------- --------------------- -------------------------- INSERT insert into SYS.TMP…… delete from SYS.TMP …… UPDATE update SYS.TMP set NO …… update SYS.TMP set …… DELETE delete from SYS.TMP …… insert into SYS.TMP ……