index state cflags wrap# uel scn dba parent-xid nub stmt_num cmt
------------------------------------------------------------------------------------------------
0x00 9 0x00 0x11d4 0x0013 0x0000.00ae92f6 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x01 9 0x00 0x11d2 0x001a 0x0000.00ae9303 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x02 9 0x00 0x11d4 0x0016 0x0000.00ae92ed 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x03 9 0x00 0x11d6 0x0007 0x0000.00ae92f2 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x04 9 0x00 0x11d0 0x0006 0x0000.00ae92fa 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x05 9 0x00 0x11d3 0x000e 0x0000.00ae9310 0x02000014 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x06 9 0x00 0x11d5 0x0019 0x0000.00ae92fc 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x07 9 0x00 0x11d5 0x000d 0x0000.00ae92f4 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x08 9 0x00 0x11d6 0x0014 0x0000.00ae9308 0x02000014 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x09 9 0x00 0x11d4 0x000a 0x0000.00ae92e7 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x0a 9 0x00 0x11d5 0x0012 0x0000.00ae92e9 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x0b 9 0x00 0x11d3 0x0017 0x0000.00ae9300 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x0c 9 0x00 0x11d1 0x001b 0x0000.00ae930e 0x02000014 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x0d 9 0x00 0x11d4 0x0000 0x0000.00ae92f5 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x0e 9 0x00 0x11d4 0xffff 0x0000.00ae9311 0x02000014 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x0f 9 0x00 0x11d2 0x0003 0x0000.00ae92f0 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x10 9 0x00 0x11d6 0x000b 0x0000.00ae92ff 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x11 9 0x00 0x11d7 0x0008 0x0000.00ae9307 0x02000014 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x12 9 0x00 0x11d2 0x001f 0x0000.00ae92eb 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x13 9 0x00 0x11d0 0x001c 0x0000.00ae92f7 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x14 9 0x00 0x11d4 0x0015 0x0000.00ae930a 0x02000014 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x15 9 0x00 0x11d4 0x0020 0x0000.00ae930b 0x02000014 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x16 9 0x00 0x11d3 0x000f 0x0000.00ae92ee 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x17 9 0x00 0x11d4 0x0021 0x0000.00ae9301 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x18 9 0x00 0x11d3 0x0011 0x0000.00ae9306 0x02000014 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x19 9 0x00 0x11d5 0x0010 0x0000.00ae92fe 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x1a 9 0x00 0x11d4 0x0018 0x0000.00ae9304 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x1b 9 0x00 0x11d6 0x0005 0x0000.00ae930f 0x02000014 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x1c 9 0x00 0x11d3 0x001d 0x0000.00ae92f8 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x1d 9 0x00 0x11d4 0x0004 0x0000.00ae92f9 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x1e 10 0x80 0x11d2 0x0002 0x0000.00ae9241 0x02000010 0x0000.000.00000000 0x00000001 0x00000000 0
0x1f 9 0x00 0x11d2 0x0002 0x0000.00ae92ec 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x20 9 0x00 0x11d5 0x000c 0x0000.00ae930c 0x02000014 0x0000.000.00000000 0x00000001 0x00000000 1402532191
0x21 9 0x00 0x11d3 0x0001 0x0000.00ae9302 0x02000013 0x0000.000.00000000 0x00000001 0x00000000 1402532191
/////////////
//session 2:
/////////////
##用scott用户登陆,注意这里不能用SYS用户登录,否则set transaction read only不起作用,记录下snapshot SCN的近似值
sqlplus scott/sdfg0987
select 'scn before read only: '||to_char(timestamp_to_scn(sysdate),'xxxxxxxx') from dual;
'SCNBEFOREREADONLY:'||TO_CHAR(T
-------------------------------
scn before read only: ae931d
set transaction read only;
##记录当前会话的统计信息,system.clean_stat里存放了与本次测试有关的统计
select st.name,my.value from system.clean_stat st,v$mystat my where my.statistic#=st.statistic#;