Target Load Order is not working

I work with OWB 10gR2.
A have mapping with 2 target tables (say A and B). Table A needs to be filled before table B. How can I achieve this?
I have put 1 in "Target Load Order" property of table A and 2 in "Target Load Order" property of table B but this does not have the expected effect.
Anyone hase experience with this.

Hi,
look at the documentation:
When you design a PL/SQL mapping with multiple targets, Warehouse Builder calculates a default ordering for loading the targets. If you define foreign key relationships between targets, Warehouse Builder creates a default order that loads the parent and then the child. If you do not create foreign key relationships or if a target table has a recursive relationship, Warehouse Builder assigns a random ordering as the default.
You can override the default load ordering by setting the Target Load Order property. If you make a mistake when reordering the targets, you can restore the default ordering by selecting the Reset to Default option.
To specify the loading order for multiple targets:
Click on whitespace in the mapping canvas to view the mapping properties in the Property Window in the upper right corner.
Go to the Map Targets Load Order property and click the Ellipses button on the right side.
Warehouse Builder displays the Map targets load order dialog.
To change the loading order, select a target and use the shuttle buttons on the right to move the target up or down on the list.
Regards
Detlef

Similar Messages

  • Target Load order is not working properly in 11.2.0.2

    Hi,
    Mappings whihc are migrated from OWB10.2 version to 11.2 which contains multiple targets are not working in accordance with the target load order given in the mapping.
    The order in which targets are loaded changes between execution.
    To test is this a problem with migration we had created a smaple mapping containg 3 targets and mentioned loading order in each target table as well as in mapping property.
    The order in which the targets are loaded was random. But when we have 2 targets it seems to be working. But for migrated maps this is also not working.
    Is there any bug reported in 11.2.0.2 for this issue? Any help is highly appreciated.
    Thanks and Regards,
    Pnreddy

    Target load ordering is set to false by default in 11.2.
    You need to set it to true if you want your mapping to use it.

  • Unlicenced Options in OWB- target load ordering & variables in workflows

    In need to perform overall repository check-up , to see if unlicenced "features" : Target Load Order and Variables in Workflows have been used in Mappings.
    Ideally, I would just like to wirte a query, to "comb" the repository and find the offending Mappings and Workflows.
    The problem is : I don't know which tables to query - the view structure in Repository is pretty complex. The view ALL_IV_OBJECT_CONFIGURATIONS seemed like a good starting point for detecting usage of target load ordering but I kept getting ORA-22835(since there are CLOBS in underlaying tables) and couldnt get rid of that , since there are 10 levels of sub-views underneath-so I lost track and am not sure which column refers to CLOB any more..
    Can anybody help me ? Is there a way at all to retrieve this kind of information from the repository ?
    Edited by: Reggy on 01.09.2010 03:13
    Edited by: Reggy on 01.09.2010 03:14
    Edited by: Reggy on 01.09.2010 03:15

    Reggy,
    for list of used variables in processflow use ALL_IV_PROCESS_VARIABLES OWB public view.
    Regarding Target Load Order - maybe using ONLY configuration property Target Load Ordering is not the base case because this flag enabled by default for new mapping. You need to perform additional check - that mapping contains more then one target table.
    I cannot help with ALL_IV_OBJECT_CONFIGURATIONS view (ORA-22835, on OWB 10.2.0.3 have same error), instead try OMB*Plus script like this
    OMBCC '/PROJ/TARGET_MODULE'
    set mapList [OMBLIST MAPPINGS]
    foreach mapName $mapList {
      # it is a configuration property Use Target Load Ordering
      set targetOrderFlag [OMBRETRIEVE MAPPING '$mapName' GET PROPERTIES(TARGET_LOAD_ORDERING)]
      # it is coma separated list of target tables
      set targetTabList [OMBRETRIEVE MAPPING '$mapName' GET PROPERTIES(TARGET_LOAD_ORDER)]
      # check that targetTabList contains more than one tables
    }Regrads,
    Oleg

  • Target Load Ordering

    Hi,
    if target load ordering is not used (because we do not have the enterprise etl license), what happens if I load data from table A into table B and then from the same table operator B into table C?
    Can I be sure that table B is always loaded first?
    Regards,
    Carsten.

    If You create a queue table A -> table B -> table C You can be sure that B is populated before the data is transferred to C, even if You are not using Enterprise ETL.
    If You create a mapping table A -> table B and table A -> table C then it is not so easy to identify, which table is populated first table A or table C. As far as I know, OWB uses the sequence in which the table operators where dragged into the mapping as a default load order. A "random" approach can not be used, as PL/SQL does not support any random execution in a package ...

  • Target Load Order Bug?

    Version:  12c
    I've set the Target Load Order to:
    T1,T2,T3
    But it always generates the jobs as:
    Load T3 - IKM Oracle Merge
    Load T1_T2 - Unknown KM (this is actually IKM Oracle Multi-Insert.GLOBAL)
    Please help!!!

    There is a workaround, but it requires some work on the physical tab.  You have to drag the items around so that you end up with two targets.  The first target loads the multi-insert to T1 and T2 and the second target loads T3.  They should default to run serially, which is what is needed.  Do not run in parallel.  I had trouble with the icons in the upper left of the execution units (blue boxes) updating.  Switching to logical view and back should fix them.

  • Target load order within dimension operator

    Hi there,
    We are having the following situation, a dimension which has two roles assigned to it is populated via a simple mapping, basically loaded from one staging table.
    It only seems to work when the table which has foreign keys against this table have these fks disabled. If they are not disabled, it is writing all records to the dimension. Is this a known bug?
    Why is this the case? I can see within the mapping a part which talks about target load order on the dimension operator and that this is determined by the fk relationships.
    We could manually configure this target load order but only 1 physical table being populated and the target load order looks to give alot of oracle tables implenetde by owb itself.
    Any advice much appreciated.
    Many Thanks

    Hi,
    You need to unlock the application using the HspUnlock application utility :- http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/ch04s02.html
    I would also advise using an agent and not the local agent if you are doing so.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Adding pre-mapping process breaks target load order

    OWB 11.2.0.2 on Oracle database 11.2.0.2
    I created a mapping that has 4 sources (views on external tables) and 4 targets (3 regular tables).
    V1 => T1 (truncate/insert)
    V2 => T2 (truncate/insert)
    V3 => T3 (truncate/insert)
    V4 => T3 (update/insert)
    The above is the target load order. It tested fine.
    I added a pre-mapping process (packaged procedure) that is unrelated to any of these source/target tables, but just exits or raises a failure to control whether the mapping should continue to run or not.
    When I run it, the selected/inserted/merged counts are identical, but from what I'm seeing in T3 is that the order was update/insert followed by truncate/insert. I verified that the target load order remained the same.
    Has anyone else run into this problem?

    Hi,
    For OWB 11.2.0.2 the target load order property will set to 'False' by default.
    If this is the case you can not guarantee that the targets will be loaded in the order specified. It should be set to 'true'
    Right click on your map and select configure -> Code generation Properties -> Use target load ordering set it to true.
    Please note that you should have ODI EE licence and you must have installed OWB with Enterprise opton to set this property.
    Regards,
    Pnreddy

  • Layout Options - Page Order Does Not Work Correctly

    I have a Photosmart C7280 All-in-One printer.  The Layout Option - Page Order does not work as expected.  The User Guide (page 95) states that the default for a multiple page document is to print first page first.  The manual states that to print last page first requires one to change the Page Order to "Back to Front".  For my Excel, Word, Internet Explorer and PDF pages, I need to leave the Page Order as "Front to Back" if I want the last page to print first.  This makes no sense.  In addition, I can't get my Quicken reports to print last page first no matter what I try.  Does anyone no why the Page Order does not work as expected for Excel, Word, IE and PDF, and does not work at all for Quicken?

    Keisha,
    If you uncheck the "show" option, then the corresponding HTML for that item is not rendered on the page. Thus, when you try to inspect that item via APEX_APPLICATION.G_F02, it simply doesn't exist.
    One trick that I use when I want to have hidden items on the page, but not make them take up any space, is to concatenate them to items that will be visible.
    Using your query as an example, I would re-write it like this:
    SELECT APEX_ITEM.CHECKBOX(1,ROWNUM,'CHECKED')ATTENDED,
    APEX_ITEM.HIDDEN(2,C.PARTY_ID)
      || APEX_ITEM.HIDDEN(3,C.PARTY_TYPE_CODE)
      || C.PARTY_TYPE_CODE PARTY_TYPE_CODE,
    S.PERSON_ID,
    S.PERSON_FIRST_NAME AS NAME,
    C.PARTY_CASE_ID
    FROM CASE.PARTY C
    INNER JOIN DN.PERSON S
    ON C.PARTY_ID = S.PERSON_ID
    WHERE C.PARTY_CASE_ID = :P18_CDBCASE_ID
    AND C.PARTY_SEQ_NO = :P18_SEQThus, the second APEX report column will contain the HTML for the hidden items PARTY_ID & PARTY_TYPE_CODE, as well as the value for PARTY_TYPE_CODE. When you submit the page, you should not encounter any issues.
    Thanks,
    - Scott -
    http://sumnertechnologies.com/
    http://spendolini.blogspot.com/

  • Oracle Applications 11i Load Balancing does not work with RAC one Node

    Hi all,
    Could you help me to resolve this issue.
    Architecture environment is :
    - One APPS tier node
    - Two nodes Oracle Database Appliance (Primary node 1 holds INSTANCE_1 et Secondary node is configurured to holds INSTANCE_2), i.e RAC one Node.
    - The primary node have instance_name SIGM_1 and the secondary node have instance_name SIGM_2, but in RAC one node, the secondary instance is not alive.
    We convert our EBS 11i environment to RAC following note ID Using Oracle 11g Release 2 Real Application Clusters with Oracle E-Business Suite Release 11i [ID 823586.1].
    When testing Database failover, Oracle Applications 11i load balancing does not work anymore.
    The root cause is that, when the primary node of the Rac one node is down, the INSTANCE_NAME_1 is automaically relocating to the surviving node,.
    During test failover, we imagine that when the primary node goes down, the secondary node start or relocate database with instance_name SIGM_2, and in that case the Oracle Applications load balancing works.
    Currently, when the primary node goes down, the instance_name SIGM_1 is relocated on the secondary node, which cause failure of Oracle Applications Load Balancing.
    Thank you for your advice.
    Moussa

    This is something I observed a long time ago for Safari (ie: around version 1). I'm not sure this is Safari, per se, but OpenSSL that is responsible for the behavior. I'm pretty sure Chrome does this and I've seen some Linux browsers do it.
    What I have done at the last two companies I've worked for is recommend that our clients do not use SSL SessionID as the way of tracking sticky sessions on web servers, but instead using IP address. This works in nearly all cases and has few downsides. The other solution is to use some sort of session sharing on your web servers to mitigate the issue (which also means that your web servers aren't a point of failure for your users' sessions). (One of the products I supported had no session information stored on the web servers, so we could safely round-robin requests, the other product could be implemented with a Session State Server... but in most cases we just used IP address to load balance with). The other solution is to configure your load balancer to terminate the SSL tunnel. You get some other benefits from this, such as allowing your load balancer to reduce the number of actual connections to the web servers. I've seen many devices setup this way.
    One thing to consider through this is that - due to the way internet standards work - this really can't be termed a bug on anyone's part. There is no guarantee in the SSL/TLS standards that a client will return the same SSL Session ID for each request and there is not requirement that subsequent requests will even use the same tunnel. Remember, HTTP is a stateless protocol. Each request is considered a new request by the web server and everything else is just trickery to try and get it to work the way you want. You can be annoyed at Safari's behavior, but it's been this way for over 5 years by my count, so I don't expect it to change.

  • VLD-1137 Target Load Ordering foreign keyrelationships mapping flowconflict

    Hi,
    I face a error when validating the mapping under the following condition.
    Error while validating a mapping after adding foreign key relationship on the table (for the second time. For example a table named journal had a foreign key on the same table (like jou_pk, now I have included one more foreign key to refer the journal table as jou1_fk.
    When used in the mapping this is the only target table, but it is used in the Key Lookup to populate the foreign key column on journal.
    Error Reported while validating / generating the mapping:
    VLD-1137 Target Load Ordering foreign key relationships and mapping flow conflict
    Please help in avoiding this error.
    Thanks,
    Leo.

    Hi,
    how did you solve this....?
    i am also getting this error message
    Thanks

  • Updated my iPhone to new iOS6 and my Memory Loader app does not work!  Is there a fix for the problem as it seems I am not the only one coming across this issue?

    Updated my iPhone to new iOS6 and my Memory Loader app does not work!  Is there a fix for the problem as it seems I am not the only one coming across this issue?

    Other than what you have already done, you should clear the cache from your browser and, if you use it, your Facebook app.  Also, deleting old texts can free up some room.

  • New settlement parameters  in   sales order  does not  work

    Hi
    I have a    sales order for  service material.    It is invoiced.    I  have to settle it.    The  existing  settlement rule  is  wrong. So  I have created a new allocation structure and   changed   settlement  parameter  in     the  sales order.   I save the  sales order.
    But in VA88 the settlement does not work. I get error message ' receiver cost element not defined and thet cat. PSG not defined.'
    But the same allocation structure work good for new sales order.
    Pl advise how  I  can  do the settlement for  old   sales orders,  subsequently changed for  settlement parameter ie allocation structure. 
    Thanks
    kamala

    Hello Kamala
    Not an expert on this subject, but here is what I suggest, Try and see if it works.
    1) Firstly retract the changes you did in sales order and settle first with the wrong settlement parameter (Old data).
    2) Now change the existing allocation structure, don't create NEW ONE. If you change an allocation structure, the changes only affect future settlements.
    3) Then reverse the settlement.
    4) Now re-do the settlement.
    Let me know how it goes. Take care.

  • [Solved] ar9170usb loaded but WIFI not working

    Hi,
    I bought today my new USB WIFI adapter (TP-Link TL-WN822N), but its not working.
    ar9170usb module is loaded correctly, but wlan0 doesnt.
    dmesg| grep ar9170usb
    [ 3.007214] usbcore: registered new interface driver ar9170usb
    lsmod | grep ar9170usb
    ar9170usb 49413 0
    mac80211 211662 5 ar9170usb,carl9170,rt2800lib,rt2x00usb,rt2x00lib
    ath 14355 2 ar9170usb,carl9170
    cfg80211 146369 5 ar9170usb,carl9170,rt2x00lib,mac80211,ath
    usbcore 142192 9 ar9170usb,carl9170,rt2800usb,rt2x00usb,rt2870sta,usbhid,xhci_hcd,ehci_hcd
    lsusb
    Bus 001 Device 003: ID 0cf3:1002 Atheros Communications, Inc. TP-Link TL-WN821N v2 [Atheros AR9001U-(2)NG]
    Any ideas?
    Last edited by nexxx (2011-08-08 07:23:16)

    Solved my problem by blacklisting "carl9170", so only "ar9170usb" module is loaded.
    Blacklisting "ar9170usb" did not work here!
    Thanks
    EDIT:
    After update to Kernel 3.0 the ar9170usb module was removed. Now its not working anymore.
    When i load the carl9170 module,  it says
    [    2.979833] usb 3-1: firmware not found.
    Do I need any additional firmware?
    Last edited by nexxx (2011-08-08 07:19:49)

  • Sort Order Column not Working

    I have set a sort order column on one of A VARCHAR field, but the functionality is not working. The sorting is enabled in the table view and when I sort by the said column it still sorts based on the VARCHAR values of the column instead of the other INT column I want to sort by. The logical SQL and physical query never even includes the column to sort. Are there any exceptions for the 'Sort Order Column' setting? Is there a config setting or data connections setting that I need to check to make this work?
    Thank You!
    Edited by: VNC on Oct 3, 2011 9:08 AM

    hi,
    can you give me more detailes like some sample column data like below kind
    Like Ex: varchar month column it sould display based on month id
    month : Fev-2011,Dec-2011,jan-2011 and month id 1 to 12
    set your month id as sort order column of month name.
    double click month name ->In general tab set the sort order column as month id
    FYI...see the sample link
    http://www.biconsultinggroup.com/obiee-tips-and-tricks/setting-a-sort-order-column.html
    i hope helped you
    THanks
    Deva
    Edited by: Devarasu on Oct 4, 2011 12:39 AM

  • Hints FIRST_ROWS and order by not working together

    Hi,
    We are facing an issue like we are using hint FIRST_ROWS with a query which have a order by clause, if we are giving both together
    it is not working and if we remove either order by or hint it is working
    SELECT /*+FIRST_ROWS*/ * FROM (SELECT MYROWS.*,
    ROWNUM RN FROM (SELECT * FROM V_REPORT WHERE START_DATE > '22-SEP-04'
    AND END_DATE < '22-SEP-08' AND
    (GEO_ID in (select GEO_ID from loc where anc = 0))
    ORDER BY
    ENTITY,OPERATION,NAME
    MYROWS)
    A simliar query from other view is working fine.
    Please help me on the same.

    David_Aldridge wrote:
    Solomon Yakobson wrote:
    Well, ORDER BY implies all rows must be fetched first and then ordered. So yes, FIRST_ROWS does not make much sense in that situation, does it?.
    SY.Not in every case -- sometimes an index can be used by the optimizer to returen rows in the correct order without having identified the entire result set.
    FIRST_ROWS is deprecated in favour of FIRST_ROWS(n), by the way. http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/usingpe.htm#i1009413
    And even if the result set needs to be ordered and no index can be used to avoid the sort operation Oracle offers for "top n" and "pagination" queries the "ORDER BY STOPKEY" optimization which only keeps the top n rows to sort (probably in memory if n is small enough) and eliminates the remaining ones which can make a huge difference if the volume to sort is large.
    I've written a note about issues like that recently.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

Maybe you are looking for