Skipping changes in Streams

We're using CDC (built on Streams from what I can tell) to replicate changes from OLTP system to a data warehouse. There is a need to correct a value in a column as a mass update which will affect many rows, but we don't want to send those changes to the warehouse. So what we're stuck on is how to prevent CDC capturing those changes or make it skip them.
We're thinking we would issue dbms_capture_adm.stop_capture, perform the update, then issue dbms_capture_adm.start_capture, but that doesn't work as it just seems to 'pause' the capture and when it restarts, ALL the changes are mined from the redo logs.
I'm guessing what we need to do is before we restart the capture, we need to issue dbms_capture_adm.alter_capture to manipulate the SCNs, is that correct, and if so which SCN and what to set it to?
I think all the dbms_capture_adm apis effectively calls the streams equivalent, if anybody has manage to "skip" changes with streams or cdc, then please post.
eg,.
exec dbms_capture_adm.stop_capture('test_capture');
update big table...*
exec dbms_capture.alter_capture(???);
exec dbms_capture_adm.start_capture('test_capture');

One way that i have tested to skip changes is to use apply_tag.
First your capture rule need to have :dml.is_null_tag() = 'Y' so that only changes without apply tag are captured.
Second in the session performing the mass update you need to set a tag. This can be achieved through DBMS_STREAMS.SET_TAG procedure.
As far that I understand the streams, this does not imply to verify the stream is empty.But you must be aware that according to CDC configuration (I have never practised CDC) this may lead to apply errors.
Here is my capture process positive rule:
(CLOB) ((((:dml.get_object_owner() = 'SAG') and *:dml.is_null_tag() = 'Y'* and :dml.get_source_database_name() = 'ORCLUDR01.FR.NETCENTREX.NET' )) and (:dml.get_compatible() <= dbms_streams.compatible_11_1))
Here is a sample sqlplus session:
Show that stream works
SQL> connect sag/sag
SQL> select * from test;
ID LIB
11 1
12 2
10 0
SQL> update test set LIB='00' where id=10;
1 row updated.
SQL> commit;
Commit complete.
SQL> connect strmadmin/strmadmin
SQL> select * from sag.test@orcludr02
ID LIB
10 00
11 1
12 2
connect sag/sag
Place tag
SQL> begin
2 DBMS_STREAMS.SET_TAG(hextoraw('0000'));
3* end;
PL/SQL procedure successfully completed.
Update not replicated
SQL>update test set lib='0000' where id=10;
1 row updated.
SQL> commit;
Commit complete.
Verify update worked and was not captured
SQL> connect strmadmin/strmadmin
Connected.
SQL> select * from sag.test;
ID LIB
11 1
12 2
10 0000
SQL> select * from sag.test@orcludr02;
ID LIB
10 00
11 1
12 2

Similar Messages

  • TS3152 Im using 10.7.4 and looking for a way to change the streaming port on quicktime x

    Im using 10.7.4 and looking for a way to change the streaming port on quicktime x
    used to be able to do via system preferences > quick time > advanced
    But cant find these settings anymore
    Thanks
    Pavi

    Click on the pull down window next to From: and you should be able to select the individual account you want to send from.  The account that you want to send from must be an Enabled account in the Account Preferences of Mail.

  • Pixelation at bandwidth change while streaming VOD in HLS

    Hi,
    I have FMS 4.5 installed and I'm doing some tests streaming media via HLS with a STB.
    This is my main playlist link: http://lab001.dyndns.org/m3u8/ca-8ms.m3u8
    The problem is, when the bandwidth changes during streaming, there's a pixelation.
    No matter what I configured in HLSMediaFileDuration (in httpd.conf), and no matter which value I set for KeyFrame Iterval, I always got pixelation at bandwidth change while streaming.
    In this article, it is said: "The duration of TS files, in milliseconds. Use a value that is a multiple of the keyframe intervals for the media.". I did try that, but no luck.
    For example, when I set HLSMediaFileDuration to 8000 (default), I encodec my media with KeyFrame interval = 4. I also tried different combination but it didn't solve the problem.
    I'm using:
    Server: FMS 4.5.
    Media Encoder: Microsoft Expression Encoder 4 Pro (multiple bit-rates with the same KeyFrame Interval).
    Client: AirTies STB and iPad 2.
    What am I doing wrong or missing?
    I'd appreciate any help.
    Thanks,
    Wiaam.

    I am having this EXACT issue - only I am using an iPhone 6 Plus 64gb. I live in the Chicago metro area, and when I stream using Spotify, iTunes Radio or Pandora, I am having the exact same issue. I can watch the phone go from LTE to 3G to 1x, then to get it back to LTE, I need to put it into Airplane mode and take it out of Airplane mode.

  • No change in Streams progress after "C001: long running txn detected" msg

    Hi,
    I am currently testing Streams and using it to replicate changes in six database table from a source database to destination database.
    Streams ran for 2 days without any problems and completely replicated the changes for 5 out of 6 tables. The remaining table is 78% complete and no replication change progressed in the last day (Streams is running without any errors).
    Restarting the stream processes (e.g., apply, capture) and the database had no change in replication progress for the remaining table.
    The alert log shows I got the message, "C001: long running txn detected, xid: 0x0008.017.000002b9" at about the same time that replication progress stopped (Note that C001 is the Streams CAPTURE process). The alert log repeats this message every five minutes. However, this message stopped after I restarted the database.
    Does anyone know what caused this problem and how it relates to my no change in streams progress problem, if at all?
    Thanks,
    Paul

    hi paul
    i have faced similar kind of problem ...
    u can archive the log...
    ALTER SYSTEM ARCHIVE LOG CURRENT;
    it will work

  • Database service name changed after streams configuration

    Hi All,
    I test setting streams replication in my database 10g from a stand-alone database to a RAC database.
    Replication worked fine but i sow strange thing, my service names in the target database (RAC environment) has changed like the following output:
    SQL> sho parameter service
    NAME TYPE VALUE
    service_names string SYS$STRMADMIN.STREAMS_QUEUE.AB
    DATAWH
    So the value of my service names has changed, i don't know why. I tried to remove streams configuration and restart the database but it's not changed and it cause connexion problem from client.
    Does anybody can help me to solve this problem, why it's changing and how to take it back to the old service names.
    Thanks for your help
    raitsarevo

    Nona has any idea about my problem
    Please

  • Can't Sync because can't change Photo Stream attributes

    I can't sync photos from my new iPad.
    I get "You do not have enough access priviledges to permorm this opereration.
    I tracked the error to the Photo Stream folder.
    It will not allow me to change the read-only attribute
    I get You require permission from WINCTRL-F711E89\Acer to change this folder.
    If I try to delete or change the read-only attribute in the Uploads subfolder, I get a simple Access Denied message.
    I tried searching Google for WINCTRL-F711E89\Acer with no luck.  I tried searching my computer for that file or folder and found nothing.
    I have no idea what it is.
    I did not have this problem with the slightly older iPad I just gave to my father when I bought this new one.
    I tried turning off Photo Stream on the ipad with no luck.

    I wasn't sure what is meant by "using" (e.g. green light on or HDMI function selected) but my husband turned the function to component to watch regular TV via TIVO and the ATV started syncing. Guess I now know what "using" means with my setup.
    Thank you for the reply.

  • Change video streams at a chapter marker

    Is it possible to target a video stream (angle) at a chapter marker so that the stream automatically switches from another stream? I have a project with 3 video streams and 1 audio stream. I want to be able to switch the video streams at specific points in the program without losing sync. Any help would be apppreciated.
    Thanks,
    ur.s
    G4   Mac OS X (10.3.9)  

    What I did so far is set a chapter marker right before the chapter marker where I want to to change (ex. I want the subtitle to start at 2:30, I put another marker at 2:29 and attach a script to the end jump)
    my script is:
    movGPRM0, SPRM7
    Set System Stream (Subtitle1)(On) if (GPRM 0 = 3)
    ---*It's the 3rd chapter in the track
    My problem is that after it executes the script and turns on the subtitles, is that it repeats and loops on itself (ex. it loops from 2:29-2:30)
    -If I put an exit command, it doesn't resume playback. How can I just have it execute the script at the chapter marker and resume seamlessly??
    Thanks!

  • Changing subtitle stream during playback of Video track

    Hi all,
    Can someone please help me out with changing the subtitle stream during playback of a video track? The subtitle button doesn't seem to cycle through the 4 languages we have on the track.
    thanks!

    hey nipponese (great name)
    when you press the subtitle button, does it restrict you, or does it not go through all 4 subs, or maybe even, does it go through more than your original 4?
    do you have a menu, or is it just the video, audio and subs?
    Mike

  • How can I change Netflix streaming language in ATV2?

    It seems Netflix app for Mac products, including ATV2, can´t change streaming language and subtitles.
    Any ideas?
    Please include this in future updates in Netflix apps for Mac users in latin america.

    Settings > general > international

  • How to change Radio Stream Genres?

    Hi, i'm a fan of a clean iTunes Lib. I had only 20 Genres! Thats enough!
    But when i import a new MP3 Radio Stream, i get a new Genre, damm, i cant chance it.
    How can i change this genre forever?
    THANKS

    I don't think it's that simple. Can you Francois give us the code to do that?
    I am using Forms 6i release 2 and use the following code (as advised in help):
    set_radio_button_property('item','radio',PROMPT,'text')
    And it does not work. Do you have any ideas on how to solve this?

  • Hello, I've just purchased apple tv, 3rd gen, and I'm streaming from my mac book pro to my tv, and it keeps skipping slightly, i have reasonably good internet speed, approx 7-8 Gb.

    hi, my apple tv i have purchased which is 3rd gen, is skipping when i stream to my tv, I'm using the latest software on my mac book pro, which is approx 2 years old, my router is only a few months old, but i am using power line adapters, but i have no problem downloading or watching internet telly 4OD/YOUTUBE etc.
    is their anything i can do as i have only  bought the apple tv for mainly streaming from my mac.
    thanks
    gary

    If you are streaming from your Mac then your internet speed would be irrelevant. This is done over the local network, and that is where the issue lies.
    Reboot ATV and router
    Make sure router is up to date
    If Apple TV is connecting via wifi, connect with ethernet
    Go to istumbler.net to get a report of the network, look for signal strength and noise

  • Effect of Changing Stream Buffer Size

    What is the downside (if any) of changing the Stream Buffer Size from Medium to Large when playing music files?

    Streaming Buffer Size
    Change how much audio or video is downloaded before it starts to play. Choosing a larger buffer can help video play more smoothly. If you have a fast Internet connection, a smaller buffer can help the movie start playing more quickly.

  • Does Streaming Delete Synched Items?

    When I first set up my ATV, I experimented with synching and streaming. As I recall changing back and forth would erase synched items, but maybe I am wrong. Now that I have synched a large number of photos, I would not want to erase what I have already done by changing to streaming mode for music and video.
    Does anyone know whether you have to choose one or the other? Can you switch to streaming without affecting the synched items? Can you stream video and synch photos without switching from one mode to the other?
    I am very happy with my ATV, especially after I bought an Airport Extreme-n. My main interest is using it as a way to display my digital photos on the TV in the living room so I don't have to have everyone gather around the computer in the back room. This is especially good for club meetings where I can display photos of recent events for members to enjoy before and after the business meeting.
    iMac G5   Mac OS X (10.4.9)  

    McLee,
    Switching to a streaming mode shouldn't remove the synced content on the Apple TV. You can then stream video and audio from the computer, then switch sources back to the Apple TV to view the synced photo content. Streaming can be performed on a synced library though, so it sounds like you may be looking to selectively sync just photos and then stream your audio/video. Knowledge base article http://docs.info.apple.com/article.html?artnum=305098 may provide you additional information.
    Regards,
    Chris

  • New Radio Station & Streaming Problems

    I have added my favorite Public Radio station to my iTunes library, but I can not get it to connect. It shows up in the library as a radio station, but nothing happens when I click on the play button.
    In addition, I'm having trouble with all the radio stations I've tried that were already in the iTunes folder. I've tried changing the streaming buffer size in preferences, but the network keeps stalling and needing rebuffering, regardless of the streaming buffer size I choose.
    PowerBook PowerPC G4   Mac OS X (10.4.2)   Other computer is iMac, OS X v.10.3.9

    I single file in a playlist repeats constantly for me (just tried it - don't usually have playlists for single items), but I have never tried using repeat on an audio stream. I expect the repeat doesn't work with streams because iTunes never gets an end-of-file notification which would then tell iTunes to start again at the beginning - but that is just a guess.
    What happens if you open the stream in Quicktime? If the stream is in iTunes library, you can open it's Get Info box, click on Edit URL on the summary tab, and you can then copy the address to paste into Quicktime's Open URL. If the stream is one on the default iTunes Radio list, drag it into your Library and you can then click on the Edit URL button to copy the address. iTunes an Quicktime are not exactly the same, so you may get different results. You could also try VLC Player". Testing streams in another player may help you identify if it is really iTunes at fault.
    I usually don't have streaming problems, although I rarely have a stream on longer than 2 or 3 hours at a time and I think about 5 hours is the longest I've had a stream running.

  • Changing System ID (SID) for production environments

    We have had 4 cloned machines for the development of production environments but unfortunately we skipped changing the SIDs for them. Now all the 4 machines have the same SID. Though things are working fine as of now but in the near future this case might become problematic. Is there a way to change the SIDs so that the changes are reverted in the database as well ?? We tried the conventional way to change the SIDs on Demo environments but since then the systems didnt start up....Does anybody have a clue what to do??
    Waiting in hope!!

    >Now all the 4 machines have the same SID.
    What SID are you talking about ? Peoplesoft ACCESSID ? SYSADM1 ? Database ? Please clarify.
    Nicolas.

Maybe you are looking for

  • Same problem printing pdf but with a twist

    I am having the same problem as others have described in not being able to print certain pdf documents.  I have tried all of the suggest "fixes" including uninstalling and reinstalling Acrobat XI Pro. (I am on a Windows 7 Professional system).  The t

  • Battery display as a number

    According to Doc ID : KB02142, you can display the battery indicator as a number. I can't find any answer to how that is actually done though. Displaying dBm is the only thing I can do following the article. Since the BB shows battery percentage in s

  • Verizon Edge Plan - Is this really a good deal?

    The actual service plan costs do not change at all.  $40 for a Smartphone access, and $50 for 2gb, $60 for 4gb data, etc. Typically you put down $199 for a 16gb iPhone (+the new $30 upgrade fee), that leaves $450 left you owe on the phone that is rol

  • Validate Input field - Accounting period

    Hi All,   I've to check the validity of the Accounting period [input field] on Billing.Kindly explain how to check - any FM or Table is used? I tried Table T009B but getting confused. I appreciate ur time

  • Itunes for windows not opening at all

    I upgraded to itunes 7 and ever since it has not responded at all. i have tried removing and re-installing several times and still nothing... I will try to open it up and my pinweel comes on for a few seconds then nothing. i have also tried opening i