Statistics on the ODI 11 g

Hi guys I use ODI 11.1.1.7 and let me know how I can read statistics that are shown in the detail

generated at each run of ODI to the operator.

Also, I want to know the generated session id.

For example I need read the number of records inserted, updated to date.

Concerning

Hello, ORV,.

You can use getPrevStepLog() to retrieve the information from the previous step in the execution of your:

Session number: <%=odiRef.getPrevStepLog("SESS_NO")%>

Step number: <%=odiRef.getPrevStepLog("NNO")%>

Step name: <%=odiRef.getPrevStepLog("STEP_NAME")%>

Inserts: <%=odiRef.getPrevStepLog("INSERT_COUNT")%>

Updates: <%=odiRef.getPrevStepLog("UPDATE_COUNT")%>

Deletes: <%=odiRef.getPrevStepLog("DELETE_COUNT")%>

Errors: <%=odiRef.getPrevStepLog("ERROR_COUNT")%>

http://docs.Oracle.com/CD/E14571_01/integrate.1111/e12645/odiref_reference.htm#CIAIGECH

Kind regards

JeromeFr

Tags: Business Intelligence

Similar Questions

  • Change the SUPERVISOR password in configuration of the ODI

    Hello

    I configured an agent in ODI 12 c with the help of a guide in the link below:

    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/ODI/odi_12c/odi12c_agent/odi12c_agent.html#overview

    Now when J'execute./agent.sh-name = OracleDIAgent1-PORT = 20910 I get an error "ODI-10199: ODI Incorrect username or password" error details is given below:

    [oracle@ODIGettingStarted bin] $./agent.sh-NAME = OracleDIAgent1-PORT = 20910

    New data source 2016-02-10 06:27:51.461 NOTIFICATION: [OGG_ODI_REPO/***@jdbc:oracle:thin:@//localhost:1521/ORCL]

    2016-02-10 06:27:54.030 ODI-1128 NOTIFICATION Agent OracleDIAgent1 begins. Container: AUTONOMOUS. Agent version: 12.1.3 - 17/06/2014. Port: 20910. JMX port: 21910.

    What helps: 127.0.0.1,127.0.0.1,127.0.0.1

    2016-02-10 06:27:57.975 ERROR ODI - 1131 OracleDIAgent1 Agent encountered an error: ODI-1404: Agent OracleDIAgent1 start failure: an authentication error occurred when connecting to the master repository. Caused by: ODI-10199: ODI Incorrect username or password.

    2016-02-10 06:27:57.976 WARNING ODI-1404: Agent OracleDIAgent1 start failure: an authentication error occurred when connecting to the master repository.

    Caused by: oracle.odi.core.security.BadCredentialsException: ODI-10199: ODI Incorrect username or password.

    2016-02-10 06:27:57.978 unavailable WARNING

    2016-02-10 06:27:57.999 ODI-1443 ERROR error when starting agent: ODI-1404: Agent OracleDIAgent1 start failure: an authentication error occurred when connecting to the master repository.

    Caused by: oracle.odi.core.security.BadCredentialsException: ODI-10199: ODI Incorrect username or password.

    I want to know how I can change the password and solve this problem? Note that I did not password coded for the SUPERVISOR in the ODI server configuration step.

    WAQ28 wrote:

    Do we need to use the repository work over here password to encode and then put this password in the xml file?

    No, it should be the password of the account supervisor created when running the RCU (repository creation utility).

    You can change ODI Studio tab if necessary.

  • UPGRADE THE ODI

    I'm new on ODI and I do an upgrade to 10G and 11G, but I came through a few questions

    (1) documents say that clone the repositories of masters and working (I left this backup databases used by these repositories. Fix this how can I tell which diagram is connected to the master repository and work. If im wrong what is the exact meaning of it)

    (2) here for user ID DBA, password what should I give and what I need to create a new schema for this?

    )

    Take a look at this blog, ODI upgrade to 11 g.

    # 1 the diagram is connected to the master repository and knit - check the ODI 10 g login screen (you should obtain details of the scheme)

    # 2 no need to create a new schema - uses the schema of the cloned / backup

    Kind regards

    Deker P.

  • Overtemperature "PIVOT" is missing from the ODI 12.1.2

    Hello

    I use ODI 12.1.2 under 64 bit Linux.

    In my component palette "PIVOT" is missing, so I made a request Patch 17053768 with success.

    Am I supposed to remove the ' ~ /.odi/system12.1.2.0.0 ' file according to the section after the installation of the file Readme in the patch, but I might not be able to get the path because of which I wouldn't be able to delete the "system12.1.2.0.0" resulting "PIVOT" in Linux(64bit) component file still missing.

    Help, please...

    Thank you

    Sébastien.

    Note .odi is a hidden directory

    • On Unix /Linux:

    $HOME/.odi/system11.xxx

    Then search for the hidden by the name .odi directory and delete the appropriate.

    How to restore the default layout / Initial of Windows ODI (Doc ID 1439606.1)

    Kind regards

    Deker P.

  • Location of the Agent of the ODI

    I hope it's a simple question.

    I have Essbase and planning on a Unix machine.  ODI Studio is on a windows machine.  If I install the ODI Agent on the windows box, I should be able to load to the correct planning and Essbase?  Are there other necessary elements in the box of Windows ODI to connect with planning?

    Thanks in advance.

    Well are you talking about using the standalone ODI or one that comes with the FDMEE?

    FDMEE install an ODI in the machine were you install the FDMEE.

    If you install ODI agent in the Windows box, it should be able to talk to the planning & Essbase on Linux (you can also use the agent to stand alone).

    End of the day, that the ODI studio connects to the database/schema & work-repository master to run the interface.

    Make sure that apply you all necessary patches (in 11.1.2.3, it is mandatory to apply a patch ODI if planning is a target)

    Kind regards

    Deker P.

  • How to configure details WorkRepository to them in the console of the ODI. ?

    Hello world

    I freshly created some interfaces in ODI studio in two repositories named: WorkRep_1 and WorkRep_test and interface test_1 in WorkRep_1 and test_2 in WorkRep_test.
    Yet after configured WorkRepositories in the Console of the ODI.

    WorkRep_1:

    WORKREP_1
    JDBC/odiMasterRepository
    SUPERVISOR
    JDBC/odiWorkRepository

    WorkRep_test:

    WORKREP_Test
    JDBC/odiMasterRepository
    SUPERVISOR
    JDBC/odiWorkRepository

    I am getting same interface in two repositories when opened in console with different repositories, please help me.

    Thank you

    Shakur.

    Hello

    As you can see in both cases, you specified jdbc/odiWorkRepository as URL JNDI to work while you get connected to a deposit in both cases. If the steps you must follow to create Console ODI connections for two repositories:

    1. create a new JNDI with the details of the schema of data base for WORKREP_Test, targeting for your managed server where you have deployed your odiconsole.

    2. then, you configure a connection of repository odiconsole to WORKREP_Test mentioning the JNDI newly created for your WORKREP_Test.

    Steps to create the new JNDI:

    To create a JNDI, connect to the Weblogic administration Console > go to Services (on the left panel) > Data Sources

    You will see the list of configured JNDI names already. You must add one more favorite JNDI for your schema repository work connection. You can reference existing repository work connection JNDI (odiWorkRepository) for the sample of the parameters values.

    Thank you

    Parag

  • How to change the name of the ODI agent and port number

    I installed ODI standalone agent (11g) on a linux server.  We now realize that we need to change the name and port number of the agent.  Is it possible to change these or do we need to re - install odi agent?

    I know that I can change the name in the ODI, but I can't change the port number.  I would like everything to be consistent in all of our environments.  That's why we need to change the name of the agent and the port number.

    How do you start the agent? Which command you use to start?

    There are two ways, either by directly calling agent.bat and passing name agent and port don't start or you can run the sh/bat file created during installation (present in oracledi\agent\bin). The file name that is created should look like this (agent_localagent11g) where localagent11g is the name given during installation time and 'agent' is the prefix that was added by ODI.

    There is no configuration file to configure the port number and agent. Make sure that the port number and name you pass to agent.sh must match what is configured in odistudio.

    Agent.bat '-PORT = 20910 ""-NAME = localagent11g.

  • Cannot start the agent of the ODI JAVA EE on Linux

    Hello

    I have installed/configured EMP 11.1.2.4 on exalogic (VM linux 5.8). When I start my services I get everything right except agent ODI; It does not start and when I try to start from console FUSION EM I get this error

    [Deployer: 149034] An exception has occurred for task [Deployer: 149026] start application oraclediagent on ErpIntegrator0. : [HTTP:101216] Servlet: 'AgentServlet' failed by preloading at startup in a Web application: "oraclediagent."

    I checked on the oracle support and they say that we must change the binding order. I changed the binding order by twisting in files located in /etc./sys-config/network-scripts. But I still get the same error.

    My questions are,

    1 - is the right way to change the binding order?

    2 - How can I see which NIC is chosen by the agent of the ODI; is there a way I can change the NIC ODI agent chooses?


    Concerning

    Note: Please see the bulletin first response to show my ifconfig file.

    Thanks for the help guys.

    I am able to start the ODI agent with the help of oracle support.

    Enter these lines in

    Start WLS_Admin_Console-> domain_name-> Servers-> ErpIntegrator0-> configuration-> Server-> Arguments:

    '- Doracle.odi.coherence.wka1 =server_ip - 9088 = Doracle.odi.coherence.wka1.port - Dtangosol.coherence.localhost =server_ip - Dtangosol.coherence.localport = 9088.

    without the quotes. Restart the server of the ERPI.

    Concerning

  • Collect statistics of the table in windows

    Hello

    Could you please help me to collect statistics for the tables below in Windows. I tried collection using dbms_scheduler job for a table, but it is not the collection of statistics for tables.

    TABLE_NAME OWNERNUM_ROWS BLOCKSSize

    MQRDW DWREFERENCETRACE GO 2891985937 26372904, 17.86

    TRAY PON_SERIAL 563722072 5135734 GB 8,12

    TRAY PON_PSN2358851732009064 2.67 GB

    TRAY PON_BOM_LOG 37199475 212936 601 MB

    TRAY UNIQUE_ITEM_LOTS 6633907 79710 160 MB

    TRAY PON_BOM5921377 41717328 MB

    SQL > start

    (2 dbms_scheduler.create_job)

    job_name 3 = > "SCOTT_JOB_SCHEDULE"

    job_type 4 = > "EXECUTABLE."

    5 job_action = > ' begin dbms_stats.gather_table_stats (ownname = > "TRACE3")

    6 tabname = > 'PON_PSN ',.

    estimate_percent 7 = > 30,

    Cascade 8 = > true,

    method_opt 9 = > 'for all THE COLUMNS of SIZE 1.

    10 degrees = > 5,

    11 options = > "BRINGING OUTDATED"); end;',

    12 repeat_interval = > ' freq = daily; byhour = 04; byminute = 0; bysecond = 0; »,

    13 active = > TRUE,

    14 comments = > ' custom stats collection for engine risk ");

    15 end;

    17 N

    PL/SQL procedure successfully completed .


    Total number of CPU available on this server is 8

    Oracle - 10.2.0.4.0

    OS - windows

    Kind regards

    Bala

    52 million lines?

    and how to change every day or be inserted?

    It is possible that you can never bring his stats again

    and everything will probably continue to work as expected

    read the guide to setting performance to understand why you need to collect statistics and when

    https://docs.Oracle.com/CD/E11882_01/server.112/e41573/stats.htm#PFGRF94714

    After reading this guide, you'll be ready for any question, you get all that against this team

    Sometimes you need to say 'no' and why the answer is 'no '.

  • How do I inject inside the ODI 11 G PL/SQL (not function procedure)

    Hello Expert,

    would be like double until OWB and ODI OWB 11 G I wich 'The user function' run PL/SQL and it remove some data in the table and the reel journal, is possible that I can do the same thing in ODI, in my case, I can't call function, or a procedure stored outside the ODI. See below the part of the PL/SQL based on user OWB.

    coil MyFile... Journal

    command prompt

    create table MyTable as

    Select a.*

    Of...

    commit;

    command prompt

    spool off;

    "exit";

    Thank you!

    You can run a PL within a procedure, you simply copy paste your PL and place in a procedure inside the ODI.

    I hope this can help you!

  • the ODI version

    How to know the exact version odi, we use in my machine?

    The ODI Studio displays the General version number (11g vs 12 c). Once your in Studio ODI, help-> will display the full version number and construction of information.

  • Download DataServer User/Pass/host with ODI Variable to use in the ODI tools

    Hi guys.


    I was thinking about a way to dynamically modify the ODI tool based on the parameters of a root.


    So I created a dummy DataServer with host that the IP address of the server I want to reach and define the user/pass I will use to authenticate.


    Data_Server_DMZ.png

    Then I coded a variable with odiRef.getInfo to obtain this information, but the two results return nothing because this API based on the execution of an interface works. I've not found an API to get these values from a package.

    ODIVariable_HOST.png

    Is there a way to get this base only in a logical schema, such as: odiRef.getDataServerInfo ("LS_OF_THE_DATASERVER", "DSERV_NAME") so that I can use it like this:

    ODI_PKG.png

    Thanks for the help, Giampaoli.

    I've made a few changes based on the post you sent.

    Basically, I used only the tip of the game from the source as the topology I wanted settings and coded the target with this:

    Command on the target

    Command on the Source

  • The export of a variable value of Jython in a Variable of the ODI

    Hello everyone,

    I use ODI for the first time and I have a few simple questions.

    I wrote a Java program 'P' to perform three operations: 'X', 'Y', 'Z '. The program returns a string with the result encoded in JSON format (and never raise an exception).

    Now I have the pot of P.

    In ODI 12 c demo I created with success a procedure with 3 tasks (1 running X, Y of 2nd, 3rd Z). I run P every time a Jython script that loads the jar with some ODI environment options and pass as arguments to the main method.

    At the moment there is executed even if X fails and the Z are executed even if fails. What I need is to check the result of the operation: If the result of X is equal to a certain channel then run Y. If the result of Y is equal to a certain String then run Z.

    That's why I created 3 different procedures, each with a single (jython) task (we run X, a Y, and a Z).

    I created a new package and put in the three procedures.

    My problem is how to connect the three procedures: I need to store the result of an operation and check it before performing the next step.

    I saw that it "Assess the Variables", but how can I store the value in a variable of Jython (string JSON) in a Global Variable ODI?

    It seems that the Options of ODI are unalterable (How to set the value of the variable of Jython Script ODI). Any suggestion?

    I can't use the ODI OS calls. Jython is not strictly necessary.

    Thanks for reading.

    Gianvito

    Oh! Now your example clearly what you want to do then it is much easier. No need to do anything special... just use Jython throughout the whole, since the variables are "persistent session." Like this:

    First proc:

    Second proc:

    The result of the execution:

    Is that what you want?

  • collect statistics for the tablespace

    Friends...

    OS: Linux

    DB: 11 GR 2

    Data size: 1 TB

    I spend monthly multiple partitioned table spaces and bring together in a single annual partition. (for example tbs_2014_01, tbs_2014_02 - tbs_2014_12... all combine them into tbs_2014 as a tablespace)

    Over the weekend, work of database gets executed that collects statistics that are obsolete, it collects all the segments that have been moved from the storage.

    Given that the collection of statistics at the end of the week takes too long, I tried to find a smart way to collect statistics after each tablespace move rather than waiting for job to weekend which will take two or three days to complete.

    1. is there a way to gather statistics at the tablespace level and collect statistics for all objects in this table space?

    2. how to determine the overall stats of collection of statistics part?

    That is, suppose I have move the tbs_2014_01 tablespace and collect statistics with global stats that could take 2 hours but it will be difficult to spend 2 hours for each stats global tablespace which in my opinion is not good and we should be collecting global stats only once.

    3. any other advice?

    977272 wrote:

    @sol.beach... Thanks for your comments...

    I've not been asked to collect statistics to the tablespace but level to collect statistics after that finish objects move in storage.

    Given the size of the data, it is difficult to gather all the statistics at the weekend so trying to understand another method to collect the statistics the weekend load will be less.

    You can collect statistics object on an object by object basis level after that each object has been moved.

  • What is advised to collect statistics for the huge tables?

    We have a staging database, some tables are huge, hundreds GB in size.  Auto stats tasks are performed, but sometimes it will miss deadlines.

    We would like to know the best practices or tips.

    Thank you.

    Improvement of the efficiency of the collection of statistics can be achieved with:

    1. Parallelism using
    2. Additional statistics

    Parallelism using

    Parallelism can be used in many ways for the collection of statistics

    1. Parallelism object intra
    2. Internal parallelism of the object
    3. Inner and Intra object jointly parallelism

    Parallelism object intra

    The DBMS_STATS package contains the DEGREE parameter. This setting controls the intra parallelism, it controls the number of parallel processes to gather statistics. By default, this parameter has the value is equal to 1. You can increase it by using the DBMS_STATS.SET_PARAM procedure. If you do not set this number, you can allow oracle to determine the optimal number of parallel processes that will be used to collect the statistics. It can be achieved if you set the DEGREE with the DBMS_STATS. Value AUTO_DEGREE.

    Internal parallelism of the object

    If you have the 11.2.0.2 version of Oracle database you can set SIMULTANEOUS preferences that are responsible for the collection of statistics, preferably. When there is TRUE value at the same TIME, Oracle uses the Scheduler and Advanced Queuing to simultaneously manage several jobs statistics. The number of parallel jobs is controlled by the JOB_QUEUE_PROCESSES parameter. This parameter must be equal to two times a number of your processor cores (if you have two CPU with 8 cores of each, then the JOB_QUEUE_PROCESSES parameter must be equal to 2 (CPU) x 8 (cores) x 2 = 32). You must set this parameter at the level of the system (ALTER SYSTEM SET...).

    Additional statistics

    This best option corresponds to a partitioned table. If the INCREMENTAL for a partitioned table parameter is set to TRUE and the DBMS_STATS. GATHER_TABLE_STATS GRANULARITY setting is set to GLOBAL and the parameter of DBMS_STATS ESTIMATE_PERCENT. GATHER_TABLE_STATS is set to AUTO_SAMPLE_SIZE, Oracle will scan only the partitions that have changes.

    For more information, read this document and DBMS_STATS

Maybe you are looking for