Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> LogMiner continuous mode question...how to stop?
Hi folks: Here's a LogMiner exercise, with two issues.
I get results back as they show up in the redo log, which is exactly what I want of course. However, this query never actually returns...it just continues to block waiting on more change records to show up. I actually like this behavior, but I haven't found in the documents how to "end" this query without actually just killing the session executing it. Has anyone found the right way to get it to return? (Oracle9.2.0.1) I can't stop the LogMiner session the right way since this query never returns. If anyone has any suggestions, please post and/or email me.
Steps below:
supplemental_log_data_min min, supplemental_log_data_pk pk, supplemental_log_data_ui ui
SELECT * FROM v$logmnr_parameters; SELECT * FROM v$logmnr_dictionary; SELECT * FROM v$logmnr_logs; SELECT * FROM v$logmnr_logfile;
SELECT seg_owner, seg_name, sql_redo, sql_undo FROM v$logmnr_contents where seg_owner='some_owner';
DECLARE
v_count NUMBER(3,0);
BEGIN
v_count := 1;
WHILE v_count <=10 LOOP
insert into junk values(to_char(v_count));
commit;
v_count := v_count + 1;
END LOOP;
END;
/
![]() |
![]() |