Hi,
You can see the IMU stuff in shared pool:
SQL> select * from v$sgastat where name like 'KTI%';
POOL NAME BYTES ------------ ---------------------------------------- ---------- shared pool KTI latch structure 1000 shared pool KTI-UNDO 686280 shared pool KTI pool states 12 shared pool KTI latches 160
SQL> drop table t;
Table dropped.
SQL> create table t as select * from all_objects;
Table created.
SQL> select n.name, s.value from v$statname n, v$sesstat s where n.statistic# = s.statistic# and s.sid = (select sid from v$mystat where rownum = 1) and n.name in ('IMU Flushes','IMU commits'); 2 3 4 NAME VALUE ---------------------------------------------------------------- ---------- IMU commits 0 IMU Flushes 0
SQL> update t set owner = 'X' where rownum = 1;
1 row updated.
SQL> select n.name, s.value from v$statname n, v$sesstat s where n.statistic# = s.statistic# and s.sid = (select sid from v$mystat where rownum = 1) and n.name in ('IMU Flushes','IMU commits'); 2 3 4 NAME VALUE ---------------------------------------------------------------- ---------- IMU commits 0 IMU Flushes 0
SQL> update t set owner = 'X' where rownum <= 200;
200 rows updated.
SQL> select n.name, s.value from v$statname n, v$sesstat s where n.statistic# = s.statistic# and s.sid = (select sid from v$mystat where rownum = 1) and n.name in ('IMU Flushes','IMU commits'); 2 3 4 NAME VALUE ---------------------------------------------------------------- ---------- IMU commits 0 IMU Flushes 1
Tanel.
Hello everybody,
I don't believe that change vectors are disappearing from REDO files. Presumably they are not. But the fact is that due some optimization or other reason Log Minder is not capable to retrieve data from an archive log file for first 17 records updated by an update operation. . The FULL Test Case text is provided below . VJVDROPME:ASR02> update vjv_dropme_upd2 VJVDROPME:ASR02> set object_name = 'HERE YOU GO.' VJVDROPME:ASR02> where rownum<=20 VJVDROPME:ASR02> ; -------------=> 20 rows updated. <=------------- VJVDROPME:ASR02> commit; ... Starting Log Minder session commands … VJVDROPME:ASR02> SELECT a.sql_redo VJVDROPME:ASR02> FROM V$LOGMNR_CONTENTS a VJVDROPME:ASR02> where a.seg_name='VJV_DROPME_UPD2'; SQL_REDO ---------------------------------------------------------------------------------------------------- update "VJVDROPME"."VJV_DROPME_UPD2" set "OBJECT_NAME" = 'HERE YOU GO.' where "OBJECT_NAME" = 'I_CDE update "VJVDROPME"."VJV_DROPME_UPD2" set "OBJECT_NAME" = 'HERE YOU GO.' where "OBJECT_NAME" = 'IND$' update "VJVDROPME"."VJV_DROPME_UPD2" set "OBJECT_NAME" = 'HERE YOU GO.' where "OBJECT_NAME" = 'SEG$' -------------=> 3 rows selected. <=------------- . I have tried to increase updated rows count to 10k, 20k, in any case Log Minder not capable to retrieve information about the fist few records. . Just wonder if somebody has any idea? So far it is look like we can't relay on Log Minder using it for example auditing purposes.
PS May be I have made an error creating the test case. Please be so kind, point me to the error.
Jurijs
-- //www.freelists.org/webpage/oracle-l