Doubt regarding Record Statistics.

Hi,
Using an interface, I am updating a row. As per the execution log file, it's showing me No. of Updates as 1. However, No. of Rows is shown as 3. I went through ODI Developer's Guide which mentions about No. of Rows as Total number of rows handled during this session/step/task. There does not seem to be more explanation.
I would like to know why the Execution log mentions No. of Rows as 3, when I am updating just a single row? There are no inserts and deletes and the log informs the count for them as 0. There are no errors as well.
Just to explain what I am doing (in SQL terms),
I have a product table and another table called as product_original which is created as 'create table product_original as select * from product;'
I have developed an interface to change subgroup value of a particular product (update product set subgroup = 'Club' where code = 1001;)
The interface is changing subgroup from 'Large' to 'Club' for the particular product code (which is unique).
All is working fine. However, I am curious to know why the execution log specifies No. of Rows as 3.
I am using ODI 11.1.1.5 with Oracle as Source and Target technology.
Thanks in advance.
Manoj.

Manoj,
>
I went through ODI Developer's Guide which mentions about No. of Rows as Total number of rows handled during this session/step/task
>
There are other steps that are also considered when giving this number. This depends on the IKM that you have used.
eg. IKM Oracle incremental update will copy that row to a temp table, then update that row's flag and finally copy that row to the target table. So, in all 3 operations were done to that single row and hence the number 3.
I know that its misleading from an ODI interface view.

Similar Messages

  • Doubt regarding automatic statistics collection in Oracle 10g

    I am using Oracle 10g in Linux
    Does statistic collection for tables throughout the database happen automatically or should we manually analyze the tables using
    Analyze command or DBMS_STATS package ?
    AWR collects statistics(snapshots) every 1 hr but does it mean it collects only session and database related statistics and not the table related statistics?

    I am using Oracle 10g in Linux Version and os name and version?
    AWR collects statistics(snapshots) every 1 hr butIt's performance related statistics. Read about data gathering and AWR.
    Note that AWR is an extra licensable feature thru Management packs.

  • Doubt Regarding Statistics Collection in 10g

    Hello,
    Me Jr Dba i have a doubt regarding statistics calculation in 10g.As we know that if we set
    the initilization parameter STATISTICS_LEVEL=Typical then AOS(Automatic Optimizer staistics) calculate the statistics for the tables, whose blocks are greater then 10% changed from the last calculation.Here my doubt is since already statistics are gathered,
    is there any necessity for us to gather the statistics manually by using
    DBMS_STATS.GATHER to see the tables or system statistics.
    Can u plz assist me on the above
    Regards,
    Vamsi

    Hi,
    Please see here,
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/stats.htm#i41448
    If the table/s are changing very frequently than its better to gather the stats manually.This would lead teh volatile table coming up into the stats job again and again.
    For the system stats and data dictionary stats,they are not collected by default.So there is no choice but to gather them manually.
    Aman....

  • Doubt regarding  ALE SETTINGS in IDOC scenario.

    Hi Friends,
            I have some doubts regarding ALE settings for IDOC scenarios,  can anyone  please clarify my doubts.
    For exmaple take IDOC to FILE scenario
    The knowledge i got from SDN is --
    One need to do at the  R3 side is  --- RFC DESTINATION (SM59)  for the XI system.
                                                       --- TRFC PORT  for sending IDOC  to the  XI system
                                                       --- CREATING LOGICAL SYSTEM
                                                       --- CREATING PARTNER PROFILE 
                   at the XI side is  --- RFC  Destination ( For SAP sender system)
                                           --- CREATING  PORT  for receiving IDOC from the SAP sending system(IDX1).
    1. Do we create two logical systems for both Sender ( R3 system ) and Receiver( XI system ) in R3 system itself or in XI system or in both systems we create these logical systems? Is this a mandatory step in doing ALE configurations?
    In IDOC to IDOC scenario-------
      2.  Do we craete two RFC destinations in XI system? One RFC DESTINATION for the Sender R3 system and another RFC DESTINATION for the Receiver R3 System? and do we create RFC DESTINATION for the XI system in receiver R3 system? If not.....y we don't create like this........Please give me some clarity on this.............
      3.  If we use IDOC adapter ,since IDOC adapter resides on the ABAP STACK ,we don't need sender communication channel ,for the similar reason----
    y we r creating receiver communication channel in the case of FILE to IDOC scenario?
      4. Can any one please provide me the ALE settings for IDOC to FILE scenario,
                                                                                    FILE to IDOC scenario,                                                                               
    IDOC to IDOC scenario individually.
    Thanks in advance.
    Regards,
    Ramana.

    hi,
    1. Yes, we create two logical systems for both Sender ( R3 system ) and Receiver( XI system ) in R3 system itself and
    it is a mandatory step in doing ALE configurations
    2. We create 1 RFC destination each in R3 and XI.
        R3 RFC destination points to Xi and
        XI RFC destination  points to R3
    3 We need to create Communication Channel for Idoc receiver as the receiver channel is always required but sender may not be necessary
    4. ALE settings for all IDOC scenarios are same  as follows....
    Steps for ALE settings:-
    Steps for XI
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the R3 system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto IDX1.
         Create a new port.
         Give the port name.
         Give the client number for the R3 system.
         Select the created Rfc Destination.
    Step 3)
         Goto IDX2
         Create a new Meta data.
         Give the Idoc type.
         Select the created port.
    Steps for R3.
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the XI system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto WE21.
         Create a port under transactional RFC.(R3->XI)
         Designate the RFC destination created in prev step.
    Step 3)
         Goto SALE.
         Basic settings->Logical Systems->Define logical system.
         Create two logical systems(one for XI and the other for R3)
         Basic settings->Logical Systems->Assign logical system.
         Assign the R3 logical system to respective client.
    Step 4)
         Goto WE20.
         Partner type LS.
         Create two partner profile(one for XI the other for R3).
         Give the outbound or inbound message type based on the direction.
    Step 5)
         Goto WE19
         Give the basic type and execute.
         fill in the required fields.
         Goto IDOC->edit control records.
         Give the following values.(Receiver port,partner no.,part type and sender Partner no. and type)
         Click outbound processing.
    Step 6)
         Go to SM58
         if there are any messages then there is some error in execution.
         Goto WE02.
         Check the status of the IDOC.
         Goto WE47.
         TO decode the status code.
    Step 7)
         Not mandatory.
         Goto BD64.
         Click on Create model view.
         Add message type.
    BD87 to check the status of IDOC.
    In case if not authorized then go to the target system and check in SU53, see for the missing object
    and assign it to the user.
    SAP r3
    sm59(status check)(no message)
    WE02(status check)
    WE05(status check)
    BD87(status check)
    Xi
    IDx5(Idoc check)
    SU53(authorization check)
    Reward points if helpful
    Prashant

  • Single records statistics

    Hi,
    What is "Single records Statistics" in terms of performance tuning in ABAP.  I want to know the concept of "Single records statistics"
    Please help
    Regards,
    Santosh

    Dear Sanket,
    Thanks for helping me. Full points for your effort.
    Regards,
    Mirella

  • *** Doubt regarding Exception Block ***

    Hi,
    I have a doubt regarding exception.
    My SP has 5-6 select queries that is used in" open <cursor name> for select ...."
    also a 'select count(id) into...' statement.
    Do I need to have an Exception block inside? I dont have any user defined execptions at all. So will there be any exceptions that gets generated in a select query?
    Also 'WHEN OTHERS THEN' is it OK to use where I dont know what all excaptions might occur?
    Regds,
    S

    Hi,
    Oracle will raise an error NO_DATA_FOUND , if any of your SELECT statement returns zero records, If you want your process to fail then you can have one common handler (either write to a error_log_table) do all the error_handling.
    If you want to continue for some SQL's to move to the next statement then you can do some thing like this.
    begin
    select statement
    when no_data_found then --not an issue, if no data is returned.
    NULL;
    Refere to this link for more information.
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/07_errs.htm#1079
    thanks

  • Doubt regarding SHDB transaction

    Hi All,   
                I have a doubt regarding the Process Tab in the application tool bar of SHDB transaction. What is the use of the following check boxes?
    1)       Default Size
    2)       Cont.after commit
    3)      not a batch input session
    4)      END: Not a Batch Input session
    5)      Simulate Background mode

    Hi,
    Basically these are the properties for CALL TRANSACTION using. You need not worry about these unless you really need those.
    1) Default Size: it will set the Default screen size for CALL TRANSACTION USING...
    2) Cont.after commit : it will set indicator that CALL TRANSACTION USING... is not completed by COMMIT. after commit also the process will continue
    3) not a batch input session: sets indicator that present session is not batch input
    4) END: Not a Batch Input session
    5) Simulate Background mode : session will be run in foreground. but similar to back grpund
    you can see the documentation by placing the cursor on these and click f1.

  • I was looking at the "Find my iPhone" app and I have a doubt regarding how it works for the macbook. In order to detect the location, the macbook should remain signed into iCloud. What if the thief logs out of iCloud. Would we able to locate the macbook?

    I was looking at the "Find my iPhone" app and I have a doubt regarding how it works for the macbook. In order to detect the location, the macbook should remain signed into iCloud. What if the person who has stolen my macbook logs out of iCloud.
    It should work fine for iPhone/iPad because we can enable "Restrictions" to prevent the user from signing out of iCloud. Do we have simialr settings for the macbook?
    Thanks,

    If it's not on the device list, it indicates that someone has gone to Find My iPhone on icloud.com and manually deleted it from the device list (as explained here: http://help.apple.com/icloud/#mmfc0eeddd), and it has not gone back online since (which would cause it to reappear on the device list; Find My iPhone has been turned of in settings on the device; the iClolud account has been deleted from the device; or the entire devices has been erased and restored.
    Unfortunately, there's no other way to track the phone other than through Find My iPhone.  You could call your carrier and see if they would blackliste it so at least the theif couldn't use it.

  • Very urgent: Doubts regarding CRM WORKFLOW OF BUSINESS PARTNER CREATION

    HI ,
    I HAVE DOUBTS REGARDING CRM WORKFLOW OF BUSINESS PARTNER CREATION, WHILE I AM CREATING BUSINESS PARTNER THROUGH R/3 , IT REFLECT IT INTO MYSAP CRM ALSO, AT THAT TIME IT SENDING THE MAIL TWICE TO THE RECEIPIENT. IS THERE ANY WAY THROUGH  WHICH I CAN RESTRICT IT TO SEND THE MAIL ONLY ONCE,
    PLZ SEND ME THE REPLY AS SOON AS POSSIBLE,
    THANKS  ADVANCED,

    HI
    WORKFLOW SEETING. SAP MAIL
    MULTIPLE MAILS AND
    ONLY ONCE CHOOSE
    ONLY ONCE OPTION ON WHICH VERSION U R WORKING?
    REWARD IF HELPFUL
    VENKAT

  • Doubt Regarding validation of IDOCS

    Hi Gurus,
               I have some doubts regarding IDOCS.
    1. If we are sending a IDOC from XI to R/3, where does we do validations from R/3 side and how do we do that.  Suppose if we are sending a Purchase order IDOC form XI to R/3, how to do validations for that particular IDOC for PO number and some other fields  from R/3 side.
    2. Do we need to do validations in a aABAP Program.
    please clarify me these Questions. Thanks in advance..
    santosh.

    Hi Santhosh,
    If you want to do any validations in ur IDOC,then from XI just push the IDOC,dont post it.
    (ie)Send the IDOC from XI in status 64 :IDoc ready to be transferred to application.
    Once R/3 Received this status then thru your ABAP progream just get this IDOC no: and do the validations then Post the IDOC manually.
    Thanks.
    Note:Reward Points if you find useful.

  • Doubts regarding XML Form Builder

    Hi All,
          I am having some doubts regarding XML Forms (Projects) that is created using XML Form Builder. Where are exactly these projects stored. Can I edit these projects and add my own Java Functionality in these. And also the data which I fill using these project where is it stored. Suppose New Project I ve created using XML Form Builder, now I want to feed in the news. Where exactly are these news stored.
    Thanks in Advance
    Anish

    Hi Anish
    You can make the standard settings and modify the XML forms builder in line with your requirements in the options. You can set the standard paths for your project on the <b>Paths</b> tab page.
    To get a clear understanding, please go through this link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/62/ca6f365a6df84e87ba085f9b5fb350/content.htm
    Hope that was helpful
    Warm Regards
    Priya

  • Have some doubt regarding the  weblog (Lookup's in XI made simpler)

    Hi All,
    I have created the same scenario as mentioned in Siva's weblog (Lookup's in XI made simpler).
    I having some doubts regarding the scenario, it will be great if you help me to resolve the same.
    I am having a file-file scenario where I need to do lookup in database(MS-Access)  through mapping.
    The standard file-file scenario is in place and in addition I have created a receiver jdbc channel . I  have also created the receiver agreement for the same in the cofiguration.
    While creating the receiver agreement you have to specify the interface name which includes the message type…I have specified the normal format which we specify while configuring the jdbc receiver adapter.
    In the message mapping I have created a advance user defined function as mentioned in your weblog which calls my receiver jdbc channel.
    I have also specified the select query to be executed in the mapping program.
    While testing I am getting the following error
    Cannot produce target element /ns0:Role_MT/URole. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    <b>Can you please suggest me what all I need to do in addition to the file-file scenario for this lookup scenario to work.</b>
    Thanks and Regards
    Rahul

    Hi,
    Following is my user defined function
    //write your code here
    String Query = "";
    Channel channel = null;
    DataBaseAccessor accessor = null;
    DataBaseResult resultSet = null;
    Query = "Select URole from  Lookup where UName = '  " + UName[0] + "  ' and UPassword = '  " + Pwd[0] +" '  ";
    try{
    channel = LookupService.getChannel("DB_service","JDBC_channel_receiver");
    accessor = LookupService.getDataBaseAccessor(channel);
    resultSet  = accessor.execute(Query);
    for(Iterator rows = resultSet.getRows();rows.hasNext();){
    Map rowMap = (Map)rows.next();
    result.addValue((String)rowMap.get("URole"));
    catch(Exception ex){
    result.addValue(ex.getMessage());
    finally{
    try{
    if (accessor!= null) accessor.close();
    catch(Exception ex){
    result.addValue(ex.getMessage());
    Thanks and Regards
    Rahul

  • Some doubts regarding sorcing cockpit in EBP

    Hi all,
    This is sankar bhatta , working in IBM . I am new to the EBP module. I got  few doubts regarding the sourcing cockpit.
    When a shopping cart comes to the sourcing cockpit of the purchaser. I mean in what cases??
    i am listing some of the cases where i have doubts.
    1) A user creates a SC , but he doesn't assign any vendors. in that case it comes to the sourcing cockpit of the Purchase . is it right??
    2)A user created a shopping cart ( with more than one item) without vendor and it has gone to SOCO of purchaser . he has assigned the vendor and orders it. the PO is created in the Backend. now because of some reason ( for example the vendor is not able to supply the item ) the purchase deletes one item from the PO in EB. In this case is the SC comes again to SOCO of the Purchaser???
    3) the user created the SC without vendor.The SC goes to the SOCO of the purchaser. The SC is in approval process. Now the user deletes one item and orders it again. In this case whether the SC goes to the SOCO again???
    4) User created a SC ( with more than one item) and approval is over. PO is created in the backend. Now, if the user or somebody who has the authorisation deletes the item in SC , does the SC goes to the SOCO of the purchaser??
    5)According to SAp standard functionallity, PO can be deleted only by one in purcasing organisation. Is this person person csn be a purchaser (or) some other person in the Purchasing organisation??
    Please answer these questions and if you know any other case where a SC comes to the SOCO of the Purcher please include that also.
    Thanks and regards
    Sankar Rao Bhatta.

    Hi Sankara,
    The Sourcing cockpit is much more simple than that. Your questions show you'rre very confused in this.
    There is only one customizing point used : SAP Reference IMG -> SAP Implementation Guide -> Supplier Relationship Management -> SRM Server -> Sourcing -> Define Sourcing for Product Categories
    If Sourcing for Product Categories is not configured, the system creates purchase orders in the local scenario for all requirements; these are incomplete if the source of supply is missing. If you require additional control options, for example, the facility to control processing at product level, you can use the following BAdI: Define Execution of Sourcing.
    The diferent options you have in the customizing point are:
    -Sourcing is never carried out: This is the default setting. Enterprise Buyer does not transfer any items to the purchaser's sourcing application ¨C independent of the status of the shopping cart.
    -Sourcing is always carried out: Enterprise Buyer transfers each item to Sourcing ¨C independent of the status of the shopping cart.
    -Sourcing is carried out for items without a source of supply: Enterprise Buyer transfers all requirements that have multiple sources of supply of which none is assigned, or if there is no source of supply for the requirement, to Sourcing.
    -Automatic requirement grouping; sourcing for items without assigned source of supply:
    If a source of supply is assigned to a requirement, the report BBP_SC_TRANSFER_GROUPED automatically groups requirements together for the creation of a PO. If the requirement does not have a source of supply, it appears in the work list of the sourcing application for manual assignment. Once you have assigned a source of supply, you can submit the requirement to the report.
    -Automatic grouping; sourcing is never carried out: If a source of supply is assigned to a requirement, the report BBP_SC_TRANSFER_GROUPED automatically groups requirements together for the creation of a PO. If the requirement does not have a source of supply, an incomplete PO is created.
    -Automatic bid invitation for items without a source of supply: Enterprise Buyer creates a bid invitation for all requirements that do not have any source of supply.
    So for your questions:
    1)depending on your customizing, this SC will lead to:
    -Backend PR (classic scenario)
    -Local incomplete PO (standalone or extended classic without soircing)
    -Requirement in the Sourcing cockpit (if customized)
    2)The modification of a PO will never change the initial document (SC and/or requirement), nothing 'comes back' into the sourcing cockpit
    3)If you customized the sourcink cockpit, the SC line goes into it only after the approval process
    4)This has nothing to do with the sourcing cockpit
    5)The POs can be deleted by people who have correct authorizations (that is purchasers of the document purch. org. in standard). Be careful the POs cannot be deleted as soon as they have been edited (as of R/3).
    Regards.
    Vadim
    PS: Please don't forget to reward points for helpful answers on your threads.

  • Doubt   regarding   Oracle Database 10g Release 2 (10.2.0.1.0) installation

    hello
    my pc has following configurtion
    256mb ram
    60gb hdd
    p4 2.4 ghz
    win xp pro sp2
    I want to know if my pc will be able to run " Oracle Database 10g Release 2 (10.2.0.1.0) " standard edition on it.
    <<http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html>>
    I thought of increasing RAM, but it is not feasible.
    I know i could run oracle XE, but can my pc also run the standard edition.
    I could not find minimum hardware requirements for standard edition on this site.
    anyway, i will use it for sql and and other advanced concepts in RDBMS which i may learn during my course in database. so i prefer standard edition instead of XE
    any help greatly appreciated
    thanks in advance

    I suggest you not to doubt   regarding   Oracle Database 10g Release 2 (10.2.0.1.0) installation.
    It is not necessary. If you don't receive an answer within a reasonable amount of time you could edit your thread with whatever ( a period is enough) to raise it to the top once again.
    It becomes difficult for us to track duplicated threads and unnecessarily duplicates efforts.
    ~ Madrid.

  • Doubt regarding SQL execution

    Hi Friends,
    Am using Oracle 10g DB - 10.2.0.3.0
    I have some basic doubts regarding sql query execution by Oracle.
    Say, Am executing a query from a toad/sqlplus session for the first time, it takes 10 secs then 1 sec and so on.
    Same thing happens for every 15 minutes.(Any specific reason for this ??).
    It takes more time when it executes first because of parsing and all those stuff but from then on it picks from the
    shared pool right??.. How long will it be there in Shared Pool does Oracle maintain any specific time period to clear that query from shared pool memory. How does Oracle handle this.
    Another thing is, say, I have a report query, I run this query monthly. What will be the execution time when I run this query each and every month. Will Oracle parse this query everytime I run. How do I improve the performance in this situation (May sound odd :)).
    Regards,
    Marlon

    Say, Am executing a query from a toad/sqlplus session for the first time, it takes 10 secs then 1 sec and so on.
    Same thing happens for every 15 minutes.(Any specific reason for this ??).
    It takes more time when it executes first because of parsing and all those stuff but from then on it picks from the
    shared pool right??.. How long will it be there in Shared Pool does Oracle maintain any specific time period to clear that query from shared pool memory. How does Oracle handle this. Share Pool caches the SQL statement. So when you execute the same SQL for the second time it goes for a soft parse. But this is not the only reason for the query to execute faster the second time. The time difference between a soft parse and hard parse is very minimal. So it really does not matter unless you are executing the same query several number of times.
    The thing that really matters is the Data Buffer Cache. That is the rows that are selected by your query are cached into the Data buffer that is available in the SGA. So for the next time when you run the same query the IO is reduced as the data is available in the memory and you don't have to go to your disk to get the data.
    But the data in Data Buffer is not persistent, meaning it follows the FIFO rule. That is first in first out. When the Data Buffer is full the content of the buffer is removed in the FIFO order.
    Another thing is, say, I have a report query, I run this query monthly. What will be the execution time when I run this query each and every month. Will Oracle parse this query every time I run. How do I improve the performance in this situation (May sound odd :)). Like the Data Buffer the Shared Pool is also maintained in the FIFO order. So if the query is still in the Shared Pool the query will be soft parsed else it will be hard parsed. But its very rare that you will have a query in your Shared Pool for a month.

Maybe you are looking for

  • Can I transfer my existing Photoshop Single App subscription to your new offer of both PS & LR

    Hi, I see on your site that I should be able to cancel my existing membership and start with your offer of both Photoshop and Lightroom for under £9 per month. I originally wanted both software packages but couldn't afford both so only have Photoshop

  • Sprint's "Phone-As-Modem" and the Samsung A900M

    In case you have missed it, Sprint has completely embraced the "Phone-As-Modem" concept by offering unlimited internet access via any of their EVDO/DUN phones for only $40/month. This service is a real boon to those of us wanting (or needing) unlimit

  • Code Went Wonky

    I would appreciate another set of eyes looking at my code. Somehow, I have made my Content div come up into my header. The whole thing should actually be center aligned on the screen. I just can't seem to figure where I have gone wrong as I did ahve

  • After running Adobe application manager everything updated excpet for the following three errors.

    Adobe Illustaror CS6 Update (version 16.0.3) Insatllation failed. Error Code: U44M1P7 Extension Manager 6.0.4 Update Insatllation failed. Error Code: U44M1P7 Adobe Illustrator CS5 15.0.2 Update Installation failed. Error Code: U44M1P7 Any ideas?

  • Accessing the hard drive of a Time Capsule with Windows XP

    Hi, I have a time capsule configured in client mode so that I could share a printer and a hard drive on my existing wireless network. I now can print from both computers and I can acces the hard drive with the mac that I used to configure the time ca