Oracle stream not working as Logminer is down

Hi,
Oracle streams capture process is not capturing any updates made on table for which capture & apply process are configured.
Capture process & apply process are running fine showing enabled as status & no error. But, No new records are captured in ‘streams_queue_table’ when I update record in table, which is configured for capturing changes.
This setup was working till I got ‘ORA-01341: LogMiner out-of-memory’ error in alert.log file. I guess logminer is not capturing the updates from redo log.
Current Alert log is showing following lines for logminer init process
LOGMINER: Parameters summary for session# = 1
LOGMINER: Number of processes = 3, Transaction Chunk Size = 1
LOGMINER: Memory Size = 10M, Checkpoint interval = 10M
But same log was like this before
LOGMINER: Parameters summary for session# = 1
LOGMINER: Number of processes = 3, Transaction Chunk Size = 1
LOGMINER: Memory Size = 10M, Checkpoint interval = 10M
LOGMINER: session# = 1, reader process P002 started with pid=18 OS id=5812
LOGMINER: session# = 1, builder process P003 started with pid=36 OS id=3304
LOGMINER: session# = 1, preparer process P004 started with pid=37 OS id=1496We can clearly see reader, builder & preparer process are not starting after I got Out of memory exception in log miner.
To allocate more space to logminer, I tried to setup tablespace to logminer I got 2 exception which was contradicting each other error.
SQL> exec DBMS_LOGMNR.END_LOGMNR();
BEGIN DBMS_LOGMNR.END_LOGMNR(); END;
*ERROR at line 1:
ORA-01307: no LogMiner session is currently activeORA-06512: at "SYS.DBMS_LOGMNR", line 76
ORA-06512: at line 1
SQL> EXECUTE DBMS_LOGMNR_D.SET_TABLESPACE('logmnrts');
BEGIN DBMS_LOGMNR_D.SET_TABLESPACE('logmnrts'); END;
*ERROR at line 1:
ORA-01356: active logminer sessions foundORA-06512: at "SYS.DBMS_LOGMNR_D", line 232
ORA-06512: at line 1
When I tried stopping logminer exception was ‘no logminer session is active’, But when I tried to setup tablespace exception was ‘active logminer sessions found’. I am not sure how to resolve this issue.
Please let me know how to resolve this issue.
Thanks
siva

The Logminer session associated with a capture process is a special kind of session which is called a "persistent session". You will not be able to stop it using DBMS_LOGMNR. This package controls only non-persistent sessions.
To stop the persistent LogMiner session you must stop the capture process.
However, I think your problem is more related to a lack of RAM space instead of tablespace (i. e, disk) space. Try to increase the size of the SGA allocated to LogMiner, by setting capture parameter SGASIZE. I can see you are using the default of 10M, which may be not enough for your case. Of course, you will have to increase the values of init parameters streams_pool_size, sga_target/sga_max_size accordingly, to avoid other memory problems.
To set the SGASIZE parameter, use the PL/SQL procedure DBMS_CAPTURE_ADM.SET_PARAMETER. The example below would set it to 100Megs:
begin
DBMS_CAPTURE_ADM.set_parameter('<name of capture process','_SGA_SIZE','100');
end;
I hope this helps.
Ilidio.

Similar Messages

  • Oracle Streams not working after database restart

    Hi,
    I am new at this so hope that somebody out there can give me some guidance.. I have managed to setup the streams properly on both my 10g database as per the scripts given in StreamsAdminConfig.sql and StreamsSetup.sql.. It worked beautifully on both direction.
    However when i restarted DB1.. suddenly the replication become just one directional only, namely from DB1 -> DB2. I have tried to do DBMS_STREAMS_ADM.STOP_APPLY, STOP_CAPTURE, START_APPLY, START_CAPTURE many times on both DB1 and DB2 but still it works only in one direction.
    Later I tried to restart both databases and not it does not work at all (both direction).. Tried restarting the apply and capture process many times too but get no success. Any idea what I could check or try to find out what when wrong. Thanks.
    regards,
    thamch

    trying viewing the status and error messages in views
    dba_apply, dba_apply_error, dba_capture and dba_propagation at both databases.

  • Oracle Streaming not working, -- PLEASE IGNORE

    Hello All
    I am trying to setup streaming between two databases:
    Source database = Oracle 10g 10.1.0.5
    Destination = Oracel 10g 10.2.
    I did following steps:
    1- User 'strmadmin' created on both databases granted GRANT_ADMIN_PRIVILEGE,
    2- Both have JOB_QUEUE_PROCESSES > 2
    3- At both databased db_link with name 'sttream' pointing to each other databased has been setup and working fine.
    4- executed on both: EXEC DBMS_STREAMS_ADM.SET_UP_QUEUE();
    5- At source db, supplemental log added on the desired table.
    6- At source db, following rule executed:
    BEGIN
    DBMS_STREAMS_ADM.ADD_TABLE_RULES(
    table_name => 'dba_st.sayeed_streaming',
    streams_type => 'capture',
    streams_name => 'capture_stream',
    queue_name =>
    'strmadmin.streams_queue',
    include_dml => true,
    include_ddl => true,
    inclusion_rule => true);
    END;
    7- At source db, following propogation rule done:
    BEGIN
    DBMS_STREAMS_ADM.ADD_TABLE_PROPAGATION_RULES(
    table_name      => 'dwhstream.sayeed_streaming',
    streams_name      => 'st4_to_dwh',
    source_queue_name      => 'strmadmin.streams_queue',
    destination_queue_name      => 'strmadmin.streams_queue@dwh',
    include_dml      => true,
    include_ddl      => true,
    source_database      => 'dba_st',
    inclusion_rule      => true);
    END;
    8- At destination db, table created with same name and attributes.
    9- instantiation SCN at source db as:
    DECLARE
    source_scn NUMBER;
    BEGIN
    source_scn := DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER();
    DBMS_APPLY_ADM.SET_TABLE_INSTANTIATION_SCN@dwhstream(
    source_object_name      => 'dba_st.sayeed_streaming',
    source_database_name      => 'dba_st',
    instantiation_scn      => source_scn);
    END;
    10- At destination db:
         BEGIN
         DBMS_STREAMS_ADM.ADD_TABLE_RULES(
         table_name => 'dba_st.sayeed_streaming',
         streams_type => 'apply',
         streams_name => 'apply_stream',
         queue_name =>
         'strmadmin.streams_queue',
         include_dml => true,
         include_ddl => true,
         source_database => 'dba_st',
         inclusion_rule => true);
         END;
    11- At source db:
         BEGIN
         DBMS_CAPTURE_ADM.START_CAPTURE(
         capture_name =>
         'capture_stream');
         END;
    12- At destination DB:
    BEGIN
    DBMS_APPLY_ADM.START_APPLY(
    apply_name => 'apply_stream');
    END;
    So all this i did but when i change, insert or delet in source table, nothing comes at destination.
    Please guide me what steps i had missed or where to look errors step by step.
    Thanks in advance
    Sayeed
    Edited by: user9206270 on Mar 1, 2010 9:38 PM

    this is a duplicate post. Please change the subject to "Please ignore" Thank you.
    Your initial post was in the correct group and multiple posts is considered very bad form by most here that try to help.
    Again thank you for cleaning it up and removing this.

  • Photo Stream not working today!

    Photo Stream not working today!
    I turn off all devices (iPhone, iPad, iMac), i reset iCloud.com -> Photo Stream, but not working.
    Is Photo Stream service down? (all other services in iCloud is working)

    Hi..
    Try deselecting the box next to:   Automatic Import
    in iPhone > Preferences > Photo Stream
    Then try deselecting Photo Stream in System Preferences > iClould then reselect to reset.
    iCloud: Photo Stream FAQ

  • Oracle Streams really works?

    Hi everybody,
    I suggested to my client to use Oracle Streams in his data integration project.
    But my client asked me to see if this tool is really reliable... As it is very new, I'd like to know if Oracle Streams really works from who had already experienced it, ok?
    I will be waiting for any reply...

    I would be interested in the same thing. I've been testing streams for almost 1 month now and seem to be running into many problems. Today for some unknown reason supplemental logging was removed from my replicated tables causing the capture process to fail. It seems to work when I replicate small amounts of data but when I start using it for larger load and such I get memory errors and process seem to abort. The problem come mostly from trying to debug it. From my perspective it is very hard to see whats going on "under the hood". It seems you almost need to be an expert with Advanced Queue, Logminer, etc in order to sort through Streams problems

  • Photo stream not working after upgrading to maverick please help?

    have upgraded to Maverick from osx lion
    sooo much trouble ......memory low
    photo stream not working
    everything slow
    any ideas?

    On your Mac disable Photo Stream in the System/iCloud preference pane
    and in iPhoto's Photo Share preference pane.
    Reboot and reenable both respectively. That should jump start Photo Stream.
    OT

  • Why does photo stream not work on 4g

    Hi, I have a iPhone and a Mac and an iCloud account, but why does photo stream not work on 4g, but as soon as I connect to wifi, it send photos to photo stream, can please tell why it does not send photos to photo stream when on 4g, thanks.

    The data requirements for sending potentially many photos can be too taxing/costly on a carrier's data plan.

  • HT1430 For some unknown reason my Apple ID password does not work when trying to down load books from the IBook or Nook Apps.  It also has stop work when trying to down load new Apps.  Any suggestions out their???

    For some unknown reason, my Apple ID Password does not work when trying to down load IBooks, Nook books, or new Apps.  Everything else seems to work.  Any suggestions out their???

    I appreciate the info and realize that the Nook App is not related to my Apple account but this too has stopped working.  My situation first started with the Nook App not down loading and then has now spread to my IBook and new app downloads.  I have checked into my ITunes account and the ID and password are correct  and at times when I am asked to submit my Apple password such as setting up this Apple Support Community the ID and password work.  My problem seems to be just with trying to use my ID and password when wanting to download new books or apps.  I can go into the IBook, Nook, and App stores and seemingly download an item but when clicking on the new book or app nothing happens and I get a message that states it can not get into the ITunes store and it wants me to either try again or cancel.  This message appears usually ten minutes after I have tried to make a purchase.  At other times when I attempt to download a book or app I lose the screen and the IPad goes into the opening screen.  Short of redoing my Apple account or deleting an app and attempting to reload the app (but this won't work because the App store won't load new apps) I don't have a clue what to do.

  • Custom DB authentication to an application from Oracle Portal not working.

    Hi All,
    We have a Portal customized and integrated to LDAP for SSO.
    From the portal, we have a link that takes to another custom application that requires another level of authentication. We have implemented this authentication as custom Database based authentication.
    When user login to the portal and access this link, he will be directed for authentication again. This custom application has been installed on a different OC4J instance while Oracle Portal is running in a different OC4J instance.
    Issue is though user details are being propagated to the custom application page, we are receiving an error saying authentication failed.
    In the OC4J instance specific for this custom application, we have configured jazn.xml to use custom authentication.
    Below is the code:
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <!DOCTYPE jazn PUBLIC "JAZN Config" "http://xmlns.oracle.com/ias/dtds/jazn-9_04.dtd">
    <jazn provider="XML" location="./jazn-data.xml" default-realm="jazn.com">
    <property name="role.mapping.dynamic" value="true"/>
    <property name="custom.loginmodule.provider" value="true"/>
    </jazn>
    and in jazn-data.xml, we gave the role mapping.
    But the problem is when the link to the custom application is accessed, it seems like the custom autentication mechanism is not working.
    Can anyone throw light on this?
    Do we need to give the same configuration in the j2ee/home/config directory files also?
    Can we use both LDAP and custom DB authentication with in the same OAS setup. Remember as of now, Portal and custom application are running in different OC4J instances but within the same OAS.
    Any help in this regard will be highely appreciated.
    Thanks,
    Sasi Bhushan

    Hi All,
    We have a Portal customized and integrated to LDAP for SSO.
    From the portal, we have a link that takes to another custom application that requires another level of authentication. We have implemented this authentication as custom Database based authentication.
    When user login to the portal and access this link, he will be directed for authentication again. This custom application has been installed on a different OC4J instance while Oracle Portal is running in a different OC4J instance.
    Issue is though user details are being propagated to the custom application page, we are receiving an error saying authentication failed.
    In the OC4J instance specific for this custom application, we have configured jazn.xml to use custom authentication.
    Below is the code:
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <!DOCTYPE jazn PUBLIC "JAZN Config" "http://xmlns.oracle.com/ias/dtds/jazn-9_04.dtd">
    <jazn provider="XML" location="./jazn-data.xml" default-realm="jazn.com">
    <property name="role.mapping.dynamic" value="true"/>
    <property name="custom.loginmodule.provider" value="true"/>
    </jazn>
    and in jazn-data.xml, we gave the role mapping.
    But the problem is when the link to the custom application is accessed, it seems like the custom autentication mechanism is not working.
    Can anyone throw light on this?
    Do we need to give the same configuration in the j2ee/home/config directory files also?
    Can we use both LDAP and custom DB authentication with in the same OAS setup. Remember as of now, Portal and custom application are running in different OC4J instances but within the same OAS.
    Any help in this regard will be highely appreciated.
    Thanks,
    Sasi Bhushan

  • Photo Stream not working under IOS 7 and Aperture 3.4

    Since updadting to iOS 7, no matter what I do, my iPod Touch (latest generation) does not work with Photo Streams that I shared via Aperture. Friends who are subscribed still see the streams but I do not.
    My device no longer accepts new invitations so I cannot resolve it via an invitation to myself.
    This does NOT have to do with a 30 day window that photos stay in the cloud. Even very recent photos shared do not show up. I cannot even locate the shared streams on the device.
    Troubleshooting in support is NOT applicable where it says to turn off the cloud sharing & delete photos. That only restarts "My Photo Stream" and nothing else. Shared streams from Aperture 3.4 are still NOT accessible.
    This has to be an iOS 7 issue!

    You could certainly be out of storage on your iPad.  Now that you've added even more photos, see how much space is left on your iPad.

  • Photo Stream not working on the Mac

    Photo Stream is working on my iPhone, iPad and MBP but can not get to work on my iMac. Everything is turned on. Any suggestions?

    On the iMac open System Preferences > iCloud.
    Switch Photo Stream off then back on then restart your iMac.
    If that doesn't help, try here > Resetting your Photo Stream

  • HT201317 Photo stream not working on all photos

    Why does the iPhone not always send photos I ve taken to iCloud or to my iPad ? Does iCloud/photo stream really work? Never worked properly for me..... Some do and most of time don t . Both have been in the same room to pick up wifi for over 48 hours and still not all photos sync

    PhotoStream will only upload newly taken pictures. All older pictures or pictures that existed before adding/enabling photostream will not be affected/uploaded. Also PhotoStream will not function if the devices battery is under 20% battery. To troubleshoot, open the task manager and exit photos/gallery and then re-open/recheck.

  • HT201317 photo stream not working on windows laptop

    I have recently bought a new laptop running windows 7 and photo stream & upload will not work! Never had any problems on old pc. I have tried turning photo stream off in icloud and back on but still doesnt work. Any ideas please?

    Welcome to the Apple Community.
    Have you tried turning photostream off and on again on the phone.

  • ORACLE tags not working after 1.5.1 patch

    I have some logic in my template the looks up information from some Oracle tables. This logic worked fine in 1.5.0, however, after applying the 1.5.1 patch it does not perform the Oracle logic, but shows the Oracle code as HTML on the page. Here is the code in question: (This is not the entire code, but one HTML TD that comes before the Oracle code, and one HTML TD that comes after it)
    <TD align="center" valign="top"><A
    href="/pls/portal/PORTAL.home"><IMG src="#WORKSPACE_IMAGES#ihome.gif" alt="Home" border="0"></A></TD>
    <ORACLE>
    BEGIN htp.tableData(htf.anchor2('javascript:help_openTopic(''/insitehelp/Insite_Help.htm'', ''' || pkg_insite_general.help_link(v('APP_ID'), v('APP_PAGE_ID')) || ''')', '', '', '', '><IMG src="#WORKSPACE_IMAGES#ihelpl.gif" alt="Help" border=0'), 'center');
    END;
    </ORACLE>
    <TD align="center" valign="top"><IMG src="#WORKSPACE_IMAGES#ilogout.gif" alt="Logout" border="0"></TD>
    This is what displays on the web page:
    BEGIN htp.tableData(htf.anchor2('javascript:help_openTopic(''/insitehelp/Insite_Help.htm'', ''' || pkg_insite_general.help_link(v('APP_ID'), v('APP_PAGE_ID')) || ''')', '', '', '', '>

    Your removal of functionality in a bug fix has broken a production application for us. This does not seem like something that should have been done with a "patch"
    I have just read all that I can find on "shortcuts" and am not finding what I need.
    Here is what we are doing:
    We are using RoboHelp for our help content. We have a help icon and a help link on the header of the page. This is defined in our template. We have to have the name of the module (Page Alias) to link the page being run to the help content for that page. Since you do not have a system variable for page name or page alias, I have had to put this information into an Oracle table. I was looking that up with a function within the Oracle Tags.
    Can I create a shortcut that would create the following code pl/sql code into a PL/SQL function body:
    BEGIN
    htp.tableData(htf.anchor2('javascript:help_openTopic(''/insitehelp/Insite_Help.htm'', ''' || pkg_insite_general.help_link(v('APP_ID'), v('APP_PAGE_ID')) || ''')', '', '', '', '><IMG src="#WORKSPACE_IMAGES#ihelpl.gif" alt="Help" border=0'), 'center');
    END;
    and call this shortcut where this help icon needs to appear like:
    <TD align="center" valign="top">
    "CALLHELPWITHICON"
    </TD>
    I have done the above, but it does not work. What am I doing wrong, how can I get this to work? We have had to remove our help icons because of this patch.
    I thank you so for your research on this.

  • Periodics Oracle Alerts  not working

    Dear All,
    we are using Oracle11.5.10.2 on AIX 5.3 and Oracle Schedule Alerts are not working ,we need to schedule manually ,what will be the issue.
    we scheduled every day once but it is not running on schedule time.
    Thanks

    Please verify the Periodic Alert Scheduler is running: http://docs.oracle.com/cd/A60725_05/html/comnls/us/alr/chking01.htm
    HTH,
    --Johnnie                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Can't get on the internet with my tmobile my touch 3g with android 2.2.1

    i have a wrt54g2 v1 and all three of my laptops get on line wirelessly and one of my desktops  gets on fine the other one is  hooked to the router with a cat five cable my wifes htc tilt 2 cell phone with windows 6.1 gets gets on fine and i was allso

  • G555. Need drivers for SM Bus and another Unknown device for Windows XP.

    I try to install Windows XP on my G555. I got all other drivers, but cannot find drivers for SM Bus and an Unknown device. And what's this device? The second problem is that after I installed all the drivers, the card reader disappeared. It was there

  • IMAC - modems startup order?

    I've been having automatic connection issues when I turn on my MAC. The computer is plugged into a wall outlet. My DSL router (bridge mode) and my Airport Express are both plugged into a power strip. It seems that when I start the modems first and wa

  • Syncing Contacts Takes Long Time

    I am a fairly new iPhone user syncing to a MacBook Pro running 10.5.8. It seems my syncing of contacts takes an unusually long time. I only have 240 contacts in Address Book and even if I have not made any changes to a contact, iTunes sits on Syncing

  • How can I unlock in this situation?

    I have a 3gs with 05.16.05 baseband. I ended my service with ATT last year and the 3GS has just been sitting around. Today, I asked ATT to unlock my phone, but they said since my service is not active they will not unlock it. What can I do here? Is m