undo transaction slot被覆盖引起ORA(7)

index  state cflags  wrap#    uel        scn            dba            parent-xid    nub    stmt_num    cmt

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

0x00    9    0x00  0x11de  0x0013  0x0000.00ae96f4  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x01    9    0x00  0x11dc  0x001a  0x0000.00ae9715  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x02    9    0x00  0x11de  0x0016  0x0000.00ae96e2  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x03    9    0x00  0x11e0  0x0007  0x0000.00ae96eb  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x04    9    0x00  0x11da  0x0006  0x0000.00ae9700  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x05    9    0x00  0x11dd  0x000e  0x0000.00ae9733  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x06    9    0x00  0x11df  0x0019  0x0000.00ae9703  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x07    9    0x00  0x11df  0x000d  0x0000.00ae96ee  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x08    9    0x00  0x11e0  0x0014  0x0000.00ae9721  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x09    9    0x00  0x11df  0x000a  0x0000.00ae973c  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x0a    9    0x00  0x11e0  0x0012  0x0000.00ae973f  0x0200000f  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x0b    9    0x00  0x11dd  0x0017  0x0000.00ae970c  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x0c    9    0x00  0x11db  0x001b  0x0000.00ae972d  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x0d    9    0x00  0x11de  0x0000  0x0000.00ae96f1  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x0e    9    0x00  0x11de  0x001e  0x0000.00ae9736  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x0f    9    0x00  0x11dc  0x0003  0x0000.00ae96e8  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x10    9    0x00  0x11e0  0x000b  0x0000.00ae9709  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x11    9    0x00  0x11e1  0x0008  0x0000.00ae971e  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x12    9    0x00  0x11dd  0xffff  0x0000.00ae9742  0x0200000f  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x13    9    0x00  0x11da  0x001c  0x0000.00ae96f7  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x14    9    0x00  0x11de  0x0015  0x0000.00ae9724  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x15    9    0x00  0x11de  0x0020  0x0000.00ae9727  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x16    9    0x00  0x11dd  0x000f  0x0000.00ae96e5  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x17    9    0x00  0x11de  0x0021  0x0000.00ae970f  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x18    9    0x00  0x11dd  0x0011  0x0000.00ae971b  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x19    9    0x00  0x11df  0x0010  0x0000.00ae9706  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x1a    9    0x00  0x11de  0x0018  0x0000.00ae9718  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x1b    9    0x00  0x11e0  0x0005  0x0000.00ae9730  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x1c    9    0x00  0x11dd  0x001d  0x0000.00ae96fa  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x1d    9    0x00  0x11de  0x0004  0x0000.00ae96fd  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x1e    9    0x00  0x11dc  0x0009  0x0000.00ae9739  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x1f    9    0x00  0x11dc  0x0002  0x0000.00ae96df  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x20    9    0x00  0x11df  0x000c  0x0000.00ae972a  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

0x21    9    0x00  0x11dd  0x0001  0x0000.00ae9712  0x0200000e  0x0000.000.00000000  0x00000001  0x00000000  1402532364

##dump 所有的undo block,以便后面作分析

alter system dump datafile 8 block min 9 block max 31;

/////////////

//session 2:

/////////////

##遍历scott.tabnow1表,查到了session 1修改前的拷贝

select * from scott.tabnow1;

USERNAME                          USER_ID CREATED

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

XS$NULLLL                      2147483638 21-OCT-11

NEWUSER                                84 12-MAR-14

SCOTTTTT                              83 21-OCT-11

OWBSYS_AUDIT                          82 21-OCT-11

OWBSYS                                78 21-OCT-11

APEX                                  77 21-OCT-11

APEX_PUBLIC                            75 21-OCT-11

FLOWS_FILE                            74 21-OCT-11

MGMT_VIEW                              73 21-OCT-11

DDD                                    34 28-MAY-14

##会话中事务表一致性读相关的统计值增加

select st.name,my.value from system.clean_stat st,v$mystat my where my.statistic#=st.statistic#;

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/31adee041cbfddebdb0c76723168ed2c.html