Pkg execution session id in all tables and Session Id of each interface

Hi
I am have one master package executing all interfaces for Staging and Target. Each staging interface loads the data from source to staging tables and target interface loads data from staging to Target. Each table has a column named ETL Batch Id and ETL Session Id. Our designer asked us to populate the ETL Batch Id with the Pkg execution id which will be same in all tables and also the ETL Session Id with the respective interface scenario execution session id which will be different in each table.
Question: 1. What is the purpose and advantage of storing ETL Batch Id in each table?
2. What is the purpose and advantage of storing ETL Session Id in each table?
3. Do I need both? (1 and 2)
BTW the ET design is for Star Schema (Data mart)
Thanks
OBIEE Fan

This is really a question for your designer - there may be valid reasons why you'd want to store the session ID - maybe to help with break analysis or data quality monitoring. If you store the session ID in a table then you should be able to work out the "batch ID" by looking at the work repository/operator. But again, whether you "need" them is a question for your designer.
ODI may update rows as well as insert, so there may be considerations there as to how you tell the difference.
Edited by: _Phil on Oct 9, 2012 9:45 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to find all table and views in the database

    Hi,
    I want to find all table and view name form the database can u tell me syntax.
    i.e. I am able to find out table name and view name in sql server ...like
    FOR VIEW :
    select table_name from information_schema.views where table_name not like 'sys%'
    FOR TABLE :
    select table_name from information_schema.tables where table_name not like 'sys%' and table_type='Base table'
    Thanks & Regards,
    Shirish

    Hello,
    Take a look at "dba_tables" and "dba_views" both of which are documented here:
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14237/toc.htm
    - Mark

  • GRANT SELECT to TEMP(by procedure)..... ALL tables and views of OWNER....

    hi ,
    I want to privelege only Grant SELECT ALL tables,views....
    I have written A procedure.....given below....
    CREATE OR REPLACE PROCEDURE GRANT_SELECT_ALL_PROC
    IS
    l_obj VARCHAR2(60);
    l_obj_type VARCHAR2(60);
    CURSOR Cur_Obj IS
    SELECT OBJECT_NAME,OBJECT_TYPE
    FROM USER_OBJECTS
    WHERE USER ='OWNER';
    BEGIN
    For i in Cur_Obj Loop
    l_obj := i.OBJECT_NAME;
    l_obj_type := i.OBJECT_TYPE;
    IF l_obj_type IN ('TABLE','VIEW')
    THEN
    EXECUTE IMMEDIATE 'GRANT SELECT ON' || l_obj ||'TO TEMP’;
    ELSIF l_obj_type IN('FUNCTION','PROCEDURE','PACKAGE') THEN
    EXECUTE IMMEDIATE 'GRANT EXECUTE ON'|| l_obj ||'TO TEMP’;
    END IF;
    END LOOP;
    END GRANT_SELECT_ALL_PROC;
    procedure is working fine.....
    OWNER there are some table and views......
    But After creation of User name TEMp....
    When I m giving GRANT SELECT to TEMP(by procedure)..... ALL tables and views of OWNER....
    when I coonecte to TEMP...
    Not getting table,view List...
    not even data of table or Views.....
    can anybdy help me.......advance thanx ...
    sanjay

    hi ,
    I want to privelege only Grant SELECT ALL
    tables,views....
    have written A procedure.....given below....
    CREATE OR REPLACE PROCEDURE GRANT_SELECT_ALL_PROC
    IS
    l_obj VARCHAR2(60);
    l_obj_type VARCHAR2(60);
    CURSOR Cur_Obj IS
    SELECT OBJECT_NAME,OBJECT_TYPE
    FROM USER_OBJECTS
    WHERE USER ='OWNER';
    BEGIN
    For i in Cur_Obj Loop
    l_obj := i.OBJECT_NAME;
    l_obj_type := i.OBJECT_TYPE;
    IF l_obj_type IN ('TABLE','VIEW')
    THEN
    EXECUTE IMMEDIATE 'GRANT SELECT ON' || l_obj ||'TO
    TEMP’;
    ELSIF l_obj_type IN('FUNCTION','PROCEDURE','PACKAGE')
    THEN
    EXECUTE IMMEDIATE 'GRANT EXECUTE ON'|| l_obj ||'TO
    TEMP’;
    END IF;
    END LOOP;
    END GRANT_SELECT_ALL_PROC;
    procedure is working fine.....
    OWNER there are some table and views......
    But After creation of User name TEMp....
    When I m giving GRANT SELECT to TEMP(by
    procedure)..... ALL tables and views of OWNER....
    when I coonecte to TEMP...
    Not getting table,view List...
    not even data of table or Views.....
    can anybdy help me.......advance thanx ...
    sanjayQuery SELECT * FROM USER_TAB_PRIVS_MADE from the user from which you are executing the procedure
    and Query SELECT * FROM USER_TAB_PRIVS_RECD from the TEMP user.

  • Extract schema/metadata - names for all tables and attributes

    Hi, I am quite new to Oracle DB (only been doing dev mostly with sqlserver before). Is there a way to extract schema (names for all tables and attributes) for 10g and 11g in application code (either java or .net) or pl/sql?
    Thank you,
    -Tony

    There are built in views that start with DBA_, ALL_, and USER_. All means all the user can see, user means all the user has, and dba means everything, which generally means the same as the others plus an owner. So you can desc user_tables to see what-all that view has, then select columns from the view with ordinary sql. See the doc set for all the views available, interesting ones are ...views, ...objects, ...tab_cols and so forth.
    There are also built in procedures for getting metadata, google for details.
    Many tools have easy GUI's for this too. EM has ways on the administration screen to get to various objects, and then you can show the ddl. Maybe sqldeveloper has something too.

  • EXPORT SCHEMA 'S ALL TABLES AND PROCEDURES BY EXPDP

    how i can export schema's all tables and procedures using expdp.
    when i am giving expdp usr/pass schemas=scott directory=export_dir dumpfile=280606.DMP logfile=280606.log tables=*
    but it is giving error.
    pls help
    regards
    Prabhaker

    You only need to specify parameter USER or TABLES , no need of both
    specify USER=SCOTT then it will export all objects in SCOTT

  • Report to find all table and index sizes

    Hi all,
    Good day..
    Is there any report.sql or so to find out the sizes of all the tables and indexes in a database.
    thanks,
    baskar.l

    1.To get table size
    What will be the table size if?
    <or>
    break on report
    set line 200
    COMPUTE SUM LABEL "Total Reclaimable Space" OF "KB Free Space" ON REPORT
    column "Table Size" Format a20
    column "Actual Data Size" Format a20
    column "KB Free Space" Format "9,99,999.99"
    select table_name,
    round((blocks*8),2)||'kb' "Table size",
    round((num_rows*avg_row_len/1024),2)||'kb' "Actual Data size",
    pct_free,
    round((blocks*8),2) - (round((blocks*8),2)*pct_free/100) - (round((num_rows*avg_row_len/1024),2)) "KB Free Space"
    from user_tables
    where round((blocks*8),2) - (round((blocks*8),2)*pct_free/100) - (round((num_rows*avg_row_len/1024),2)) > 0
    order by round((blocks*8),2) - (round((blocks*8),2)*pct_free/100) - (round((num_rows*avg_row_len/1024),2)) desc
    2.To get index size
    How to size the Index
    Hth
    Girish Sharma

  • VIew all tables and data in MaxDB

    Is there any software that is able to view all the tables and data in the MaxDB instance?

    Hello
    Assuming, that you are looking for information about the DB's catalog, please consider the catalog functions of JDBC or ODBC.
    Surely there exists a lot of free tools, gathering the catalog via JDBC/ODBC of a database.
    Regards  Thomas

  • How to view all tables and column names from a remote database

    Hey Guys,
    I have a database in a remote server. I have the db link and the schema name.. Now i want to view all the tables in the remote database with column names.. I dont have access to that database using sql developer.. But i can view some tables using the db link..Is there any way i can view all the tables with the column names?

    user10683742 wrote:
    Dont think i have DBA access..It gives the following error
    ORA-00942: table or view does not exist
    00942. 00000 - "table or view does not exist"You don't have to have 'dba' access, per se. You just have to have SELECT ALL TABLES privilege. when you use a db_link, you are connecting to the remote db with the user defined in the link, and .. on that db .. you will have the privileges of the user defined in the db link. Exactly as if you had used sqlplus to connect to that db with that user.

  • How to get the disco model with all tables and fields ?

    Hello !
    I have to make a document showing all the tables and fields I have in my EUL ... This would be a good documentation for our company and our clients too !
    I haven't find any ways to perform this directly from disco admin and I can't make a query using the EUL tables ...
    Please Help ...

    Hi,
    I am assuming you are using Discoverer 4.1/4i. In the Oracle Home\Discvr4 directory contains an EUL4.eex file. Import this in Admin edition, and it will create a business area on your EUL. Then you can get details on the Folders and Items and use it to create reports....
    Cheers
    Deepak

  • Copy all tables and data from remote schema to local schema

    Hi,
    I am using Oracle 10g Enterprise edition as a database and Windows 7 as the operating system.
    My Requirement is to copy all the tables and data from remote machine database to my local machine.
    I created a DB link between my location schema and remote machine schema. Database link created successful. Error what i am getting when i am trying to import all the tables from the remote data is as mentioned below
    I created a directory gave all the privilege to do read and write on the directory.
    Directory name : DUMP
    Local Schema name / PASSWORD : PRODUCTION / PRODUCTION
    Remote Schema name / Password : portal / m3892!2
    When i run this scrip from command prompt
    impdp PRODUCTION/PRODUCTION DIRECTORY=DUMP LOGFILE=LOCALPROD_MERUPROD.log network_link=MERU_DEV_LOCAL_PROD schemas=portal remap_schema=portal:PRODUCTION TABLE_EXISTS_ACTION=REPLACE
    It is giving me following error please suggest me what is the mistake i couldn't trace
    ORA-31631: privileges are required
    ORA-39149: cannot link privileged user to non-privileged user
    Thanks
    Sudhir

    Thanks I gave the grant permission for the "portal" remote user. I didn't not get the error. Issue am facing now is I need to copy the entire schema of production to my local system production.
    I am currently using the below script to copy. it not working. what might be the reason there is no error message coming but still i don't see any tables in my local system after executing this script
    impdp PRODUCTION/PRODUCTION DIRECTORY=DUMP LOGFILE=LOCALPROD_MERUPROD.log network_link=MERU_DEV_LOCAL_PROD schemas=portal remap_schema=portal:PRODUCTION TABLE_EXISTS_ACTION=REPLACE
    Or suggest me some other script to copy all the tables and procedure function from remote database to my local database using impdp script
    Thanks
    Sudhir

  • Do We Need To Know All Tables and Fields inR/3

    We are in the initial phase of BW development(We don't have Functional consltant with us).Our source System is R/3. According to Reporting requirement We have identified certain DataSources in Business Content Which have basic Characteristics and Key Figures which we require in report.
    but still lot of fields are there in R/3 which we are not finding in Datasources ?. My question is Do we need to know for each Characteristic and key figure the base table in R/3 and corresponding field name in R/3.
    We found certain fields are common in 4 - 5 Tables in R/3,So how do we know that certain field is coming from certain table only.
    Here i want to ask, the Business content datasources in which we have certain chars and key figures which we require. do we need to know from which table these are comming or connected to in R/3??.
    So the bottom line is ,do we need to see and analyse  for each BEx report. what the corresponding field and table in R/3 is.
    I would award points to rational answers.
    regards
    Srini----

    Hello Srini,
    If all your requiremnts are fulfilled by the Business content objects, then you may impelement BW without going into much details in R/3. But that is a wishful thinking and doesn't happen in real scenario. Also, even if you implemented business content, while verifying the result you have to go the source system and compare the results.
    In most of the projects, you need to enhance the business content delivered objects. While enhaching the datasources in R/3, you must know from which table to take the information. Many a times, the end users have R/3 experience and they tell you what information you are looking for, in that case life will be a bit easier. But if the user wants to see some information which is being captured as part of any particular transaction, you need to dig deep in R/3 to find out the table and how that can be extracted.
    So, I would say at least little knowledge of R/3 is necessary. You may not need a full time functional consultant, but someone who has R/3 experience will be of great help.
    Hope it helps.
    Regards,
    Praveen

  • Getting a list of all table and index names

    Hi,
    I have just create a set of tables and indexs, but I have misspelt on of the table names and am now trying to find out what it is. I am using sql*plus as a command line interface but can only find desc as a way of finding any data on a table. What is the command to list all the tables within a table space?
    Cheers
    Simon

    Hi,
    there are almost always three ways to find things in Oracle's dictionary :
    USER_xxx = thing that you own
    ALL_xxx = thing that you own and have access to
    DBA_xxx = all things in hole database
    If you want to find tables/indexes that you own :
    SELECT table_name FROM user_tables
    WHERE tablespace_name = 'APP_TBS';
    SELECT index_name FROM user_indexes
    WHERE tablespace_name = 'APP_TBS';
    /Uffe

  • Importing all tables and users from Oracle 8i database to Oracle 10g

    Hi friends,
    It would be highly appreciated if someone would kindly advise steps needed to
    import full Oracle 8i database ( with all users, tables, table spaces
    and other components ) to Oracle database 10g .
    Thanks and regards

    hi
    ur exp ur database from oracle 10g. from exp cmd instead of expdp cmd bcoz oracle 10g. expdp cmd is not compitable with oracle 8.
    simple give cmd>exp cmd if u want exp complete database from oracle 10g..
    if u have any problem go reference oracle database utilities ....
    and then imp in oracle 8 using imp cmd cmd>imp cmd bcoz here u want imp complete database....
    i hope u do ur work successfully...
    regards
    Mohammadi

  • Import successfully but all tables and data are not completely importing

    We have A UGS product called Teamcenter running on oracle 9i database. It is developement so it is very small 200M The problem is I am doing daily export but when imported back into DB it does not recovering all the data that I had exported. I am wondering any special about UGG product that requires special method for backup??? Anyone familiar with this , I would appreciate if you can provide me some leads .Thank in advance.
    Jonathan nguyen

    Don't know about UGS but it will be helpfull if you tell us that how are you taking the export?? Means full database or schema level and also how are you importing??
    Can you post the export and import command which you are using?
    Daljit Singh

  • [JS IDCS5] Running through all tables and place textFrame

    I wan't to place textFrames below all the tables within a document.
    #target indesign;
    var myDocument = app.activeDocument;
    var myTables = myDocument.stories.everyItem().tables;
    for(var i=myTables.length-1; i>=0; i--){
               // var myFrame = myTables[i].insertionPoints[0].textFrames.add();
               // the above line does not work......
    How do I get the insertionPoints of the tables, so textFrames can be added at that point?
    Regards, Sjoerd

    Tables have a property storyOffset, which is an insertion point. myTable.storyOffset is the insertion point immediately before the table. The ip after the table you can get your hands on like this:
    myTable.storyOffset.parentStory.insertionPoints[myTable.storyOffset.in dex+1];
    Now I get the following error:
    JavaScript Error!
    Error Number: 55
    Error String: Object does not support the property er method 'storyOffset'
    Engine: main
    Source: myTables.storyOffset.parentStory.insertionPoints[0].textFrames.add();
    What is wrong?

Maybe you are looking for

  • CS4 PS won't print to USB Epson 4900

    It does, however, print happily to a USB Epson 2200 plugged into the same machine. All other apps on this Mountain Lion Mac Mini, including CS4 Illustrator, print fine to the 4900.  I have tried both a USB and a network connection to the printer with

  • Facing problem in group message

    Hi I am facing problem in sending group text message from my Lumia 720 . Error message : cant send try agian appears when I send message to individual it delivers I cross check with moble operator, they told me their is no problem with service.

  • KEEP ACR IMAGE FILES AT 16 BIT???

    I had my CS-6 ACR set for 16 bit by selecting 16 bit with an image file open, and selecting done, and for some time it remained that way. Yesterday, I processed a dozen images through ACR as TIF files---went to work on some today, and found them all

  • Installing 32 bit libs for running Picasa [Solved]

    I have Arch 64 bit and I'm having trouble installing and running Picasa. I need 32bit libs QT and I don't know how to install them. How is it done? Last edited by vinoman2 (2009-09-01 02:10:08)

  • Publisher property?

    hello, thanks a lot for the help so far. I have created my webHelp and .chm files, but I have come up with two issues 1- what should I do with the "publisher unknown" when opening the chm file. I have put the file on our ftp server so it can be downl