unable to see DMLs in v$logmnr_contents [message #237478] |
Mon, 14 May 2007 11:04 |
Anand Ramaswamy
Messages: 111 Registered: January 2005
|
Senior Member |
|
|
Hi All,
I'll explain the steps I performed.
SESSION 1:
SQL>EXECUTE DBMS_LOGMNR.ADD_LOGFILE(LOGFILENAME => '/d1/log01a.dbf', options => dbms_logmnr.new);
SQL>EXECUTE DBMS_LOGMNR.ADD_LOGFILE(LOGFILENAME => '/d1/log02a.dbf', options => dbms_logmnr.addfile);
SQL>EXECUTE DBMS_LOGMNR.ADD_LOGFILE(LOGFILENAME => '/d1/log03a.dbf', options => dbms_logmnr.addfile);
SQL>EXECUTE DBMS_LOGMNR.START_LOGMNR(OPTIONS=>DBMS_LOGMNR.COMMITTED_DATA_ONLY);
SESSION 2:
SQL>connect development/password
SQL>INSERT INTO T1 VALUES(1, 2);
SQL>INSERT INTO T1 VALUES(3, 4);
SQL>COMMIT;
SQL>DELETE FROM T1;
SQL>COMMIT;
SESSION 1:
SQL>SELECT * FROM V$LOGMNR_CONTENTS WHERE SEG_NAME='T1';
no rows selected
SQL>
Am I doing something wrong here. I expected to see the DMLs performed by development user.
Can anyone help??
Thanks in advance
qA
|
|
|
|
Re: unable to see DMLs in v$logmnr_contents [message #237504 is a reply to message #237492] |
Mon, 14 May 2007 12:44 |
Anand Ramaswamy
Messages: 111 Registered: January 2005
|
Senior Member |
|
|
Hi Michel,
Thanks for your reply. Even now I could not see any output in v$logmnr_contents.
Please see the new sequence of events.
SESSION 1:
SQL>connect development/password
SQL>INSERT INTO T1 VALUES(1, 2);
SQL>INSERT INTO T1 VALUES(3, 4);
SQL>COMMIT;
SQL>DELETE FROM T1;
SQL>COMMIT;
SESSION 2:
SQL>EXECUTE DBMS_LOGMNR.ADD_LOGFILE(LOGFILENAME => '/d1/log01a.dbf', options => dbms_logmnr.new);
SQL>EXECUTE DBMS_LOGMNR.ADD_LOGFILE(LOGFILENAME => '/d1/log02a.dbf', options => dbms_logmnr.addfile);
SQL>EXECUTE DBMS_LOGMNR.ADD_LOGFILE(LOGFILENAME => '/d1/log03a.dbf', options => dbms_logmnr.addfile);
SQL>EXECUTE DBMS_LOGMNR.START_LOGMNR(OPTIONS=>DBMS_LOGMNR.COMMITTED_DATA_ONLY);
SESSION 2:
SQL>SELECT * FROM V$LOGMNR_CONTENTS WHERE SEG_NAME='T1';
no rows selected
SQL>
--tried lower case 't1' also in the above query
What could be the reason??
Regards
qA
|
|
|
|
|