Log miner doesn't show all transactions on a table

I'm playing a little with log miner on oracle 11gR2 on a 32bit CentOS Linux install, but it looks like it's not showing me all DML on my test table. Am I doing something wrong?
Hi, there's my test case:
- Session #1, create table and insert first row:
SQL> create table stolf.test_table (
col1 number,
col2 varchar(10),
col3 varchar(10),
col4 varchar(10));
2 3 4 5
Table created.
SQL> insert into stolf.test_table (col1, col2, col3, col4) values ( 0, 20100305, 0, 0);
1 row created.
SQL> commit;
SQL> select t.ora_rowscn, t.* from stolf.test_table t;
ORA_ROWSCN COL1 COL2 COL3 COL4
1363624 0 20100305 0 0
- Execute shell script to insert a thousand lines into table:
for i in `seq 1 1000`; do
sqlplus -S stolf/<passwd><<-EOF
insert into stolf.test_table (col1, col2, col3, col4) values ( $ , 20100429, ${i}, ${i} );
commit;
EOF
done
- Session #1, switch logfiles:
SQL> alter system switch logfile;
System altered.
SQL> alter system switch logfile;
System altered.
SQL> alter system switch logfile;
System altered.+
- Session #2, start logminer with continuous_mine on, startscn = first row ora_rowscn, endscn=right now. The select on v$logmnr_contents should return at least a thousand rows, but it returns three rows instead :
BEGIN
SYS.DBMS_LOGMNR.START_LOGMNR(STARTSCN=>1363624, ENDSCN=>timestamp_to_scn(sysdate), OPTIONS => sys.DBMS_LOGMNR.DICT_FROM_ONLINE_CATALOG + sys.DBMS_LOGMNR.COMMITTED_DATA_ONLY + SYS.DBMS_LOGMNR.CONTINUOUS_MINE);
END;
SQL> select SCN, SQL_REDO, SQL_UNDO FROM V$LOGMNR_CONTENTS where SQL_REDO IS NOT NULL AND seg_owner = 'STOLF';
SCN
SQL_REDO
SQL_UNDO
1365941
insert into "STOLF"."TEST_TABLE"("COL1","COL2","COL3","COL4") values ('378','20100429','378','378');
delete from "STOLF"."TEST_TABLE" where "COL1" = '378' and "COL2" = '20100429' and "COL3" = '378' and "COL4" = '378' and ROWID = 'AAASOHAAEAAAATfAAB';
1367335
insert into "STOLF"."TEST_TABLE"("COL1","COL2","COL3","COL4") values ('608','20100429','608','608');
delete from "STOLF"."TEST_TABLE" where "COL1" = '608' and "COL2" = '20100429' and "COL3" = '608' and "COL4" = '608' and ROWID = 'AAASOHAAEAAAATfAAm';
1368832
insert into "STOLF"."TEST_TABLE"("COL1","COL2","COL3","COL4") values ('849','20100429','849','849');
delete from "STOLF"."TEST_TABLE" where "COL1" = '849' and "COL2" = '20100429' and "COL3" = '849' and "COL4" = '849' and ROWID = 'AAASOHAAEAAAATbAAA';+

Enable supplemental logging.
Please see below,
SQL> shut immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area  422670336 bytes
Fixed Size                  1300352 bytes
Variable Size             306186368 bytes
Database Buffers          109051904 bytes
Redo Buffers                6131712 bytes
alter databsDatabase mounted.
SQL>
  2
SQL> alter database archivelog;
Database altered.
SQL> alter database open;
Database altered.
SQL> alter system checkpoint;
System altered.
SQL> drop table test_Table purge;
Table dropped.
SQL> create table test_table(
  2  col1 number,
col2 varchar(10),
col3 varchar(10),
col4 varchar(10));  3    4    5
Table created.
SQL> insert into test_table (col1, col2, col3, col4) values ( 0, 20100305, 0, 0);
1 row created.
SQL> commit;
Commit complete.
SQL> select t.ora_rowscn, t.* from test_table t;
ORA_ROWSCN       COL1 COL2       COL3       COL4
   1132572          0 20100305   0          0
SQL> for i in 1..1000 loop
SP2-0734: unknown command beginning "for i in 1..." - rest of line ignored.
SQL> begin
  2  for i in 1..1000 loop
  3  insert into test_table values(i,20100429,i,i);
  4  end loop; commit;
  5  end;
  6  /
PL/SQL procedure successfully completed.
SQL> alter system switch logfile;
System altered.
SQL> /
SQL> select * from V$version;
BANNER
--------------------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE    11.1.0.6.0      Production
TNS for Linux: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - ProductionIn the second session,
SQL> l
  1  select SCN, SQL_REDO, SQL_UNDO FROM V$LOGMNR_CONTENTS where SQL_REDO IS NOT NULL
  2* and seg_owner='SYS' and table_name='TEST_TABLE'
--------------------------------------------------------------------------------insert into "SYS"."TEST_TABLE"("COL1","COL2","COL3","COL4") values ('2','20100429','2','2');
delete from "SYS"."TEST_TABLE" where "COL1" = '2' and "COL2" = '20100429' and "COL3" = '2' and "COL4" = '2' and ROWID = 'AAASPKAABAAAVpSAAC';
   1132607
insert into "SYS"."TEST_TABLE"("COL1","COL2","COL3","COL4") values ('3','2010042
       SCN
SQL_REDO
--------------------------------------------------------------------------------SQL_UNDO
--------------------------------------------------------------------------------9','3','3');
delete from "SYS"."TEST_TABLE" where "COL1" = '3' and "COL2" = '20100429' and "COL3" = '3' and "COL4" = '3' and ROWID = 'AAASPKAABAAAVpSAAD';
   1132607
insert into "SYS"."TEST_TABLE"("COL1","COL2","COL3","COL4") values ('4','20100429','4','4');
<<trimming the output>>
--------------------------------------------------------------------------------429','997','997');
delete from "SYS"."TEST_TABLE" where "COL1" = '997' and "COL2" = '20100429' and
"COL3" = '997' and "COL4" = '997' and ROWID = 'AAASPKAABAAAVpVACU';
   1132607
insert into "SYS"."TEST_TABLE"("COL1","COL2","COL3","COL4") values ('998','20100429','998','998');
       SCN
SQL_REDO
--------------------------------------------------------------------------------SQL_UNDO
--------------------------------------------------------------------------------delete from "SYS"."TEST_TABLE" where "COL1" = '998' and "COL2" = '20100429' and
"COL3" = '998' and "COL4" = '998' and ROWID = 'AAASPKAABAAAVpVACV';
   1132607
insert into "SYS"."TEST_TABLE"("COL1","COL2","COL3","COL4") values ('999','20100429','999','999');
delete from "SYS"."TEST_TABLE" where "COL1" = '999' and "COL2" = '20100429' and
       SCN
SQL_REDO
--------------------------------------------------------------------------------SQL_UNDO
--------------------------------------------------------------------------------"COL3" = '999' and "COL4" = '999' and ROWID = 'AAASPKAABAAAVpVACW';
   1132607
insert into "SYS"."TEST_TABLE"("COL1","COL2","COL3","COL4") values ('1000','20100429','1000','1000');
delete from "SYS"."TEST_TABLE" where "COL1" = '1000' and "COL2" = '20100429' and "COL3" = '1000' and "COL4" = '1000' and ROWID = 'AAASPKAABAAAVpVACX';
       SCN
SQL_REDO
--------------------------------------------------------------------------------SQL_UNDO
1000 rows selected.
SQL>HTH
Aman....

Similar Messages

  • Distiller 'default settings' blank and doesn't show all job options

    We're experiencing a problem with Adobe Distiller 9.3.0 being blank next to "Default Settings" with the error, "Error in /Library/Application Support/Adobe/Adobe PDF/Settings/PDFX4 2008.joboptions: /CheckCompliance out of range".
    I can delete that joboptions file, which removes the error message, but the Default Settings pulldown menu still is blank and doesn't show all of the joboptions files that it should.  Only 2 of them are showing up in the pulldown.
    How can I fix this?
    I've tried deleting all joboptions files and letting Adobe self repair them and have tried deleting a few com.adobe.distiller* preference files and nothing yet seems to work.
    Thanks!

    I am connected to a network but we don't share applications. CS5 Design Premium is installed on my machine.
    See screenshot below:
    What is the relevance of this? We seem to have the same location for the output module file.
    Why does mine not work?
    See screenshot below:
    The Adobe Output Module is in my Startup Scripts but it still doesn't work.

  • Syncing iphone and can't seem to transfer audiobooks that i have put in a playlist.  Sync menu doesn't show all playlists.  Help

    syncing iphone and can't seem to transfer audiobooks that i have put in a playlist.  Sync menu doesn't show all playlists.  Help

    I have the same problem with podcast playlists.  When I go to the music window in my iPhone devices section, the playlists I have created on my macbook pro in iTunes do not appear as an option to sync with the iPhone.  I know some web radios streams, like the BBC, won't transfer because of compatibility issues, but the playlists of podcasts that I have created consist entirely of podcasts downloaded from the podcasts section on the iTunes Music Store.  They used to show up and sync properly before I upgraded to OS 5.1.1, but now they don't.
    Does anyone have a fix and am I right in surmising that the cause is a glitch in OS 5.1.1?

  • ICal doesn't show all text for the activity

    When I updated to iCal version 8.0 i noticed that when I am in week-view, iCal doesn't show all the text for an activity, although there is plenty of room. For example I have a lecture from 9 am - 4 pm and in the activity I put down all the things I have to do, but it only shows the first line for my activity. I need to drag the box or double click on it to see all the text. Can I change this?

    Gabriella,
    Sometimes making the Calendar window bigger, or using full screen allows additional text to be displayed.
    View>"Make Text Smaller" is also an option for those with Eagle Eyes.

  • ATV doesn't show all photos in slideshow

    My ATV3 doesn't show all my photos in slideshow. It seems to repeat the same, say 50, over and over, even though I have about 400 in the folder on my windows7 PC.
    Whats the fix?
    Thanks
    Andy

    For the avoidance of doubt are you talking about the screensaver or the slideshows.
    Slideshows should show all your photos, but screensavers will not. Screensavers need to save the photos to the Apple TVs flash storage, the Apple TV doesn't have a lot of this and so limits the number of photos it uses.

  • Apple TV doesn't show all pictures in photo stream

    I have about 1000 pictures in my photo stream, but my Apple TV doesn't show all of them. It shows only 304 photos. How can I get all my photos to my Apple TV via photo stream? I have the latest Apple TV and the latest operating system on it.
    Edit:
    And I have tried to reset Apple Tv and photo stream.

    Welcome to the Apple Community.
    Photostream in the cloud only keeps photos from the last 30 days (subject to a 1,000 photo limit). When photostream syncs the photos to your device they will stay there (subject to a 1,000 photo limit) until deleted, which means you may well have more photos in your photostream album on your device than there are in photostream in the cloud.
    The consequence of this is that if you turn photostream off and on again on your device (or enable it for the first time), it will only be populated with photos from the last 30 days, which may not be all the photos that were previously in the photostream album on that device.

  • HP 5550 web server doesn't show all required tabs

    Good afternoon!
    I have an issue with web server on hp 5550 Laserjet. Everything was good, but after reboot, it doesn't show all tabs such as "Information", "Setting", "Networking". It shows only "Home" and "Networking"...
    Do someone know how to fix this issue?
    Thanks in advance!
    Any help will be appreciated!
    Igro

    Your best bet would be to try Rapidweaver: www.realmacsoftware.com
    Best,
    Andrew
    I am not very into this stuff (can't write HTML),
    do you might have a suggestion for an other
    WebsiteBuilder?
    We can't afford GoLive (which was very cool in the
    early days built by CyberStudio) nor have I time to
    learn or buy the complex Dreamweaver.

  • Package Body in the tree doesn't show all procedures

    I am using Sql Developer 1.0.0.14.67 on Win XP Professional,
    DB servers Oracle 9i on both Linux Red HAt and Win XP Professional
    I have troubles with one of packages - in the tree under Package Body SQL Developer doesn't show all procedures of this package body.
    On the right panel all package body source is shown, but in the tree under Package Body it shows names of only procedures up to certain line in the source code - up to line where first Private (not included in Package Spec) procedure code starts.
    BUT, there are more Public procedures in package body below this Private procedure - and all of procedures below first private are not included in the tree under Package Body

    I find this quite annoying. I cannot use the navigation panel on the left to find the location of all functions and procedures in the package body. The 'missing' procedures are listed under the package spec, and double clicking on them takes me to the spec and not the body.
    I'm running v1.2.1.32.13. Is this a know issue and is there a fix planned?

  • Ipod doesn't show all the songs listed in Itunes even after sync is complete

    Ipod doesn't show all the songs listed in Itunes even after sync is complete

    I'm going through the same thing, I've tried de-authorizing and re-authorizing my computer and that seems to help. I haven't gotten all my songs back yet, but I've got about 75% of it back.

  • M3000: show-disks doesn't show all disk.

    Hi all,
    I have to setup one M3000, when I want to create a devalias, I type show-disks, but it doesn't show all the disk, it only show 2
    a) /pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/disk
    b) /pci@0,600000/pci@0/pci@0/scsi@0/disk
    So, a is disk0 1 2 3 ?
    and
    b is disk 0 1 2 3?
    thanks
    Please help
    ====================================================
    {0} ok probe-scsi-all
    /pci@0,600000/pci@0/pci@8/SUNW,qlc@0
    QLogic QLE2560 Host Adapter FCode(SPARC): 2.03 06/30/08
    Wait for link up -
    Firmware version 4.03.02
    Fibre Channel Link down
    Possible causes: No cable, incorrect connection mode or data rate
    SFP state: 8Gb Present
    /pci@0,600000/pci@0/pci@0/scsi@0
    MPT Version 1.05, Firmware Version 1.31.00.00
    Target 0
    Unit 0 Disk TOSHIBA MBF2600RC 3706 1172123568 Blocks, 600 GB
    SASAddress 50000393e813d912 PhyNum 0
    Target 1
    Unit 0 Disk TOSHIBA MBF2600RC 3706 1172123568 Blocks, 600 GB
    SASAddress 50000393d84aaf3e PhyNum 1
    Target 2
    Unit 0 Disk TOSHIBA MBF2600RC 3706 1172123568 Blocks, 600 GB
    SASAddress 50000393d84ab082 PhyNum 2
    Target 3
    Unit 0 Disk TOSHIBA MBF2600RC 3706 1172123568 Blocks, 600 GB
    SASAddress 50000393e8392a42 PhyNum 3
    Target 4
    Unit 0 Removable Read Only device TEAC DV-W28S-W J.0A
    SATA device PhyNum 4
    {0} ok
    {0} ok show-disks
    a) /pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/disk
    b) /pci@0,600000/pci@0/pci@0/scsi@0/disk
    c) /iscsi-hba/disk
    q) NO SELECTION
    Enter Selection, q to quit: a
    /pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/disk has been selected.
    Type ^Y ( Control-Y ) to insert it in the command line.
    e.g. ok nvalias mydev ^Y
    for creating devalias mydev for /pci@0,600000/pci@0/pci@8/SUNW,qlc@0/fp@0,0/disk
    {0} ok

    Hi.
    It's not bug, it's a feture. :)
    show-disks show available controlles, that can have connected disk.
    For create alias you should manualy add what disks exactly you want use.
    disk0 /pci@0,600000/pci@0/pci@0/scsi@0/disk@0
    disk1 /pci@0,600000/pci@0/pci@0/scsi@0/disk@1
    disk2 /pci@0,600000/pci@0/pci@0/scsi@0/disk@2
    disk3 /pci@0,600000/pci@0/pci@0/scsi@0/disk@3
    Generaly this aliases alredy created at POST.
    Check output of devalias
    Regards.

  • IPhone doesn't show all music when I connect to network in iTunes

    Hi
    In iTunes Preferences on my Mac I've ticked the button to make all my music available over the network.
    When I use the Share option in iTunes on my iPhone it doesn't show all the music on my Mac. Is there something else I should set to make this work?
    Thanks
    Flybridge

    PUSH

  • My Dock doesn't show all applications with shortcut

    My Dock doesn't show all applications with shortcut
    Apple tab only shows some applications on my list not all, anyone know why? I went under system settings to fix it and there is no option for it.
    Thanks!

    Perhaps I don't understand your question, but if you think that the doc shows every application you have on the computer, this is incorrect. If you want certain applications to be shown on the dock you have to add them to the dock. The dock comes preset with a few select Applications Apple wants to feature but you are free to add others or remove ones you don't use.
    Patrick

  • Why Zinio doesn't show all issues on iPhone 4 but works correctly on ipad?

    Why Zinio doesn't show all issues on iPhone 4 but works correctly on ipad?
    The same issue is not present on iPhone 4 but exists on iPad
    Can anyone help?

    Try http://www.lemkesoft.com/ GraphicConverter.

  • Login Window doesn't show all account

    Hi all folks,
    I migrate an old OS X Leopard with some Accounts to OS X Yosemite but the Login Window doesn't show all Accounts.
    And the Guest Account and the Other Account icon is outside the screen.
    Any idea how to order the Accounts in the Login Window, it seems to be the Login Window can't handle more than five Accounts.
    Thanks for any suggestion,
    Lutz

    Hi again,
    Thanks for your reply.
    I have done the unbind and performed the bind operation again, but its still happening. I have now put a second system in and its doing it on that one too.
    I was wonding if there is some way of making sure that Samba is fully started before the login window appears.
    Thanks,
    Andrew McCall

  • Application Manager doesn't show all apps

    When launching the Application Manager it starts up great but all apps does not show.
    When logging in to my account at Adobe and click "Try" on Premiere Pro, the application manager opens up but there is no sign of Premiere.
    Same thing with SpeedGrade and After Effects.
    What's wrong? Why doesn't all apps show?       

    We had that problem and when I asked tech support he asked me whether I had a 64-bit OS. If you don't, Premiere Pro doesn't show up since it's a 64-bit application. If you do have a 64-bit OS, then you have a different problem and should probably contact tech support.
    Good luck!
    Linda

Maybe you are looking for

  • How many episodes can you have?

    Is there a limit to how many episodes you can have in a single feed? Suppose you podcast a weekly show, happily adding new items for each episode you create. Suppose, too, that you don't want to get rid of old episodes just in case you get a new subs

  • Missing Wraptor DCP Format for Export

    Good morning. I have a fresh install of Windows 7 64bit and a new install of Premiere Pro CC 2014 8.1.0 (81) Build.  When opening a previous project from Premiere Pro CC I do not have the Wraptor DCP format for exporting.  If I create a new project a

  • Namespace in Payload

    Hi, I have completed the configuration and design to receive the invoice message from our partners. As there are 2 partners, I have configured receivers in Receiver determination by defining the conditions. It is not working if the payload contains n

  • Pan and Zoom in a Windows instead of Full Screen?

    Hi, Tried using the Pan & Zoom and found it very difficult to work with. I had an image I wanted to be displayed on the screen but I only wanted it to use 1/3 of the screen. I sized the image and then went to pan/zoom. The image re-sized to full scre

  • Pagebreaks in adobe forms

    Hi, I have a case at hand where a pdf is generated and is running fine, however there is a huge page break(empty space) in between the pages heading and content. All I that have is the pdf(with blank space in between) and the name of the form. I have