Asynchronous HotLog CDC Space to Null Issue

I have established Asynchronous HotLog CDC in one of our testing database. I have done the following steps (as described in the Asynchronous HotLog CDC oracle documentation):
ALTER DATABASE FORCE LOGGING;
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
ALTER TABLE #SCHEMA#.#TABLE_NAME# ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS;
In addition, all of the other steps were followed for permissions, pool sizes, change set setup, change table setup, and so forth. This work is being done as a conversion from Synchronous to Asynchronous.
The issue encountered is that when characters that have a space (' '), it is substituted with a null and inserted into the CT table. I understand per documentation if the supplemental logging is not setup correctly, you can encounter nulls for values that remain static. The problem is this is occurring on our data inserts, with the correct supplemental logging on the table as per documentation.
Any suggestions are appreciated, DB is 11.2.0.1
Thanks

Thank you damorgan, your example was very thorough and helpful. Unfortunately though, after following your steps with my table I was testing, I am still receiving nulls where the insert statement had a space, besides that the asynchronous cdc process works fine.
It is almost like there is a trimming occurring when inserting into the change table, even though in the source table there is a space ' '. I might just need to stay with synchronous CDC because at least the trigger is capturing the correct change data, not sure why the Asynchronous would be different with the space becoming a null.
Thanks.

Similar Messages

  • How to use blank space replace NULL on discoverer viewer

    Hi,
    There is a report that has a varchar field should show text values, and if NULL, I need it show blank space, and does in disco desktop, but on viewer, the same worksheet shows NULL.
    Even I changed in the Tools - Options - Format menu(desktop), it still show NULL on viewer.
    why?
    please help! thanks!
    sammy

    Hi Sammy,
    Unfortunately ‘some’ of the settings set in Desktop do not carry over to Viewer. These options need to be defined for Viewer itself.
    A temporary way to set the Viewer settings is to click on ‘Options’ when logged in Viewer itself. You’ll have to open a responsibility or report before this option becomes available to select. Within here you’ll be able to change the way NULL values are seen. However this method only makes the change for the User you logged in with.
    To make the change for all users, it’s best to edit the PREF.TXT file on the Discoverer Server. Please view the documentation below for more information on how to configure Viewer. For windows platform click here : http://download-uk.oracle.com/docs/html/A90287_01/toc.htm,
    For Unix platform click here : http://download-uk.oracle.com/docs/html/A90288_01/toc.htm. Once you’ve run the applypreference script, these settings will be forced down to all users of Discoverer.
    Hopefully this will help ;-)
    Lance

  • Spaces and Spotlight issues after wakeup

    Hi, when ever I wakeup my macbook pro 13" running 10.6.8 I have 2 issues:
    1)  the spaces grid freezes on the screen. I can still navigate via apple key + arrow keys, but the grid wont dissappear until...
    2) I fidgit with spotlight. It wont respond via apple key + spacebar. I have to click on the magnifying glass. The keys I type aren't displayed in the box but the escape key works after some few times pressing it.
    Then once i do that, i can use spotlight via keyshorcut, and the spaces grid will disappear. Has anyone else experienced this?
    Thanks.

    Your slow Time Machine problem may not have to do with the kernel panic. Many people are reporting very slow Time Machine backups, and it is generally thought it is because Spotlight is hung up. (Time Machine relies on Spotlight to help track what files changed for the next backup.) Here's the thread, which I'm following because I have the same problem.
    https://discussions.apple.com/message/19679273#19679273

  • /dev/null issues

    Hello All,
    I have an issue since the last couple Leopard updates that I can't seem to get a handle on and think I am out of my element here so any advice appreciated.
    I run 2 scripts every 10 minutes for the past 3 years and always had good results with them.
    In Cronnix I have them setup as "pathToScript" >/dev/null 2>&1
    One sends an email and the other runs a php cron. Both work well even now.
    The only issue is that I now get an email saying:
    /bin/sh: dev/null: No such file or directory
    When the scripts run there is an entry in Console :
    5/17/09 3:16:23 PM MyMac Ambiguous output redirect.
    Thinking there is a directory missing I listed /dev/ in terminal and did receive the list of dev contents... but no null directory in the list.
    I viewed the hard drive using invisibles and saw that /dev existed, but it appears when viewed as an alias, don't know if that is normal or not. I cannot move or delete the alias due to not enough permissions (might be a good thing lol)
    I chowned dev/null to root:wheel from googled advice, and got no errors either.
    My problem is that I don't want these emails, and wonder what is wrong with the way /dev/null is working , or not working now, and how to fix it. Can I rebuild dev/null? or fix it otherwise? Is there a fix all commend for this phenomena?
    Any advice is greatly appreciated.
    Jamy
    Message was edited by: Jamy

    Was I supposed to get something?
    It depends what your script outputs. The idea was to have bash handle the output redirection to see if it you could suppress the ambiguous output redirect message. If you included the >/dev/null 2>&1 part, then I would expect to see no output. My guess was that maybe connix is using tcsh. The following tests seem to support that theory:
    <pre style="border: 1px solid #ddd; padding-left: .75ex; padding-top: .25em; padding-bottom: .25em; margin-top: .5em; margin-bottom: .5em; margin-left: 1ex; max-width: 40ex; overflow: auto; font-size: 10px; font-family: Monaco, 'Courier New', Courier, monospace; color: #444; background: #eee; line-height: normal">tcsh -c 'echo hello >/dev/null 2>&1'
    tcsh: Ambiguous output redirect.
    sh -c 'echo hello >/dev/null 2>&1'
    (no output)
    </pre>
    Cole

  • Sending emails in iPhoto 9.1.1 Duplicate Emails & (null) issue

    Hello,
    When using the Share | Email feature of iPhoto 9.1.1, I want to send emails to multiple people. SOME email addresses have issues when typing in the name of the person in the To section. There are two problems:
    1. Some names show up twice in the drop down menu
    2. Of the ones that do show up twice the email address drop down, it shows up like this:
    Adam (null) <[email protected]>
    This shows up twice in the To field.
    Anyone else have this issue?

    I'd check your previous recipients list in Mail to see if you have some bad addresses in there. Something to try as I am not experiencing the issue as you describe it.
    In Mail go to Window > Previous Recipients and check to see if the bad address is in there...

  • Filling space will null components...

    I have been trying to find a way to fill in blank spaces in both a gridlayout and flowlayout, to squeeze existing components together. I thought that I could just add a null component to the panel but that doesnt work. Is there a good way to do this, or should I just create regular components and set their visibility to false?

    I wouldn't create any null components. That's a hack that will only make debugging a bigger nightmare as the layout gets more complex. Also, because you are trying to fill in blank spaces FlowLayout should not be used at all - since it may display radically different when resized, etc. Using GridLayout and setting components to false will work but its somewhat ugly.
    There's a very simple yet effective Layout manager that combines the usefulness of FlowLayout and GridLayout. It is called VerticalLayout, is simple to use, and is free to download. I highly reccommend it.
    See:
    http://www.cellspark.com/vl.html
    Hope this helps...

  • Mark/Space iCal sync issue

    After not hotsyncing for a week (I was out of town) I tried to hotsync and got a Hotsync alert that more than 5% of my data in iCal would be changed. I backed up my data and boldly hotsynced.
    Now I have lots of items that I previously had deleted going back months in iCal. Interestingly, the "ghost" items are appearing only in iCal and not on my Palm. Any ideas?

    Welcome to Apple Discussions.
    It's hard to know exactly what happened without having actually watched this problem unfold.
    It's unlikely that the Missing Sync for Palm OS tossed up the standard Sync Services 5% threshhold warning, which is actually set for the framework in iSync. And, the reappearance of old iCal data and the problem appearing in your Palm calendaring application suggest that .Mac Sync and your .Mac records are responsible, not the Missing Sync for Palm OS.
    I experienced an unrelated, but somewhat similar issue which did involve .Mac and which I have not yet been able to correct, despite resetting the truth database [something you can do] and unregistering sync clients [something that you cannot do] with developer tools. There is a clear, but apparently unrecognized and undefined problem on the server side of .Mac that triggered my issue, and may well have triggered yours also.
    I suggest that you…
    • turn off .Mac synchronization, assuming that it is enabled
    • reset the truth database using the Reset Sync History button in the iSync Preferences… dialog
    • remove the bogus records manually from iCal if you cannot restore your calendars from a contemporary backup copy
    • back up your iCal and Address Book records - repeat: back up your records, then
    • synchronize again without .Mac involved in any way for the time being
    This next synchronization event will be treated as if it were the first, but I believe that you can get away without having the Mark/Space Contacts, Events and Tasks conduits overwrite your handheld. Be sure that you back up your Address Book and iCal files using the option in each application under the File menu to do this, before you synchronize.
    It's also probably a good idea to HotSync your existing records using the Palm Backup conduit—configured to Backup using the Missing Sync for Palm OS—alone, before trying a conventional synchronization with the Mark/Space data conduits. That ought to leave you with backed up Palm records, and backed up Address Book and iCal records. If you experience a data 'disaster,' you can simply shrug your shoulders and restore all of your records.
    [Did I mention the caution to back up everything?]

  • How To resolve "disk space is full" issue when downloading the apps in Creative Cloud Packager

    Hello All!
    I have recently started using Creative Cloud Packager and have started my first package.  I have instructed it to download to my Local D Drive (which has 200GB free) and it has started successfully however about a third of the way through it stops and some of the apps have a warning icon and the error "Disk Space is full, please clear some space and try again".  However my D Drive still shows 200GB free which implies that it is not downloading to there at all and also that there is space!
    Is there a download cache location which could be full or should it download straight to the folder I instructed?
    Can anyone advise on the best way to troubleshoot this please?
    Thanks,
    James

    Hi James,
    The cache folder is set in the preferences, under the drop-down 'Welcome' menu.
    See below.

  • JDBC Active Connection count issue- Current row null issue

    In our weblogic conse 10.3.5, the max connection capacity is set to 25, however when we start using the application , over a small period of time the current active connection count increases more than 25 like 30,55, 85 etc .. How is this possible? . Once the number of active connection count goes above the max connection capacity, our application behaves weirdly, some time for some users the current row return null and as a result we get Null pointer exception. we are using Jdev 11.1.2.1 and the application was migrated from 10g. The AM configuration is the default one as specified in most docs or when we create a new application module. Could you guys help us out.

    How many concurrent users do you have? Are you opening database connections manually in the application code? If so, are you closing these connections when done?

  • REGEXP_SUBSTR i need  whole word val including space or null

    Hi all,
    i need to separate the last field value ,but my query spaces not considered between the delimiters,please help for these thanks..
    SELECT  RTRIM(REGEXP_SUBSTR('C|00013010101|C00009|009402|00000100.000|1||AZUSDINE 500 MG TABLET|AZULFIDINE|00016010101||1|19950118|20150330||00000000||00000000|0|F|9|1|1|0|1|1|AB|00000000||1|0|000|0|0000001|00.000|00.000|00.000|0000012|0000012|AB|TAB|00000001.000|19900930|19900930|00000000|1|19950701|2|0|BOTTLE||0|20080925|20110928|0|0|0|AB|00000100.000|0|00|AB|2|2|9|3|1|I|AZULFIDINE 500 MG TABLET'
      ,'[a-zA-Z0-9]+\|?',1,72),'|') val FROM  dual
    output
    VAL
    AZULFIDINE
    required
    out PUT VAL:AZULFIDINE 500 MG TABLET
    thanks
    subbu

    vsm wrote:
    Hi all
    SELECT RTRIM(REGEXP_SUBSTR(input_string||'|','[^\|]*\|',1,69),'|') val FROM your_table
    thanks you very much all is well it helpful for my requirement v_var1:=RTRIM(REGEXP_SUBSTR(cur_rec(i)||'|','[^\|]*\|',1,69),'|');..
    I wonder why that should be preferable over
    v_var1:=REGEXP_SUBSTR(cur_rec(i),'[^|]+$');
    Aside from the cumbersome adding of a | to the end and removing it afterwards with trim, the expression [^\|] shows a lack of understanding of regexp as there is no need to mask/escape the pipe inside a character matching list.
    Furthermore it stays a secret why you prefer to search the 69th occurence of this pattern starting form the first position to the first occurence starting from the end.

  • Having some Space Designer panning issues.

    Hey all. I'm new to this board. I come with a bit of a problem. Hopefully, someone here can shed some light.
    In learning how to use Logic, I was told to maximize my CPU resources by setting up as few instances of Space Designer (among other things) as possible. I was instructed to link two Aux Channel Strips, insert Space Designer (SD) and assign a Stereo Bus as input, and then Send whichever instruments to that Stereo Bus. I've up a few of these, using a different preset in each, depending on my need.
    The problem is, when I send a mono instrument that is panned hard to one side, I get beautiful sounding reverberations, but the instrument heads more and more toward the center the more I Send to SD. Obviously, a little SD goes a long way, but there are instances where I would really like to control exactly how much gets panned left or right. I don't want all of my sound ending up in a murky, muddy soup in the center. Ideally I'd love for shared SD resource as I've described to be totally linked to the panning of the instrument. If panned hard left, then no SD at all on the right, and visa versa, and every step in between, all controlled by the panning
    What am I doing wrong?
    thnx, Rafiki

    Rafik! wrote:
    What am I doing wrong?
    Your conception about the system verbs routing is wrong.
    Let's have a look at the real world and haw the things are in the native acoustical surround. Imagine you are a listener sitting in the center of a big concert hall and the singer is singing from the left side of the stage. What you hear?
    1. You will hear/feel that the singing is coming from the left side - this is the DRY path of the sound source. It is the faster one and it is direct, that's why the human ear determines where the signal is coming from.
    2. There will be lots of WET signal reflections which go to different sides re-reflect ( depends on the hall architecture ) and as a whole they all will spread to the listener with a slight amount of latency.
    In the DAW you can use different methods to manipulate the reverbs but it will be more effective if you use them as inserts and control the spread and pan using a Dir.Mixer plugin after reverb insert for example. You can set even to mono just to get some deepness and prevent any mud in the soundscape.
    Finally you can add a bit little send of a system verb which give the listener a picture of some room ambience. You can also try to set the send to "Post-Pan"
    though its main purpose is for headphone/stage monitoring most and special plugins side chain like Waves C1s/ch for example. Using with system verbs may cause anomaly. Note, some hardware mixers have one Mono Send/Out and two Returns/Stereo for example.
    !http://img59.imageshack.us/img59/4967/aglogo45.gif!

  • Best Practices on OWB/ODI when using Asynchronous Distributed HotLog Mode

    Hello OWB/ODI:
    I want to get some advice on best practices when implementing OWB/ODI mappings to handle Oracle Asynchronous Distributed HotLog CDC (change data capture), specifically for “updates”.
    Under Asynchronous Distributed HotLog mode, if a record is changed in a given source table, only the column that has been changed is populated in the CDC table with the old and new value, and all other columns with the exception of the keys are populated with NULL values.
    In order to process this update with an OWB or ODI mapping, I need to compare the old value (UO) against the new value (UN) in the CDC table. If both the old and the new value are NOT the same, then this is the updated column. If both the old and the new value are NULL, then this column was not updated.
    Before I apply a row-update to my destination table, I need to figure out the current value of those columns that have not been changed, and replace the NULL values with its current value. Otherwise, my row-update will replace with nulls those columns that its value has not been changed. This is where I am looking for an advise on best practices. Here are the possible 2 solutions I can come up with, unless you guys have a better suggestion on how to handle “updates”:
    About My Environment: My destination table(s) are part of a dimensional DW database. My only access to the source database is via Asynchronous Distributed HotLog mode. To build the datawarehouse, I will create initial mappings in OWB or ODI that will replicate the source tables into staging tables. Then, I will create another set of mappings to transform and load the data from the staging tables into the dimension tables.
    Solution #1: Use the staging tables as lookup tables when working with “updates”:
    1.     Create an exact copy of the source tables into a staging environment. This is going to be done with the initial mappings.
    2.     Once the initial DW database is built, keep the staging tables.
    3.     Create mappings to maintain the staging tables using as source the CDC tables.
    4.     The staging tables will always be in sync with the source tables.
    5.     In the dimension load mapping, “join” the staging tables, and identify “inserts”, “updates”, and “deletes”.
    6.     For “updates”, use the staging tables as lookup tables to get the current value of the column(s) that have not been changed.
    7.     Apply the updates in the dimension tables.
    Solution #2: Use the dimension tables as lookup tables when working with “updates”:
    1.     Delete the content of the staging tables once the initial datawarehouse database has been built.
    2.     Use the empty staging tables as a place to process the CDC records
    3.     Create mappings to insert CDC records into the staging tables.
    4.     The staging tables will only contain CDC records (i.e. new records, updated records, and deleted records)
    8.     In the dimension load mapping, “outer join” the staging tables, and identify “inserts”, “updates”, and “deletes”.
    5.     For “updates”, use the dimension tables as lookup tables to get the current value of a column(s) that has not been changed.
    6.     Apply the updates in the dimension tables.
    Solution #1 uses staging tables as lookup tables. It requires extra space to store copies of source tables in a staging environment, and the dimension load mappings may take longer to run because the staging tables may contain many records that may never change.
    Solution #2 uses the dimension tables as both the lookup tables as well as the destination tables for the “updates”. Notice that the dimension tables will be updated with the “updates” AFTER they are used as lookup tables.
    Any other approach that you guys may suggest? Do you see any other advantage or disadvantage against any of the above solutions?
    Any comments will be appreciated.
    Thanks.

    hi,
    can you please tell me how to make the JDBC call. I triedit as:
    1. TopicConnectionFactory tc_fact = AQjmsFactory.getTopicConnectionFactory(host, SID, Integer.parseInt(port), "jdbc:oracle:thin");
    and
    2. TopicConnectionFactory tc_fact = AQjmsFactory.getTopicConnectionFactory(host, SID, Integer.parseInt(port), "thin");
    -as given in http://www.acs.ilstu.edu/docs/oracle/server.101/b10785/jm_opers.htm#CIHJHHAD
    The 1st one is giving the error:
    Caused by: oracle.jms.AQjmsException: JMS-135: Driver jdbc:oracle:thin not supported
    at oracle.jms.AQjmsError.throwEx(AQjmsError.java:330)
    at oracle.jms.AQjmsTopicConnectionFactory.<init>(AQjmsTopicConnectionFactory.java:96)
    at oracle.jms.AQjmsFactory.getTopicConnectionFactory(AQjmsFactory.java:240)
    at com.ivy.jms.JMSTopicDequeueHandler.init(JMSTopicDequeueHandler.java:57)
    The 2nd one is erroring out:
    oracle.jms.AQjmsException: JMS-225: Invalid JDBC driver - OCI driver must be used for this operation
    at oracle.jms.AQjmsError.throwEx(AQjmsError.java:288)
    at oracle.jms.AQjmsConsumer.dequeue(AQjmsConsumer.java:1307)
    at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:1028)
    at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:951)
    at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:929)
    at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:781)
    at com.ivy.jms.JMSTopicDequeueHandler.receiveMessages(JMSTopicDequeueHandler.java:115)
    at com.ivy.jms.JMSManager.run(JMSManager.java:90)
    at java.lang.Thread.run(Thread.java:619)
    Is anything else beyond this is required??? please help. :(
    oracle: 10g R4
    linux environment and java is trying to do AQjmsFactory.getTopicConnectionFactory(...); Java machine is diffarent from the database and no oracle client is to be installed on java machine.
    The same code is working fine when i use oc8i instead of thin drivers and run it on db machine.
    ravi

  • OWB R1 and Asynchronous CDC

    Can I use OWB R1 with Oracle's asynchronous Change Data Capture feature to provide a real-time data warehousing solution?

    Hi Davis
    There is a general cookbook on CDC here:
    http://www.oracle.com/technology/products/bi/db/10g/pdf/twp_cdc_cookbook_0206.pdf
    And a useful OWB/CDC illustration here:
    http://www.rittmanmead.com/2006/04/14/asynchronous-hotlog-distributed-change-data-capture-and-owb-paris/
    The setup is very much administrative and an expert would be very useful to cover the cookbook for OWB and CDC.
    Cheers
    David

  • Issue w/ Spaces - Applications moving from screen to screen

    Have been using that laptop for 2 months now - love it. Spaces is a very nifty feature (have it set it up on 4 screens). While I know how to navigate between spaces (using control+arrow for example), very often, my apps are moving from one space to the other.
    While I went into System Preferences to assign specific apps to a specific space, I often have to drag back apps into their original space. That tends to happen quite often when I have several apps from Office open (I usually have entourage, excel and powerpoint open at the same time, each in its own space).
    Am I doing something wrong. i really love Spaces but that issue is really counter-productive and right down annoying.
    Thanks for your help!
    Message was edited by: New Apple Lover!!

    There is a known issue with MS Office 2008 not respecting Spaces.
    It happens with some Adobe applications to.

  • White space issues between content and footer.

    I am having white space/page length issue between the end of my content and the footer.
    I have read the forums and tried changing the page length minium height to 800 and then I
    unchecked the sticky footer in page properties on both the master page and the content page itself.
    Here's a link to one of my pages.  http://www.ueonline.com/rohs-info.html
    This page has very little content and you can see the white space.
    Any help is appreciated.

    This may be a little dated for a reply, and I'm not 100% sure your issue is the same as mine, but I discovered that unchecking the sticky footer option in site properties solved the problem. I should note that the website I was building for a client was über simple, and while disabling that function solved the headache in my own project, it may incur unwanted results in others, depending on the complexity.
    DTA

Maybe you are looking for