How to implement checkpoint restart in OWB 11gR2?

How to implement checkpoint restart in OWB 11gR2?
Which will enable us to restart the OWB mapping from the last successfully inserted checkpoint onwards.
Edited by: user4593813 on Jul 6, 2010 10:23 AM

Hi Borkur,
Thanks for reply.
Actually I want to implement it in OWB. But after I got the answer from you, I decided to do in some othere way.
The way you mentioned is right when we are performing the operations directly on a table.
But in my scenario, an intermediate data is generating. I want to perform lag over operation on those records. Its possible by view.
So for performing operations for intermediate result, Oracle is providing Table Function concept. I can pass the result to it.
But the problem again is, how to implement the lag over operation there.
Any idea.?
Thanks and regards
Gowtham sen.

Similar Messages

  • Process Flow Restart Logic OWB 11gr2

    Hi,
    I know OWB 11gr2 doesn't provide PF restart logic and one has to come up with his/er PFRL deisgn and implementation logic. Just wondering if any one has done it sucessfully and can refer me to a proper documentation or design.
    Thanks

    Read about error handling in Oracle Workflow:
    http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15853/T361836T362426.htm
    You can use ideas of Workflow default error processing for designing custom system for notifcation administrator about fails in OWB processflow and to provide tools to restart failed activities (it is impossible dirrectly use default Workflow features becuase - restart is possible at whole process where error occured and OWB mapping errors is not produce error events in Workflow).
    I guess you need design (I am not a big Workflow expert so maybe better to follow Workflow develoepr guide or ask question at {forum:id=72} forum):
    1) procedure for generating "OWB mapping error" event (this procedure should be run periodically, say every 10 minutes)
    2) Workflow processflow (and maybe addirional procedures) for processing "OWB mapping error" event
    3) suscribe designed processflow to "OWB mapping error" event
    Regards,
    Oleg

  • How to implement dynamic sql in owb

    Hi everybody,
    I am new to OWB and hence i want to know how i can implement the following dynamic sql statement in owb...
    Declare
    Cursor C_tab_col is
    Select cat from tbl_cat_edesc_1 ;
    Vcat varchar2(240);
    Cursor C_edesc_col is
    Select edesc from tbl_cat_edesc_1 ;
    Vedesc varchar2(240);
    V_Command varchar2(30000);
    Begin
    Open C_Tab_col;
    Fetch C_tab_col into vcat;
    Open C_edesc_col;
    Fetch C_edesc_col into vedesc;
    loop
    V_Command := 'update upd_catseg_1 c set c.'||vcat||'=';
    V_Command := V_Command||'(select d.sales from TEST_catseg d' ;
    V_Command := V_Command||' where edesc = '||''''||vedesc||''''||' and c.cardno=d.cardno)';
    dbms_output.put_line('10 '||V_command);
    Execute immediate v_command;
    Fetch C_tab_col into vcat;
    Exit when c_tab_col%notfound;
    Fetch C_edesc_col into vedesc;
    Exit when c_edesc_col%notfound;
    end loop;
    commit;
    end;
    Thanks a many

    Hi,
    first i have created a procedure witht he following code in the code editor...
    BEGIN
    Declare
    Cursor C_brand_col is
    Select cat from TBL_CAT_EDESC_BRAND ;
    Vbrand varchar2(240);
    Cursor C_bredesc_col is
    Select EDESC_BRAND from TBL_CAT_EDESC_BRAND;
    Vbredesc varchar2(240);
    V_Command varchar2(30000);
    Begin
    Open C_brand_col;
    Fetch C_brand_col into vbrand;
    Open C_bredesc_col;
    Fetch C_bredesc_col into vbredesc;
    loop
    V_Command := 'update sav_fc_sa_pc c set c.'||vbrand||'=';
    V_Command := V_Command||'(select d.fc_brands_sa from TEST_brand d' ;
    V_Command := V_Command||' where d.brand_edesc = '||''''||vbredesc||''''||' and c.cardno=d.cardno)';
    dbms_output.put_line('10 '||V_command);
    Execute immediate v_command;
    Fetch C_brand_col into vbrand;
    Exit when c_brand_col%notfound;
    Fetch C_bredesc_col into vbredesc;
    Exit when c_bredesc_col%notfound;
    end loop;
    commit;
    end;
    END;
    then i validate it and deply it..
    after that i create a mapping and in that mapping i first import the table TBL_CAT_EDESC_BRAND and drag and drop it into the mapping and again the i put the procedure into a transformation operator and connect the inoutgrp of the table to the transformation operator ingrp deploy it and run it...this is taking a lot of time .... so i am not sure whether i am doing the right thing...for this dynamic sql i dont need to pass any parameters. can i juz execute this procedure or should i create a mapping ???? i am totally confused... could you please help me.....how to proceed........
    if i juz execute the dynamic sql it takes only 5 min in sql but i am not sure how ti implement it in owb... can you please help...
    Thanks a many

  • How to implement Dynamic lookup in OWB mappings(10g)

    Hi,
    Iam using OWB 10g version for developing the mappings.
    Now I need to implement the Dynamic lookup in the mapping.Is there any transformations available in OWB to achieve this.
    Please give me some information about the same.
    Thanks in advance...

    Hi,
    first i have created a procedure witht he following code in the code editor...
    BEGIN
    Declare
    Cursor C_brand_col is
    Select cat from TBL_CAT_EDESC_BRAND ;
    Vbrand varchar2(240);
    Cursor C_bredesc_col is
    Select EDESC_BRAND from TBL_CAT_EDESC_BRAND;
    Vbredesc varchar2(240);
    V_Command varchar2(30000);
    Begin
    Open C_brand_col;
    Fetch C_brand_col into vbrand;
    Open C_bredesc_col;
    Fetch C_bredesc_col into vbredesc;
    loop
    V_Command := 'update sav_fc_sa_pc c set c.'||vbrand||'=';
    V_Command := V_Command||'(select d.fc_brands_sa from TEST_brand d' ;
    V_Command := V_Command||' where d.brand_edesc = '||''''||vbredesc||''''||' and c.cardno=d.cardno)';
    dbms_output.put_line('10 '||V_command);
    Execute immediate v_command;
    Fetch C_brand_col into vbrand;
    Exit when c_brand_col%notfound;
    Fetch C_bredesc_col into vbredesc;
    Exit when c_bredesc_col%notfound;
    end loop;
    commit;
    end;
    END;
    then i validate it and deply it..
    after that i create a mapping and in that mapping i first import the table TBL_CAT_EDESC_BRAND and drag and drop it into the mapping and again the i put the procedure into a transformation operator and connect the inoutgrp of the table to the transformation operator ingrp deploy it and run it...this is taking a lot of time .... so i am not sure whether i am doing the right thing...for this dynamic sql i dont need to pass any parameters. can i juz execute this procedure or should i create a mapping ???? i am totally confused... could you please help me.....how to proceed........
    if i juz execute the dynamic sql it takes only 5 min in sql but i am not sure how ti implement it in owb... can you please help...
    Thanks a many

  • How to implement Lag over  in OWB?

    Hi,
    Could any one please explain, how we can implement lag over in OWB?
    Thanks and regards
    Gowtham Sen.

    Hi Borkur,
    Thanks for reply.
    Actually I want to implement it in OWB. But after I got the answer from you, I decided to do in some othere way.
    The way you mentioned is right when we are performing the operations directly on a table.
    But in my scenario, an intermediate data is generating. I want to perform lag over operation on those records. Its possible by view.
    So for performing operations for intermediate result, Oracle is providing Table Function concept. I can pass the result to it.
    But the problem again is, how to implement the lag over operation there.
    Any idea.?
    Thanks and regards
    Gowtham sen.

  • How to migrate 10gR1 repository to OWB 11gR2?

    We are trying to migrate OWB 10gR1 repository to OWB 11gR2?
    But are being faced with version compatibility issues.
    Is there any work-around for the same?

    This is a bit before my time, so I'm not very familiar with how the repository worked in 10gR1, but you might have a look at this... assuming you at least have the database credentials for the repository owner, it looks like you can perform user management tasks through this helper package that might get you an OWB user that can access everything, and let you move your design into 10.2 (from which you can migrate on to 11.2).
    http://download.oracle.com/docs/cd/E10926_01/doc/owb.101/b12146/extending.htm#i1088387
    Maintaining Repository Users
    Multiple identifiable Warehouse Builder users can access the same central repository schema when they are registered by the repository owner.
    Warehouse Builder includes utility procedures for the following maintenance tasks:
    * Update the role protecting password
    Although the repository owner does not explicitly use the protecting password for the role, it is recommended that the repository owner change the password often.
    The repository owner must connect to the repository schema using SQL Plus and issue the following statement:
    Call WBSecurityHelper.updateRolePwd('newpwd');
    where'newpwd' is the new password used to protect the role chosen by repository owner. The changed password encryption appears in the table called OWB_ROLE_INFO table.
    * Register repository users
    Warehouse Builder users must be database users located in the same database instance as the repository. The database user's default role should not be ALL. Use 'After user xxx DEFAULT Role x' to set the default role property.
    To register a repository user, execute the following statement in SQL Plus:
    call WBSecurityHelper.registerOWBUser ('username')
    * Unregister repository users
    To unregister a user from a repository, execute the following statement in SQL Plus:
    Call WBSecurityHelper.unregisterOWBUser('username');
    * List all repository users
    The repository owner must connect to the database containing the repository and issue the following statement:
    Set serveroutput on;
    Call WBSecurityHelper.listOWBUser( );
    Set serveroutput on is required since listOWBUser() uses the DBMS_OUTPUT.put_line for the output to dump the data to the user interface. Otherwise, DBMS_OUTPUT.put_line only dumps the output into an intermediate data structure.
    The preceding user maintenance tasks should be performed in the repository by the repository owner.

  • How to implement scd1,scd2 in OWB

    Hi,
    i want to implement scd1,2 using OWB earlier i am working on informatica i am new to OWB pls guide me

    check this
    http://www.rittmanmead.com/2006/09/working-through-some-scd-2-and-3-examples-using-owb10gr2/

  • How to Implement Dimension Operator in OWB

    Hi,
    Actually I am new to OWB and I am confused about the use of dimension operator and cube operator
    I want to know how data is mapped with dimension operator as source and target(in different cases) and also how the cube operator is attached to the dimension operator..
    Bottom line is what is the use of dimension operator and cube operator in mapping.
    Please help me out with this..its urgent
    Thank you
    Edited by: rishiraj on Jan 3, 2012 11:10 PM

    The dimension and cube operator encapsulate a lot of standard ETL for loading dimension and cubes (semantics on top of implementing tables). For example the operators handle hierarchy loading, surrogate key management, slowly changing dimensions, late arriving facts and all sorts. In many tools this kind of behavior has to be manually developed by users.
    You can expand the dimension operator and see under the hood to look at the code that is produced.
    Cheers
    David

  • How to implement wait activity in OWB process flows?

    Hi,
    I am using OWB 10G R1.
    There is no wait activity in process flows.
    My scenario is, whenver a trigger file is created, I want to proceed with the process flow. If the trigger file doesnot exist, then I want to put the process flow in a wait state, until the trigger file is created.
    Here I used File_Exists activity. But it is checking for the file only once. And it returns warning.
    After that, I want to add an wait activity for certain period of time. How can I do this? Is there is any package,procedure or function to do that?
    Any help is appreciated.
    Thank you,
    Regards,
    Gowtham Sen.

    Gowtham,
    Well the following hint is provided by oracle warehouse builder help.........
    The time-out setting for the workflow engine determines how long the File Exist activity waits for a file. If the file does not arrive before the time-out setting expires, the File Exists activity terminates with errors.
    well someone with deep workflow knowledge can answer this one...
    If you get the answer please share with us.....
    Regards,
    Suraj.

  • I want to Migrate Runtime Metadata in OWB 11gR2

    i created a new repository and migrated metadata from old repository.
    i migrated metadata by follow link: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/owb/owb_migrate/lesson2/lesson2.htm
    now i want to deploy it. i read and do follow link: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/owb/owb_migrate/lesson3/lesson3.htm
    but owb11g hasn't cc_migrate.bat file.
    how to Migrate Runtime Metadata in OWB 11gR2? i want to deploy their objects.

    Hello,
    this forum is dedicated from migrations from non-Oracle databases to Oracle, using the SQL Developer Migration Workbench.
    I suggest that you ask your questions again in the following forum:
    Oracle Discussion Forums » Data Warehousing » Warehouse Builder
    Warehouse Builder
    Regards
    Wolfgang

  • How to implement "delete" on a table using OWB?

    Hi All,
    How do I implement a simple delete using OWB?
    Assumption:
    (1) Table abcd (id number, age number, amt number)
    (2) the_number is a variable
    (3) the_id is a variable
    Want to implement following transformation in OWB?
    DELETE FROM ABCD WHERE AMT=0 AND number = the_number AND id = the_id ;
    Rgds,
    Deepak

    We implemented delete mappings, and delete flows to be able to reverse a failed load. This is in my opinion a very sound and valid reason for deleting from a datawarehouse. Also if the need is there it could be used for deleting old superfluous data from the datawarehouse.
    There are a few things to consider: closed records in type II should be opened up (post mapping).
    Test, test, test.
    It is indeed a bit tricky to realize,but certainly working and possible.
    steps to take are following:
    1) create new mapping
    2) drop mapping table where to delete from onto mapping (2 times, 1 source, 1 target)
    3) map all fields from source to their corresponding fields in target, except the ones that determine the "where" clause (Refered to as filter fields)
    4) Either create a select, or a mapping input parameter which should result in generating the filter-values for your delete.
    5) map above step to the filter fields.
    6)define a delete mapping by altering target table properties as follows:
    6a) Loading Type => Delete
    6b) Match by constraint => No constraints
    7) set properties each field as folows:
    7a) filter fields match column when deleting => Yes
    7b) other fields match column when deleting => No
    Hope this helps,
    Wilco

  • How to implement subquery in OWB mapping

    I am trying to build a mapping (OWB 10gR2) which uses a single driver table (COLLEGE) and requires additional columns from 2 other tables (CONTACT and DEMOGRAPHIC) which have a many-to-one relationship with the driver table. The output should be a single record for each record in the driver table.
    For the join to the CONTACT table I only want to return the first record found. The join for the DEMOGRAPHIC table should return the record with the MAXIMUM year. In SQL I would handle these relationships via subqueries. Here is a sample of the SQL that I would use:
    select college_CODE,
    college_DESC,
    contact_NAME,
    contact_PTYP_CODE,
    demographic_DEMO_YEAR,
    demographic_CALENDAR_TYPE,
    demographic_ACCREDITATION_TYPE
    from college, contact, demographic
    where college_code = contact_sbgI_code
    AND contact.ROWID = (SELECT MIN(A.contact.ROWID)
    FROM contact A
    WHERE A.contact_SBGI_CODE = college.college_CODE )
    AND college.college_CODE = demographic.demographic_SBGI_CODE
    And demographic.demographic_DEMO_YEAR = (SELECT MAX(B.demographic_DEMO_YEAR)
    FROM demographic B
    WHERE B.demographic_SBGI_CODE = college.college_CODE)
    How do I implement this logic within OWB? Is there any way to do it without using views?
    Thank you in advance!
    Chuck

    Hi,
    Try this way....join college and contact tables (if u r maintaining history in contact table use the dates also to join) and get the min of effective date form the contact table thru the aggregator...this will give u the first record....then join the result with the DEMOGRAPHIC table and get use the aggregator to get max of the year...this should give u the right result...
    Regards
    Bharath

  • How to implement SCD type 2 in OWB 11g

    Hi all,
    I would like to know that how to implement SCD type 2 in OWB 11g.
    Actually I have tried to implement it but the target table which contains the effective_date and expiration_date are null after running the mapping.
    I have set the effective date and expiration date settings in the SCD tab of dimension object.
    Kindly help me the same if anyone knows.
    Kind regards,
    shikha

    You were able to get OWB11g to move data?
    Are you running on a 64-bit windows server? I could not get it to do a basic data move on this type of server install.

  • How to run an OWB 11gR2 process flow using OEMS Jobs?

    How to run an OWB 11gR2 process flow using OEMS 11g Jobs?
    In other words iam trying to create an Oracle Enterprise manager job for scheduling and running an OWB Process flow.
    Can any one of you please route me to a documentation for the same,or enlist the steps involved?

    Hi,
    look at OWB API Reference (it is of 11gR1 OWB release but you can apply this procedure to OWB11gR2 as well)
    http://download.oracle.com/docs/cd/B28359_01/owb.111/b31279/api_4sqlforjobs.htm#BABEBGHA
    Regards,
    oleg

  • Select distinct cardno how ti implement in owb

    Hi, everyone,
    i am quiet new to owb and i want to know how to use the distinct in owb...
    my query is
    select distinct cardno,brand_edesc
    from table tlog where
    edesc = 'AAAA'
    and tmonth >=200807 and tmonth<=200809
    so my question is
    for the where clause i use the filter operator now i want know in owb what operator do we use to select distinct ????
    Thanks a many

    You can use Deduplicator operator.
    Drag the Deduplicator operator and pass cardno,brand_edesc to it .
    Cheers
    Nawneet

Maybe you are looking for