Bytes in execution plans shows high value in oracle 11.2.0.3 than 10.2.0.4

Hi,
I copied data from 10.2.0.4 database to 11.2.0.3, gathered stats similar to 10.2.0.4 database and running same query against both database.
Bytes shows 257 in 10.2.0.4 and 2263 in 11.2.0.3. Both plans are using index access. Can someone help me why I see this discrepancy?
Thank You
Sarayu
select * from TABLE_1 where column_1 = 12345
Oracle 10.2.0.4
Execution Plan
| Id  | Operation                   | Name          | Rows  | Bytes | Cost (%CPU)|
|   0 | SELECT STATEMENT            |               |     1 |   257 |     3   (0)|
|   1 |  TABLE ACCESS BY INDEX ROWID| TABLE_1       |     1 |   257 |     3   (0)|
|*  2 |   INDEX UNIQUE SCAN         | IDX_TABLE_1   |     1 |       |     2   (0)|
----------------------------------------------------------------------------------Oracle 11.2.0.3
| Id  | Operation                   | Name          | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT            |               |     1 |  2263 |     3   (0)| 00:00:01 |
|   1 |  TABLE ACCESS BY INDEX ROWID| TABLE_1       |     1 |  2263 |     3   (0)| 00:00:01 |
|*  2 |   INDEX UNIQUE SCAN         | IDX_TABLE_1   |     1 |       |     2   (0)| 00:00:01 |
---------------------------------------------------------------------------------------------Edited by: user13312943 on Oct 15, 2012 8:35 AM

That would seem to imply that the 11.2.0.3 database expects one row of the table to occupy 2263 bytes while the 10.2.0.4 database expects one row of the table to occupy 257 bytes. Which estimate is closer to the correct value? How much space does the table occupy in each database? How many rows are in each database?
Justin

Similar Messages

  • Local currency showing higher value in BW compared to ERP - Sales report

    Hi,
    My sales report is showing higher value in BW report compared to ERP e.g
    the report is showing 567,01 and in ERP it is showing 566,94.
    is there a way I can resolve this in the query.
    thanks

    Hi  Bhat,
    there may be lot many factors like
    1)comparision between the Two i.e ERP and BIW.Are the Factors same.
    2)Have u  Deltas captured properly.
    3)have u missed any deltas any day.
    4)Any order that has been modified .
    5)hope u have considered ONE days Lag between BIW and ERP.
    6)To what is ur 0Recordmode mapped to.
    7)Is it because of Rounding OFF Values.
    Rgds
    SVU

  • Costing shows high value due to BOM alternative material

    Hi,
    In BOM we have maintained alternative material for few line items.(not maintained alternative BOM) When we do the standard cost run system is taking main material and alternative material value. so the cost of the product is showing high.
    How system will behave this situation when doing standard cost estimate? how to avoid this excess value due to adding the alternative material?

    Dear Govindaraj,
    If there are alternative items maintained in the BOM,then as per the usage probability defined for each
    item the cost will be taken.
    say for one item if its 60% and for the another if its 40% means accordingly the cost gets captured.
    So goto CS03,say Items X and Y are defined under alt.item group A1,now select the first item(row) X
    and click on item details and check under Basic tab page you will be able to see the alt.item group
    along with priority,strategy and usage probability.
    So in CK11N or CK40N,it will be showing as 6 ea and 4 ea along with their prices for costing part.
    So as per to the usage prob it picksup for the costing part.
    Check and revert back.,
    Regards
    Mangalraj.S

  • How can I get an execution plan for a Function in oracle 10g

    Hi
    I have:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    I would like to know if is possible to get an EXECUTION PLAN for a FUNCTION if so, how can I get it ?
    Regards

    You can query the AWR data if your interesting SQL consumes enough resources.
    Here is a SQL*Plus script I call MostCPUIntensiveSQLDuringInterval.sql (nice name eh?)
    You'll need to know the AWR snap_id numbers for the time period of interest, then run it like this to show the top 20 SQLs during the interval:
    @MostCPUIntensiveSQLDuringInterval 20The script outputs a statement to run when you are interested in looking at the plan for an interesting looking statement.
    -- MostCPUintesticeSQLDuringInterval: Report on the top n SQL statements during an AWR snapshot interval.
    -- The top statements are ranked by CPU usage
    col inst_no             format      999 heading 'RAC|Node'
    col sql_id              format a16      heading 'SQL_ID'
    col plan_hash_value     format 999999999999 heading 'Plan|hash_value'
    col parsing_schema_name format a12      heading 'Parsing|Schema'
    col module              format a10      heading 'Module'
    col pct_of_total   format        999.99 heading '% Total'
    col cpu_time       format   999,999,999 heading 'CPU     |Time (ms)'
    col elapsed_time   format   999,999,999 heading 'Elapsed |Time (ms)'
    col lios           format 9,999,999,999 heading 'Logical|Reads'
    col pios           format   999,999,999 heading 'Physical|Reads'
    col execs          format    99,999,999 heading 'Executions'
    col fetches        format    99,999,999 heading 'Fetches'
    col sorts          format       999,999 heading 'Sorts'
    col parse_calls    format       999,999 heading 'Parse|Calls'
    col rows_processed format   999,999,999 heading 'Rows|Processed'
    col iowaits        format   999,999,999,999 heading 'iowaits'
    set lines 195
    set pages 75
    PROMPT Top &&1 SQL statements during interval
    SELECT diff.*
    FROM (SELECT e.instance_number inst_no
                ,e.sql_id
                ,e.plan_hash_value
                ,e.parsing_schema_name
                ,substr(trim(e.module),1,10) module
                ,ratio_to_report(e.cpu_time_total - b.cpu_time_total) over (partition by 1) * 100 pct_of_total
                ,(e.cpu_time_total - b.cpu_time_total)/1000 cpu_time
                ,(e.elapsed_time_total - b.elapsed_time_total)/1000 elapsed_time
                ,e.buffer_gets_total - b.buffer_gets_total lios
                ,e.disk_reads_total - b.disk_reads_total pios
                ,e.executions_total - b.executions_total execs
                ,e.fetches_total - b.fetches_total fetches
                ,e.sorts_total - b.sorts_total sorts
                ,e.parse_calls_total - b.parse_calls_total parse_calls
                ,e.rows_processed_total - b.rows_processed_total rows_processed
    --            ,e.iowait_total - b.iowait_total iowaits
    --            ,e.plsexec_time_total - b.plsexec_time_total plsql_time
          FROM dba_hist_sqlstat b  -- begining snap
              ,dba_hist_sqlstat e  -- ending snap
          WHERE b.sql_id = e.sql_id
          AND   b.dbid   = e.dbid
          AND   b.instance_number = e.instance_number
          and   b.plan_hash_value = e.plan_hash_value
          AND   b.snap_id = &LowSnapID
          AND   e.snap_id = &HighSnapID
          ORDER BY e.cpu_time_total - b.cpu_time_total DESC
         ) diff
    WHERE ROWNUM <=&&1
    set define off
    prompt  to get the text of the SQL run the following:
    prompt  @id2sql &SQL_id
    prompt .
    prompt  to obtain the execution plan for a session run the following:
    prompt  select * from table(DBMS_XPLAN.DISPLAY_AWR('&SQL_ID'));
    prompt  or
    prompt  select * from table(DBMS_XPLAN.DISPLAY_AWR('&SQL_ID',NULL,NULL,'ALL'));
    prompt .
    set define on
    undefine LowSnapID
    undefine HighSnapIDI guess you'll need the companion script id2sql.sql, so here it is:
    set lines 190
    set verify off
    declare
       maxDisplayLine  NUMBER := 150;  --max linesize to display the SQL
       WorkingLine     VARCHAR2(32000);
       CurrentLine     VARCHAR2(64);
       LineBreak       NUMBER;
       cursor ddl_cur is
          select sql_id
            ,sql_text
          from v$sqltext_with_newlines
          where sql_id='&1'
          order by piece
       ddlRec ddl_cur%ROWTYPE;
    begin
       WorkingLine :='.';
       OPEN ddl_cur;
       LOOP
          FETCH ddl_cur INTO ddlRec;
          EXIT WHEN ddl_cur%NOTFOUND;
          IF ddl_cur%ROWCOUNT = 1 THEN
             dbms_output.put_line('.');
             dbms_output.put_line('   sql_id: '||ddlRec.sql_id);
             dbms_output.put_line('.');
             dbms_output.put_line('.');
             dbms_output.put_line('SQL Text');
             dbms_output.put_line('----------------------------------------------------------------');
          END IF;
          CurrentLine := ddlRec.sql_text;
          WHILE LENGTH(CurrentLine) > 1 LOOP
             IF INSTR(CurrentLine,CHR(10)) > 0 THEN -- if the current line has an embeded newline
                WorkingLine := WorkingLine||SUBSTR(CurrentLine,1,INSTR(CurrentLine,CHR(10))-1);  -- append up to new line
                CurrentLine := SUBSTR(CurrentLine,INSTR(CurrentLine,CHR(10))+1);  -- strip off up through new line character
                dbms_output.put_line(WorkingLine);  -- print the WorkingLine
                WorkingLine :='';                   -- reset the working line
             ELSE
                WorkingLine := WorkingLine||CurrentLine;  -- append the current line
                CurrentLine :='';  -- the rest of the line has been processed
                IF LENGTH(WorkingLine) > maxDisplayLine THEN   -- the line is morethan the display limit
                   LineBreak := instr(substr(WorkingLine,1,maxDisplayLine),' ',-1); --find the last space before the display limit
                   IF LineBreak = 0 THEN -- there is no space, so look for a comma instead
                      LineBreak := substr(WorkingLine,instr(substr(WorkingLine,1,maxDisplayLine),',',-1));
                   END IF;
                   IF LineBreak = 0 THEN -- no space or comma, so force the line break at maxDisplayLine
                     LineBreak := maxDisplayLine;
                   END IF;
                   dbms_output.put_line(substr(WorkingLine,1,LineBreak));
                   WorkingLine:=substr(WorkingLine,LineBreak);
                END IF;
             END IF;
          END LOOP;
          --dbms_output.put(ddlRec.sql_text);
       END LOOP;
       dbms_output.put_line(WorkingLine);
       dbms_output.put_line('----------------------------------------------------------------');
       CLOSE ddl_cur;
    END;
    /

  • Query text and execution plan collection from prod DB Oracle 11g

    Hi all,
    I would like to collect query text, query execution plan and other statistics for all queries (mainly select queries) from production database.
    I am doing this by using OEM by click on Top activity link under performance tab but this gives top sql which is recent.
    This approach is helpful only when I need to debug recent queries only. If I need to know slow running queries and their execution plan at the end of day or sometime later then it’s not helpful for me.
    Anybody who has some better idea to do this will really be helpful.

    we did followings:
    1.Used awrextr.sql to export dmp file from production database.(imported snpashot id from 331 to 560)
    2.transfer file to test database.
    3.Used awrload.sql to import it in test database.
    but when we used OEM and went to Automatic Workload Repository link under Server tab
    its not showing snapshots of production database (which we have imported in test database )
    and showing only snapshot which was already there in test database.
    We did not find any error in import/export.
    do we need to perform something else also to display snapshots of production database in test database.

  • What does cost mean in execution plan?

    What does a cost increase actually mean compared to the decrease of data that has to be processed?
    More details:
    I have 3 tables:
    - users
    - transaction types
    - user transactions
    I'm joining user transactions with transaction types for a particular user and aggregating some result from the transaction type table.
    Originally there was no index on the user transactions table containing both the user_id (on which is filtered) and the transaction id. This lead to a TABLE ACCESS and joining a lot of data for nothing. I created an index to contain both fields so that no more TABLE ACCESS is needed. It indeed reduced the amount of data to be merged and aggregated considerably, but the COST of the query went up! This I don't understand. (the query itself did not seem to take more/less time).
    What does a cost increase actually mean compared to the decrease of data that has to be processed?
    Below are the two execution plans:
    Execution plan with low cost and table access.
    0 SELECT STATEMENT Optimizer=CHOOSE (Cost=51 Card=1 Bytes=33)
    1 0 SORT (AGGREGATE)
    2 1 HASH JOIN (Cost=51 Card=283759 Bytes=9364047)
    3 2 TABLE ACCESS (BY INDEX ROWID) OF 'THIRD_PARTY_TRANSACT
    IONS' (Cost=2 Card=448 Bytes=8960)
    4 3 INDEX (RANGE SCAN) OF 'X_TP_TRANSACTIONS_USER' (NON-
    UNIQUE) (Cost=1 Card=448)
    5 2 INDEX (FAST FULL SCAN) OF 'X_ISP_TRANSACTIONS_TRID_FIN
    AL' (NON-UNIQUE) (Cost=4 Card=63339 Bytes=823407)
    Execution plan with only index join but high cost
    0 SELECT STATEMENT Optimizer=CHOOSE (Cost=272 Card=1 Bytes=28)
    1 0 SORT (AGGREGATE)
    2 1 HASH JOIN (Cost=272 Card=3287 Bytes=92036)
    3 2 INDEX (FAST FULL SCAN) OF 'X_TP_TRANSACTIONS_TRID_USER
    ID' (NON-UNIQUE) (Cost=21 Card=3287 Bytes=49305)
    4 2 INDEX (FAST FULL SCAN) OF 'X_ISP_TRANSACTIONS_TRID_FIN
    AL' (NON-UNIQUE) (Cost=4 Card=63339 Bytes=823407)

    when oracle parses and optimises a query it creates several execution plans and assigns a cost to each plan.
    It then uses this cost to compare these plans.
    But you can't use this cost as an indication of how "heavy" a query is, nor can you compare the costs between different queries.
    It is only a value used internally by oracle.
    greetings
    Freek D

  • DAC Execution plan for financial analytics keeps running (OBIA 7.9.4)

    Hi Gurus,
    I have problem when tried to run full load on financial analytics execution plan. I used OBIA 7.9.4, Informatica 8.6.1 and DAC 10.1.3.4.1.patch.20100901.0520. This runs on Windows Server 2008 Service Pack 2 with 6 GB of memory. I set $$INITIAL_EXTRACT_DATE='01/01/2011' so it should pull data greater than $$INITIAL_EXTRACT_DATE, which I believed not more than 3 years data and should be not more than 2 days for loading this data. But execution plan keeps running and not yet completed even after more than 2 days. I have already checked for DAC execution plan log, But nothing I can found from the log.
    Here is the log file:
    12  INFO  Thu Jun 27 13:52:12 SGT 2013  DAC Version: Dac Build AN 10.1.3.4.1.patch.20100901.0520
    13  INFO  Thu Jun 27 13:52:12 SGT 2013  The System properties are: java.runtime.name Java(TM) SE Runtime Environment
    sun.boot.library.path C:\orahome\10gR3_1\jdk\jre\bin
    java.vm.version 10.0-b23
    java.vm.vendor Sun Microsystems Inc.
    java.vendor.url http://java.sun.com/
    path.separator ;
    ETL_EXECUTION_MODE ETL_SERVER
    java.vm.name Java HotSpot(TM) Server VM
    file.encoding.pkg sun.io
    sun.java.launcher SUN_STANDARD
    user.country US
    sun.os.patch.level Service Pack 2
    java.vm.specification.name Java Virtual Machine Specification
    user.dir C:\orahome\10gR3_1\bifoundation\dac
    java.runtime.version 1.6.0_07-b06
    java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
    java.endorsed.dirs C:\orahome\10gR3_1\jdk\jre\lib\endorsed
    os.arch x86
    java.io.tmpdir C:\Users\ADMINI~1\AppData\Local\Temp\2\
    line.separator
    java.vm.specification.vendor Sun Microsystems Inc.
    user.variant
    os.name Windows Server 2008
    REPOSITORY_STAMP 4E8A758D24E553DBB74B325E89718660
    sun.jnu.encoding Cp1252
    java.library.path C:\orahome\10gR3_1\jdk\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Informatica\PowerCenter8.6.1\server\bin;C:\OracleBI\server\Bin;C:\OracleBI\web\bin;C:\OracleBI\web\catalogmanager;C:\OracleBI\SQLAnywhere;C:\Program Files (x86)\Java\jdk1.5.0_22\bin;C:\app\oracle\product\11.2.0\dbhome_1\bin;C:\Program Files\HP\NCU;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\OmniBack\bin\;C:\Windows\System32\WindowsPowerShell\v1.0\
    java.specification.name Java Platform API Specification
    java.class.version 50.0
    sun.management.compiler HotSpot Tiered Compilers
    os.version 6.0
    user.home C:\Users\Administrator
    user.timezone Asia/Singapore
    java.awt.printerjob sun.awt.windows.WPrinterJob
    file.encoding Cp1252
    java.specification.version 1.6
    java.class.path .\lib\msbase.jar;.\lib\mssqlserver.jar;.\lib\msutil.jar;.\lib\sqljdbc.jar;.\lib\ojdbc6.jar;.\lib\ojdbc5.jar;.\lib\ojdbc14.jar;.\lib\db2java.zip;.\lib\terajdbc4.jar;.\lib\log4j.jar;.\lib\teradata.jar;.\lib\tdgssjava.jar;.\lib\tdgssconfig.jar;.\DAWSystem.jar;.;
    user.name Administrator
    java.vm.specification.version 1.0
    java.home C:\orahome\10gR3_1\jdk\jre
    sun.arch.data.model 32
    user.language en
    java.specification.vendor Sun Microsystems Inc.
    awt.toolkit sun.awt.windows.WToolkit
    java.vm.info mixed mode
    java.version 1.6.0_07
    java.ext.dirs C:\orahome\10gR3_1\jdk\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
    sun.boot.class.path C:\orahome\10gR3_1\jdk\jre\lib\resources.jar;C:\orahome\10gR3_1\jdk\jre\lib\rt.jar;C:\orahome\10gR3_1\jdk\jre\lib\sunrsasign.jar;C:\orahome\10gR3_1\jdk\jre\lib\jsse.jar;C:\orahome\10gR3_1\jdk\jre\lib\jce.jar;C:\orahome\10gR3_1\jdk\jre\lib\charsets.jar;C:\orahome\10gR3_1\jdk\jre\classes
    java.vendor Sun Microsystems Inc.
    file.separator \
    java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
    sun.io.unicode.encoding UnicodeLittle
    sun.cpu.endian little
    sun.desktop windows
    sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
    14  SEVERE  Thu Jun 27 13:52:12 SGT 2013
    START OF ETL
    15  SEVERE  Thu Jun 27 13:52:36 SGT 2013  Unable to evaluate method getNamedSourceIdentifier for class com.siebel.analytics.etl.etltask.InformaticaTask
    16  SEVERE  Thu Jun 27 13:52:36 SGT 2013  Unable to evaluate method getNamedSource for class com.siebel.analytics.etl.etltask.InformaticaTask
    17  SEVERE  Thu Jun 27 13:52:36 SGT 2013  Unable to evaluate method getNamedSourceIdentifier for class com.siebel.analytics.etl.etltask.PauseTask
    18  SEVERE  Thu Jun 27 13:52:36 SGT 2013  Unable to evaluate method getNamedSource for class com.siebel.analytics.etl.etltask.PauseTask
    19  SEVERE  Thu Jun 27 13:52:40 SGT 2013  Unable to evaluate method getNamedSourceIdentifier for class com.siebel.analytics.etl.etltask.TaskPrecedingActionScriptTask
    20  SEVERE  Thu Jun 27 13:52:40 SGT 2013  Unable to evaluate method getNamedSource for class com.siebel.analytics.etl.etltask.TaskPrecedingActionScriptTask
    21  SEVERE  Thu Jun 27 13:52:46 SGT 2013  Starting ETL Process.
    22  SEVERE  Thu Jun 27 13:52:47 SGT 2013  Informatica Status Poll Interval new value : 20000(milli-seconds)
    24  SEVERE  Thu Jun 27 13:52:52 SGT 2013  C:\orahome\10gR3_1\bifoundation\dac\Informatica\parameters\input\FLAT FILE specified is not a currently existing directory
    25  SEVERE  Thu Jun 27 13:52:52 SGT 2013  Request to start workflow : 'SILOS:SIL_InsertRowInRunTable' has completed with error code 0
    26  SEVERE  Thu Jun 27 13:53:12 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SILOS  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SILOS.SIL_InsertRowInRunTable.txt SIL_InsertRowInRunTable
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    27  SEVERE  Thu Jun 27 13:53:13 SGT 2013  Number of running sessions : 13
    28  SEVERE  Thu Jun 27 13:53:13 SGT 2013  Number of running sessions : 12
    29  SEVERE  Thu Jun 27 13:53:14 SGT 2013  Number of running sessions : 11
    30  SEVERE  Thu Jun 27 13:53:15 SGT 2013  Number of running sessions : 10
    32  SEVERE  Thu Jun 27 13:53:18 SGT 2013  C:\orahome\10gR3_1\bifoundation\dac\Informatica\parameters\input\ORACLE specified is not a currently existing directory
    33  SEVERE  Thu Jun 27 13:53:18 SGT 2013  C:\orahome\10gR3_1\bifoundation\dac\Informatica\parameters\input\Oracle specified is not a currently existing directory
    34  SEVERE  Thu Jun 27 13:53:18 SGT 2013  C:\orahome\10gR3_1\bifoundation\dac\Informatica\parameters\input\oracle specified is not a currently existing directory
    35  SEVERE  Thu Jun 27 13:53:18 SGT 2013  C:\orahome\10gR3_1\bifoundation\dac\Informatica\parameters\input\ORACLE (THIN) specified is not a currently existing directory
    36  SEVERE  Thu Jun 27 13:53:19 SGT 2013  Request to start workflow : 'SILOS:SIL_CurrencyTypes' has completed with error code 0
    37  SEVERE  Thu Jun 27 13:53:19 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_ValueSetHier_Extract_Full' has completed with error code 0
    38  SEVERE  Thu Jun 27 13:53:19 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_GLAccount_SegmentConfig_Extract' has completed with error code 0
    39  SEVERE  Thu Jun 27 13:53:19 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_LocalCurrency_Temporary' has completed with error code 0
    40  SEVERE  Thu Jun 27 13:53:19 SGT 2013  Request to start workflow : 'SILOS:SIL_Parameters_Update' has completed with error code 0
    41  SEVERE  Thu Jun 27 13:53:19 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_GLAccountDimension_FinSubCodes' has completed with error code 0
    42  SEVERE  Thu Jun 27 13:53:19 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_ValueSet_Extract' has completed with error code 0
    43  SEVERE  Thu Jun 27 13:53:19 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_GLSegmentDimension_Full' has completed with error code 0
    44  SEVERE  Thu Jun 27 13:53:19 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_InternalOrganizationDimension_BalanceSegmentValue_LegalEntity' has completed with error code 0
    45  SEVERE  Thu Jun 27 13:53:39 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SILOS  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SILOS.SIL_CurrencyTypes.txt SIL_CurrencyTypes
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    46  SEVERE  Thu Jun 27 13:53:39 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_ValueSetHier_Extract_Full.txt SDE_ORA_Stage_ValueSetHier_Extract_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    47  SEVERE  Thu Jun 27 13:53:40 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_GLAccount_SegmentConfig_Extract.txt SDE_ORA_Stage_GLAccount_SegmentConfig_Extract
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    48  SEVERE  Thu Jun 27 13:53:40 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_LocalCurrency_Temporary.txt SDE_ORA_LocalCurrency_Temporary
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    49  SEVERE  Thu Jun 27 13:53:40 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SILOS  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SILOS.SIL_Parameters_Update.txt SIL_Parameters_Update
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    50  SEVERE  Thu Jun 27 13:53:40 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_GLAccountDimension_FinSubCodes.txt SDE_ORA_Stage_GLAccountDimension_FinSubCodes
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    51  SEVERE  Thu Jun 27 13:53:40 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_ValueSet_Extract.txt SDE_ORA_Stage_ValueSet_Extract
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    52  SEVERE  Thu Jun 27 13:53:40 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_GLSegmentDimension_Full.txt SDE_ORA_GLSegmentDimension_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    53  SEVERE  Thu Jun 27 13:53:40 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_InternalOrganizationDimension_BalanceSegmentValue_LegalEntity.txt SDE_ORA_InternalOrganizationDimension_BalanceSegmentValue_LegalEntity
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    54  SEVERE  Thu Jun 27 13:53:40 SGT 2013  Number of running sessions : 10
    55  SEVERE  Thu Jun 27 13:53:40 SGT 2013  Number of running sessions : 10
    56  SEVERE  Thu Jun 27 13:53:40 SGT 2013  Number of running sessions : 11
    57  SEVERE  Thu Jun 27 13:53:40 SGT 2013  Number of running sessions : 11
    58  SEVERE  Thu Jun 27 13:53:40 SGT 2013  Number of running sessions : 11
    59  SEVERE  Thu Jun 27 13:53:41 SGT 2013  Number of running sessions : 11
    60  SEVERE  Thu Jun 27 13:53:41 SGT 2013  Number of running sessions : 11
    61  SEVERE  Thu Jun 27 13:53:41 SGT 2013  Number of running sessions : 11
    62  SEVERE  Thu Jun 27 13:53:41 SGT 2013  Number of running sessions : 11
    63  SEVERE  Thu Jun 27 13:53:42 SGT 2013  Number of running sessions : 10
    64  SEVERE  Thu Jun 27 13:53:42 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_GLBalanceFact_Full' has completed with error code 0
    65  SEVERE  Thu Jun 27 13:53:46 SGT 2013  Request to start workflow : 'SILOS:SIL_Stage_GroupAccountNumberDimension_FinStatementItem' has completed with error code 0
    66  SEVERE  Thu Jun 27 13:53:46 SGT 2013  Request to start workflow : 'SILOS:SIL_GlobalCurrencyGeneral_Update' has completed with error code 0
    67  SEVERE  Thu Jun 27 13:53:46 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_GroupAccountNumberDimension' has completed with error code 0
    68  SEVERE  Thu Jun 27 13:53:46 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_TransactionTypeDimension_ARSubType_Extract' has completed with error code 0
    69  SEVERE  Thu Jun 27 13:53:46 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_TransactionTypeDimension_GLRevenueTypeExtract' has completed with error code 0
    70  SEVERE  Thu Jun 27 13:53:46 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_ValueSetHier_Flatten' has completed with error code 0
    71  SEVERE  Thu Jun 27 13:53:47 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_ExchangeRateGeneral_Full' has completed with error code 0
    72  SEVERE  Thu Jun 27 13:53:47 SGT 2013  Request to start workflow : 'SILOS:SIL_ListOfValuesGeneral_Unspecified' has completed with error code 0
    73  SEVERE  Thu Jun 27 13:54:06 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SILOS  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SILOS.SIL_Stage_GroupAccountNumberDimension_FinStatementItem.txt SIL_Stage_GroupAccountNumberDimension_FinStatementItem
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    74  SEVERE  Thu Jun 27 13:54:07 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SILOS  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SILOS.SIL_GlobalCurrencyGeneral_Update.txt SIL_GlobalCurrencyGeneral_Update
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    75  SEVERE  Thu Jun 27 13:54:07 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_GroupAccountNumberDimension.txt SDE_ORA_Stage_GroupAccountNumberDimension
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    76  SEVERE  Thu Jun 27 13:54:07 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_TransactionTypeDimension_GLRevenueTypeExtract.txt SDE_ORA_Stage_TransactionTypeDimension_GLRevenueTypeExtract
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    77  SEVERE  Thu Jun 27 13:54:07 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_TransactionTypeDimension_ARSubType_Extract.txt SDE_ORA_Stage_TransactionTypeDimension_ARSubType_Extract
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    78  SEVERE  Thu Jun 27 13:54:07 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\DataWarehouse.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_ValueSetHier_Flatten.txt SDE_ORA_Stage_ValueSetHier_Flatten
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    79  SEVERE  Thu Jun 27 13:54:07 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_ExchangeRateGeneral_Full.txt SDE_ORA_ExchangeRateGeneral_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    80  SEVERE  Thu Jun 27 13:54:07 SGT 2013  Number of running sessions : 11
    81  SEVERE  Thu Jun 27 13:54:07 SGT 2013  Number of running sessions : 10
    82  SEVERE  Thu Jun 27 13:54:07 SGT 2013  Number of running sessions : 10
    83  SEVERE  Thu Jun 27 13:54:07 SGT 2013  Number of running sessions : 10
    84  SEVERE  Thu Jun 27 13:54:08 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SILOS  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SILOS.SIL_ListOfValuesGeneral_Unspecified.txt SIL_ListOfValuesGeneral_Unspecified
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    85  SEVERE  Thu Jun 27 13:54:08 SGT 2013  Number of running sessions : 10
    86  SEVERE  Thu Jun 27 13:54:08 SGT 2013  Number of running sessions : 10
    87  SEVERE  Thu Jun 27 13:54:08 SGT 2013  Number of running sessions : 10
    88  SEVERE  Thu Jun 27 13:54:09 SGT 2013  Number of running sessions : 10
    89  SEVERE  Thu Jun 27 13:54:12 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_GLJournals_Full' has completed with error code 0
    90  SEVERE  Thu Jun 27 13:54:13 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_APTransactionFact_Payment_Full' has completed with error code 0
    91  SEVERE  Thu Jun 27 13:54:13 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_TransactionTypeDimension_APType_Extract' has completed with error code 0
    92  SEVERE  Thu Jun 27 13:54:13 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_APTransactionFact_PaymentSchedule_Full' has completed with error code 0
    93  SEVERE  Thu Jun 27 13:54:13 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_APTransactionFact_Distributions_Full' has completed with error code 0
    94  SEVERE  Thu Jun 27 13:54:13 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_TransactionTypeDimension_GLRevenueSubType_Extract' has completed with error code 0
    95  SEVERE  Thu Jun 27 13:54:13 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_TransactionTypeDimension_APSubType_Extract' has completed with error code 0
    96  SEVERE  Thu Jun 27 13:54:14 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_TransactionTypeDimension_GLCOGSSubType_Extract' has completed with error code 0
    97  SEVERE  Thu Jun 27 13:54:15 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_ValueSetHier_DeriveRange' has completed with error code 0
    98  SEVERE  Thu Jun 27 13:54:33 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_APTransactionFact_Payment_Full.txt SDE_ORA_APTransactionFact_Payment_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    99  SEVERE  Thu Jun 27 13:54:33 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_TransactionTypeDimension_APType_Extract.txt SDE_ORA_Stage_TransactionTypeDimension_APType_Extract
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    100  SEVERE  Thu Jun 27 13:54:33 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_APTransactionFact_PaymentSchedule_Full.txt SDE_ORA_APTransactionFact_PaymentSchedule_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    101  SEVERE  Thu Jun 27 13:54:33 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_APTransactionFact_Distributions_Full.txt SDE_ORA_APTransactionFact_Distributions_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    102  SEVERE  Thu Jun 27 13:54:34 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_TransactionTypeDimension_GLRevenueSubType_Extract.txt SDE_ORA_Stage_TransactionTypeDimension_GLRevenueSubType_Extract
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    103  SEVERE  Thu Jun 27 13:54:34 SGT 2013  Number of running sessions : 12
    104  SEVERE  Thu Jun 27 13:54:34 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_TransactionTypeDimension_APSubType_Extract.txt SDE_ORA_Stage_TransactionTypeDimension_APSubType_Extract
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    105  SEVERE  Thu Jun 27 13:54:34 SGT 2013  Number of running sessions : 11
    106  SEVERE  Thu Jun 27 13:54:34 SGT 2013  Number of running sessions : 10
    107  SEVERE  Thu Jun 27 13:54:34 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_TransactionTypeDimension_GLCOGSSubType_Extract.txt SDE_ORA_Stage_TransactionTypeDimension_GLCOGSSubType_Extract
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    108  SEVERE  Thu Jun 27 13:54:34 SGT 2013  Number of running sessions : 11
    109  SEVERE  Thu Jun 27 13:54:34 SGT 2013  Number of running sessions : 10
    110  SEVERE  Thu Jun 27 13:54:34 SGT 2013  Number of running sessions : 10
    111  SEVERE  Thu Jun 27 13:54:35 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\DataWarehouse.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_ValueSetHier_DeriveRange.txt SDE_ORA_Stage_ValueSetHier_DeriveRange
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    112  SEVERE  Thu Jun 27 13:54:36 SGT 2013  Number of running sessions : 10
    113  SEVERE  Thu Jun 27 13:54:36 SGT 2013  Number of running sessions : 9
    114  SEVERE  Thu Jun 27 13:54:36 SGT 2013  Number of running sessions : 8
    115  SEVERE  Thu Jun 27 13:54:40 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_TransactionTypeDimension_GLCOGSType_Extract' has completed with error code 0
    116  SEVERE  Thu Jun 27 13:54:40 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_TransactionTypeDimension_ExpenditureCategory' has completed with error code 0
    117  SEVERE  Thu Jun 27 13:54:40 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_InternalOrganizationDimensionHierarchy_HROrgsTemporary_LatestVersion' has completed with error code 0
    118  SEVERE  Thu Jun 27 13:54:40 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_TransactionTypeDimension_ARType_Extract' has completed with error code 0
    119  SEVERE  Thu Jun 27 13:54:40 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_GL_AP_LinkageInformation_Extract_Full' has completed with error code 0
    120  SEVERE  Thu Jun 27 13:54:41 SGT 2013  Request to start workflow : 'SILOS:SIL_TimeOfDayDimension' has completed with error code 0
    121  SEVERE  Thu Jun 27 13:55:00 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_TransactionTypeDimension_GLCOGSType_Extract.txt SDE_ORA_Stage_TransactionTypeDimension_GLCOGSType_Extract
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    122  SEVERE  Thu Jun 27 13:55:00 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_TransactionTypeDimension_ExpenditureCategory.txt SDE_ORA_TransactionTypeDimension_ExpenditureCategory
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    123  SEVERE  Thu Jun 27 13:55:00 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_TransactionTypeDimension_ARType_Extract.txt SDE_ORA_Stage_TransactionTypeDimension_ARType_Extract
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    124  SEVERE  Thu Jun 27 13:55:00 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_InternalOrganizationDimensionHierarchy_HROrgsTemporary_LatestVersion.txt SDE_ORA_InternalOrganizationDimensionHierarchy_HROrgsTemporary_LatestVersion
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    125  SEVERE  Thu Jun 27 13:55:00 SGT 2013  Number of running sessions : 7
    126  SEVERE  Thu Jun 27 13:55:00 SGT 2013  Number of running sessions : 6
    127  SEVERE  Thu Jun 27 13:55:01 SGT 2013  Number of running sessions : 6
    128  SEVERE  Thu Jun 27 13:55:01 SGT 2013  Number of running sessions : 10
    129  SEVERE  Thu Jun 27 13:55:01 SGT 2013  Number of running sessions : 9
    130  SEVERE  Thu Jun 27 13:55:01 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SILOS  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SILOS.SIL_TimeOfDayDimension.txt SIL_TimeOfDayDimension
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    131  SEVERE  Thu Jun 27 13:55:02 SGT 2013  Number of running sessions : 9
    132  SEVERE  Thu Jun 27 13:55:06 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_TransactionTypeDimension_GLRevenueDerive' has completed with error code 0
    133  SEVERE  Thu Jun 27 13:55:06 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_TransactionTypeDimension_APDerive' has completed with error code 0
    134  SEVERE  Thu Jun 27 13:55:06 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_TransactionTypeDimension_GLOther' has completed with error code 0
    135  SEVERE  Thu Jun 27 13:55:06 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_Stage_TransactionTypeDimension_ARSubType_ExtractApplication' has completed with error code 0
    136  SEVERE  Thu Jun 27 13:55:06 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_TransactionTypeDimension_GLCOGSDerive' has completed with error code 0
    137  SEVERE  Thu Jun 27 13:55:08 SGT 2013  Request to start workflow : 'SILOS:SIL_HourOfDayDimension' has completed with error code 0
    138  SEVERE  Thu Jun 27 13:55:21 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_GL_AP_LinkageInformation_Extract_Full.txt SDE_ORA_GL_AP_LinkageInformation_Extract_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    139  SEVERE  Thu Jun 27 13:55:21 SGT 2013  Number of running sessions : 9
    140  SEVERE  Thu Jun 27 13:55:27 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_GL_PO_LinkageInformation_Extract_Full' has completed with error code 0
    141  SEVERE  Thu Jun 27 13:55:27 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_Stage_TransactionTypeDimension_ARSubType_ExtractApplication.txt SDE_ORA_Stage_TransactionTypeDimension_ARSubType_ExtractApplication
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    142  SEVERE  Thu Jun 27 13:55:27 SGT 2013  Number of running sessions : 8
    143  SEVERE  Thu Jun 27 13:55:28 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SILOS  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\DataWarehouse.DataWarehouse.SILOS.SIL_HourOfDayDimension.txt SIL_HourOfDayDimension
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    144  SEVERE  Thu Jun 27 13:55:29 SGT 2013  Number of running sessions : 7
    145  SEVERE  Thu Jun 27 13:55:47 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_GL_PO_LinkageInformation_Extract_Full.txt SDE_ORA_GL_PO_LinkageInformation_Extract_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    146  SEVERE  Thu Jun 27 13:55:47 SGT 2013  Number of running sessions : 7
    147  SEVERE  Thu Jun 27 13:55:53 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_GL_AR_REV_LinkageInformation_Extract_Full' has completed with error code 0
    148  SEVERE  Thu Jun 27 13:55:53 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_GLJournals_Full.txt SDE_ORA_GLJournals_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    149  SEVERE  Thu Jun 27 13:56:00 SGT 2013
    ANOMALY INFO::: DataWarehouse:SELECT COUNT(*) FROM W_ORA_GLRF_DERV_F_TMP
    ORA-00942: table or view does not exist
    MESSAGE:::ORA-00942: table or view does not exist
    EXCEPTION CLASS::: java.sql.SQLSyntaxErrorException
    oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
    oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
    oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
    oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
    oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
    oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
    oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:194)
    oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:853)
    oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1145)
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1267)
    oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1469)
    oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:389)
    com.siebel.etl.database.cancellable.CancellableStatement.executeQuery(CancellableStatement.java:69)
    com.siebel.etl.database.DBUtils.executeQuery(DBUtils.java:150)
    com.siebel.etl.database.WeakDBUtils.executeQuery(WeakDBUtils.java:242)
    com.siebel.analytics.etl.etltask.CountTableTask.doExecute(CountTableTask.java:99)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:411)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:307)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:214)
    com.siebel.etl.engine.core.Session.getTargetTableRowCounts(Session.java:3375)
    com.siebel.etl.engine.core.Session.run(Session.java:3251)
    java.lang.Thread.run(Thread.java:619)
    150  SEVERE  Thu Jun 27 13:56:00 SGT 2013
    ANOMALY INFO::: Error while executing : COUNT TABLE:W_ORA_GLRF_DERV_F_TMP
    MESSAGE:::com.siebel.etl.database.IllegalSQLQueryException: DataWarehouse:SELECT COUNT(*) FROM W_ORA_GLRF_DERV_F_TMP
    ORA-00942: table or view does not exist
    EXCEPTION CLASS::: java.lang.Exception
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:450)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:307)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:214)
    com.siebel.etl.engine.core.Session.getTargetTableRowCounts(Session.java:3375)
    com.siebel.etl.engine.core.Session.run(Session.java:3251)
    java.lang.Thread.run(Thread.java:619)
    ::: CAUSE :::
    MESSAGE:::DataWarehouse:SELECT COUNT(*) FROM W_ORA_GLRF_DERV_F_TMP
    ORA-00942: table or view does not exist
    EXCEPTION CLASS::: com.siebel.etl.database.IllegalSQLQueryException
    com.siebel.etl.database.DBUtils.executeQuery(DBUtils.java:160)
    com.siebel.etl.database.WeakDBUtils.executeQuery(WeakDBUtils.java:242)
    com.siebel.analytics.etl.etltask.CountTableTask.doExecute(CountTableTask.java:99)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:411)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:307)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:214)
    com.siebel.etl.engine.core.Session.getTargetTableRowCounts(Session.java:3375)
    com.siebel.etl.engine.core.Session.run(Session.java:3251)
    java.lang.Thread.run(Thread.java:619)
    ::: CAUSE :::
    MESSAGE:::ORA-00942: table or view does not exist
    EXCEPTION CLASS::: java.sql.SQLSyntaxErrorException
    oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
    oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
    oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
    oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
    oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
    oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
    oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:194)
    oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:853)
    oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1145)
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1267)
    oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1469)
    oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:389)
    com.siebel.etl.database.cancellable.CancellableStatement.executeQuery(CancellableStatement.java:69)
    com.siebel.etl.database.DBUtils.executeQuery(DBUtils.java:150)
    com.siebel.etl.database.WeakDBUtils.executeQuery(WeakDBUtils.java:242)
    com.siebel.analytics.etl.etltask.CountTableTask.doExecute(CountTableTask.java:99)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:411)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:307)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:214)
    com.siebel.etl.engine.core.Session.getTargetTableRowCounts(Session.java:3375)
    com.siebel.etl.engine.core.Session.run(Session.java:3251)
    java.lang.Thread.run(Thread.java:619)
    151  SEVERE  Thu Jun 27 13:56:12 SGT 2013  Number of running sessions : 10
    152  SEVERE  Thu Jun 27 13:56:12 SGT 2013  Number of running sessions : 10
    153  SEVERE  Thu Jun 27 13:56:13 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_GL_AR_REV_LinkageInformation_Extract_Full.txt SDE_ORA_GL_AR_REV_LinkageInformation_Extract_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    154  SEVERE  Thu Jun 27 13:56:13 SGT 2013  Number of running sessions : 10
    155  SEVERE  Thu Jun 27 13:56:17 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_APTermsDimension_Full' has completed with error code 0
    156  SEVERE  Thu Jun 27 13:56:18 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_PartyContactStaging_Full' has completed with error code 0
    157  SEVERE  Thu Jun 27 13:56:18 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_MovementTypeDimension' has completed with error code 0
    158  SEVERE  Thu Jun 27 13:56:18 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_TransactionSourceDimension_AP_LKP_Extract_Full' has completed with error code 0
    159  SEVERE  Thu Jun 27 13:56:19 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_TransactionSourceDimension_AP_CC_Extract' has completed with error code 0
    160  SEVERE  Thu Jun 27 13:56:38 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_APTermsDimension_Full.txt SDE_ORA_APTermsDimension_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    161  SEVERE  Thu Jun 27 13:56:38 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_PartyContactStaging_Full.txt SDE_ORA_PartyContactStaging_Full
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    162  SEVERE  Thu Jun 27 13:56:38 SGT 2013  Number of running sessions : 10
    163  SEVERE  Thu Jun 27 13:56:38 SGT 2013  Number of running sessions : 9
    164  SEVERE  Thu Jun 27 13:56:39 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1212_Flatfile.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_TransactionSourceDimension_AP_CC_Extract.txt SDE_ORA_TransactionSourceDimension_AP_CC_Extract
    Status Desc : Succeeded
    WorkFlowMessage : Workflow executed successfully.
    Error Message : Successfully completed.
    ErrorCode : 0
    165  SEVERE  Thu Jun 27 13:56:39 SGT 2013  Number of running sessions : 8
    166  SEVERE  Thu Jun 27 13:56:44 SGT 2013  Request to start workflow : 'SDE_ORAR1212_Adaptor:SDE_ORA_GL_COGS_LinkageInformation_Extract_Full' has completed with error code 0
    167  SEVERE  Thu Jun 27 13:57:04 SGT 2013  pmcmd startworkflow -sv INT_AFDROBI -d Domain_AFDRBI -u Administrator -p **** -f SDE_ORAR1212_Adaptor  -lpf C:\Informatica\PowerCenter8.6.1\server\infa_shared\SrcFiles\ORA_R1211.DataWarehouse.SDE_ORAR1212_Adaptor.SDE_ORA_GL_COGS_LinkageInformation_Extract_Full.txt SDE_ORA_GL_COGS_LinkageInformation_Extract_Full
    Status Desc : Succeeded
    After certain tasks I found Informatica workflow did not run. In my case after 190 of 403 tasks but sometime 183 of 403 tasks so it is intermittent.
    This sample tasks that is still running.
    SDE_ORA_EmployeeDimension
    SDE_ORA_GeoCountryDimension
    SDE_ORA_MovementTypeDimension
    SDE_ORA_Project
    SDE_ORA_StatusDimension_ProjectStatus
    SDE_ORA_TransactionSourceDimension_AP_LKP_Extract
    SDE_ORA_TransactionTypeDimension_APDerive
    SDE_ORA_TransactionTypeDimension_GLCOGSDerive
    In Informatica Monitor I found this
    The Integration Service INT_AFDROBI is alive. Ping time is 0 ms.
    The Integration Service INT_AFDROBI is alive. Ping time is 0 ms.
    The Integration Service INT_AFDROBI is alive. Ping time is 0 ms.
    The Integration Service INT_AFDROBI is alive. Ping time is 0 ms.
    Is it mean something?
    I have tried to bounce the server bounce the dac server and start ETL but problem still happen.
    Did I miss something on DAC or Informatica configuration?
    Thanks
    Joni

    Hi Naga,
    NagarajuCool Jul 8, 2013 6:49 AM (in response to JonHi Naga
    1)Check once Relational connections of workflow manager.
    Same with tns name
    2)Name should be same in workflow manager,ODBC and DAC client.
    in DAC I set same with SID -->connection test successful
    3)Have you mentioned custom properties in informatica integration service
    overrideMpltVarwithMapVar  Yes
    4)stop infa services and copy pmcmd  file from server to client and start sevrices.
    Done
    5)And check once all DAC configuration once.
    Done
    After applied above setting DAC Execution Plan for Financial Analytics still take long time. Anything I should try?
    Thanks,
    Joni
    Branch
    Report Abuse
    Like (0)
    Reply

  • Execution plan caching in oracle

    Does oracle store the explain plan in memory cache?
    Edited by: :) on Aug 2, 2011 10:45 PM

    It depends.
    In general execution plan don't change if Oracle has found a sharable cursor in shared pool even if related table data change.
    But it can depend on Oracle version, on the bind variables usage by the query (look for adaptative cursor sharing in 11G). It depends also if statistics for related tables and objects have been recomputed with some flag or not to invalidate plan (aka cursors).
    Tom Kyte has written in his Expert Oracle book (page 148 that you can read online with Google Books):
    >
    The shared pool was designed so that query plans would be used over and over again.
    >
    Edited by: P. Forstmann on 2 août 2011 19:38
    Edited by: P. Forstmann on 2 août 2011 19:42

  • Is an execution plan produced for a user lacking grants?

    Will Oracle generate an execution plan for syntactically correct PL/SQL submitted by a user lacking authority to read a table or will it 1st check syntax, then the dictionary, then the rights BEFORE generating the execution plan?

    xerosaburu wrote:
    Will Oracle generate an execution plan for syntactically correct PL/SQL submitted by a user lacking authority to read a table or will it 1st check syntax, then the dictionary, then the rights BEFORE generating the execution plan?incapable, incompetent, or just too lazy to run your own simple test?
    SQL> connect / as sysdba
    Connected.
    SQL> create user user2 identified by  user2;
    User created.
    SQL> grant create session to user2;
    Grant succeeded.
    SQL> connect user2/user2
    Connected.
    SQL> set autotrace on explain
    SQL> select count(*) from hr.employees;
    select count(*) from hr.employees
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> Handle:     xerosaburu
    Status Level:     Newbie (5)
    Registered:     Oct 18, 2007
    Total Posts:     104
    Total Questions:     21 (10 unresolved)
    why so many unanswered questions?

  • How to corret an execution plan that shows wrong number of rows?

    Using Oracle 10gR2 RAC (10.2.0.3) on SUSE Linux 9 (x86_64).
    I have a partition table that has 5 million rows (5,597,831). However an execution plan against the table show that the table has 10 million rows.
    Execution plan:
    SELECT STATEMENT ALL_ROWS Cost : 275,751 Bytes : 443 Cardinality : 1
    3 HASH GROUP BY Cost : 275,751 Bytes : 443 Cardinality : 1
         2 PARTITION RANGE ALL Cost : 275,018 Bytes : 4,430,000,000 Cardinality : *10,000,000* Partition # : 2 Partitions accessed #1 - #6
              1 TABLE ACCESS FULL TRACESALES.TRACE_BUSINESS_AREA Cost : 275,018 Bytes : 4,430,000,000 Cardinality : 10,000,000 Partition # : 2 Partitions accessed #1 - #6
    Plan hash value: 322783426
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
    | 0 | SELECT STATEMENT | | 1 | 443 | 275K (2)| 00:55:10 | | |
    | 1 | HASH GROUP BY | | 1 | 443 | 275K (2)| 00:55:10 | | |
    | 2 | PARTITION RANGE ALL| | 10M| 4224M| 275K (2)| 00:55:01 | 1 | 6 |
    | 3 | TABLE ACCESS FULL | TRACE_BUSINESS_AREA | 10M| 4224M| 275K (2)| 00:55:01 | 1 | 6 |
    How does one correct the explain plan?
    The problem: Queries against the table are taking hours to complete. The problem started when the table was dropped then recreated with a new partition.
    I have complete the drop and creation against several tables for several years without problems until now.
    I have done the following: Analyzed statistics against the table, flushed buffer cache. Created a materialized view.
    However users queries are taking several hours to complete, where before the addition of the partition the queries where taking 5 minutes to complete.
    Thanks. BL.

    Yes, complete analysis of statistic was complete on indexes and against partitions.
    Table creation statement:
    CREATE TABLE TRACESALES.TRACE_BUSINESS_AREA
    ... *(400 columns)*
    TABLESPACE "trace_OLAPTS"
    PCTUSED 0
    PCTFREE 15
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 1M
    NEXT 1M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL KEEP
    PARTITION BY RANGE (YEAR)
    PARTITION TRACE_06 VALUES LESS THAN ('2007')
    NOLOGGING
    NOCOMPRESS
    TABLESPACE TRACE_2006
    PCTFREE 15
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 1M
    NEXT 1M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    PARTITION TRACE_07 VALUES LESS THAN ('2008')
    NOLOGGING
    NOCOMPRESS
    TABLESPACE TRACE_2007
    PCTFREE 15
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 1M
    NEXT 1M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    PARTITION TRACE_08 VALUES LESS THAN ('2009')
    NOLOGGING
    NOCOMPRESS
    TABLESPACE TRACE_2008
    PCTFREE 15
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 1M
    NEXT 1M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    PARTITION TRACE_09 VALUES LESS THAN ('2010')
    NOLOGGING
    NOCOMPRESS
    TABLESPACE TRACE_2009
    PCTFREE 15
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 1M
    NEXT 1M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    PARTITION TRACE_10 VALUES LESS THAN ('2011')
    NOLOGGING
    NOCOMPRESS
    TABLESPACE TRACE_2010
    PCTFREE 15
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 1M
    NEXT 1M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    PARTITION TRACE_11 VALUES LESS THAN (MAXVALUE)
    NOLOGGING
    NOCOMPRESS
    TABLESPACE TRACE_2011
    PCTFREE 15
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 1M
    NEXT 1M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOCOMPRESS
    CACHE
    PARALLEL ( DEGREE DEFAULT INSTANCES DEFAULT )
    MONITORING;
    *(index statements, constraints, triggers and security)*
    Table caching is on and running in parallel degree 4 instances 1.

  • Plan shows SQL execution time Hrs 999:59:59 Sec.

    Dear Masters,
    Today my development team reported that the below query is taking more time. When I check the plan for my shok it is showing Hrs 999:59:59 Sec.
    Kindly help me in tuning this query.
    I am using oracle 10.2.0.3 version.
    SELECT 
    S_INVLOC.NAME , S_ORDER.ACCNT_ID , S_ORDER.APPR_BY_EMP_ID , S_ORDER.BL_CON_ID , S_ORDER.BL_OU_ID , S_ORDER.CARRIER_CD , S_ORDER.CONTACT_ID , S_ORDER.CURCY_CD , S_ORDER.TAX_EXEMPT_FLG ,
    S_ORDER.REQ_SHIP_DT , S_ORDER.SHIP_ADDR_ID , S_ORDER.SHIP_CON_ID , S_ORDER.SHIP_METH_CD , S_ORDER.SHIP_OU_ID , S_ORDER.STATUS_CD , S_ORDER.TAX_EXEMPT_NUM , S_ORDER.TAX_EXEMPT_REASON ,
    S_ORDER.OPTY_ID , S_ORDER.BU_ID PR_VIS_ORG_ID , S_ORDER.PROMO_ID , S_ORDER.PRI_LST_ID , S_ORDER.AGREE_ID AGREEMENT_ID , S_ORDER.ENTLMNT_ID ENTITLEMENT_ID , S_ORDER.SR_ID ,
    S_ORDER.BILLABLE_FLG , S_ORDER_ITEM.ROW_ID , S_ORDER_ITEM.ORDER_ID , S_ORDER_ITEM.LN_NUM , S_ORDER_ITEM.PROD_ID , S_ORDER_ITEM.ADJ_UNIT_PRI , S_ORDER_ITEM.BASE_UNIT_PRI ,
    S_ORDER_ITEM.CARRIER_CD CARRIER_CD1 , S_ORDER_ITEM.EXTD_QTY , S_ORDER_ITEM.QTY_SHIPPED , S_ORDER_ITEM.REQ_SHIP_DT REQ_SHIP_DT1 , S_ORDER_ITEM.SHIP_ADDR_ID SHIP_ADDR_ID1 ,
    S_ORDER_ITEM.SHIP_CON_ID SHIP_CON_ID1 , S_ORDER_ITEM.SHIP_METH_CD SHIP_METH_CD1 , S_ORDER_ITEM.STATUS_CD STATUS_CD1 , S_ORDER_ITEM.PROD_STATUS_CD , S_ORDER_ITEM.PROD_NAME ,
    S_ORDER_ITEM.LOANER_FLG , S_ORDER_ITEM.DISCNT_METH_CD , S_ORDER_ITEM.SHIP_OU_ID SHIP_OU_ID1 , S_ORDER_ITEM.STATUS_DT , S_ORDER_ITEM.MUST_DLVR_BY_DT , S_ORDER_ITEM.ACTION_CD ,
    S_ORDER_ITEM.ROLLUP_PRI , S_PROD_INT.NAME NAME1 , A.NAME NAME2 , B.NAME NAME3 , S_VOL_DISCNT.NAME NAME4 , ACCNT.PR_INDUST_ID , POSCRTDORG.OU_ID CREATED_BY_ORG_ID ,
    POSOWNERORG.OU_ID PR_OWNER_ORG_ID , PAROITEM.LN_NUM , PAROITEM.PROD_ID , SHIPOITEM.CITY , SHIPOITEM.COUNTRY , SHIPOITEM.ZIPCODE , SHIPO.CITY , SHIPO.COUNTRY , SHIPO.ZIPCODE ,
    BILL.CITY , BILL.COUNTRY , BILL.ZIPCODE , S_CAMP_CON.PR_CALL_LST_ID SEGMENT_ID , S_ORDER.DCP_ID OFFER_ID , APPRBYPOS.PR_HELD_POSTN_ID , POSOWNERORG.ROW_ID , POSOWNERORG.PR_EMP_ID ,
    S_ENTLMNT.PAR_AGREE_ID , ROOTOITEM.PROD_ID ROOT_LN_PROD_ID , ROOTOITEM.LN_NUM ROOT_LN_NUM , S_ORDER.PR_POSTN_ID , S_CAMP_CON.CAMP_LD_WAVE_ID , S_SRC.REGION_ID , OPRI.COST_PRI ,
    S_ORDER_ITEM.ORDER_ITM_CURCY_CD OITM_CURCY_CD , ROOTOITEM.ORDER_ITM_CURCY_CD ROOTOITM_CURCY_CD , S_ORDER_ITEM.ORDER_ITM_EXCH_DT OITM_AMT_DT , S_ORDER.ORDER_EXCH_DT ,
    S_ORDER_ITEM.CREATED , S_ORDER_ITEM.NET_PRI , S_ORDER_ITEM.CRSE_OFFR_ID , S_ORDER_ITEM.PRI_LST_ID OITM_PRI_LST_ID , ROOTOITEM.PRI_LST_ID ROOTOITM_PRI_LST_ID ,
    OWNORG.PRTNR_FLG , VISORG.PRTNR_FLG , S_CAMP_LD_WAVE.LAUNCHED_TS , QUOTE.CREATED , S_ORDER.ACTIVE_FLG , S_ORDER.APPROVED_FLG , PARPROD.PROD_TYPE_CD , ROOTPROD.PROD_TYPE_CD ,
    S_PROD_INT.PRICE_TYPE_CD , S_SRC.PROG_END_DT , S_SRC.PROG_START_DT , S_SRC.ROW_ID , S_ORDER.CREATED , OWNORG.ROW_ID , 0 AS X_CUSTOM , S_ORDER_ITEM. X_PHONE_NUMBER ,
    S_ORDER_ITEM.X_BACKEND_SERVICE_ID , S_ORDER_ITEM.SERVICE_NUM , S_ORDER_ITEM.BILL_ACCNT_ID , S_ORDER_X.ATTRIB_04 , S_ORDER_X.ATTRIB_30 , S_ORDER_X.ATTRIB_31
       FROM
    SIEBEL.V_ORDER_ITEM S_ORDER_ITEM, SIEBEL.S_ORDER_ITEM PAROITEM, SIEBEL.S_ORDER_ITEM ROOTOITEM, SIEBEL.S_ORDER, SIEBEL.S_VDISCNT_ITEM A, SIEBEL.S_VOL_DISCNT, SIEBEL.S_PROD_INT,
    SIEBEL.S_VDISCNT_ITEM B, SIEBEL.S_INVLOC, SIEBEL.S_ORG_EXT ACCNT, SIEBEL.S_POSTN POSOWNERORG, SIEBEL.S_CONTACT CRTD, SIEBEL.S_CONTACT APPRBYPOS, SIEBEL.S_POSTN POSCRTDORG,
    SIEBEL.S_ADDR_ORG SHIPOITEM, SIEBEL.S_ADDR_ORG SHIPO, SIEBEL.S_ADDR_ORG BILL, SIEBEL.S_CAMP_CON, SIEBEL.S_ENTLMNT, SIEBEL.S_SRC, SIEBEL.S_ORDER_ITM_PRI OPRI,
    SIEBEL.S_CAMP_LD_WAVE, SIEBEL.S_DOC_QUOTE QUOTE, SIEBEL.S_ORG_EXT OWNORG, SIEBEL.S_ORG_EXT OWNORG1, SIEBEL.S_ORG_EXT VISORG1, SIEBEL.S_ORG_EXT VISORG,
    SIEBEL.S_PROD_INT PARPROD, SIEBEL.S_PROD_INT ROOTPROD, SIEBEL.S_ORDER_X
    WHERE
         S_ORDER_ITEM.ORDER_ID     = S_ORDER.ROW_ID
        AND S_ORDER_ITEM.ROOT_ORDER_ITEM_ID  = ROOTOITEM.ROW_ID
        AND S_ORDER_ITEM.PAR_ORDER_ITEM_ID   = PAROITEM.ROW_ID(+)
        AND S_ORDER_ITEM.PROD_ID      = S_PROD_INT.ROW_ID(+)
        AND S_ORDER_ITEM.SRC_INVLOC_ID       = S_INVLOC.ROW_ID(+)
        AND S_ORDER_ITEM.VOL_DISCNT_ITEM_ID  = A.ROW_ID(+)
        AND S_ORDER_ITEM.VOL_DISCNT_ID       = S_VOL_DISCNT.ROW_ID(+)
        AND S_ORDER_ITEM.VOL_UPSELL_ITEM_ID  = B.ROW_ID(+)
        AND S_ORDER_ITEM.SHIP_ADDR_ID = SHIPOITEM.ROW_ID(+)
        AND S_ORDER.PR_POSTN_ID       = POSOWNERORG.ROW_ID(+)
        AND S_ORDER_ITEM.CREATED_BY   = CRTD.ROW_ID(+)
        AND CRTD.PR_HELD_POSTN_ID     = POSCRTDORG.ROW_ID(+)
        AND S_ORDER.ACCNT_ID   = ACCNT.ROW_ID(+)
        AND S_ORDER.CAMP_CON_ID       = S_CAMP_CON.ROW_ID(+)
        AND S_ORDER.SHIP_ADDR_ID      = SHIPO.ROW_ID(+)
        AND S_ORDER.BL_ADDR_ID        = BILL.ROW_ID(+)
        AND S_ORDER.APPR_BY_EMP_ID    = APPRBYPOS.ROW_ID(+)
        AND S_ORDER.ENTLMNT_ID        = S_ENTLMNT.ROW_ID(+)
        AND S_ORDER.PROMO_ID   = S_SRC.ROW_ID(+)
        AND S_ORDER_ITEM.ROW_ID       = OPRI.PAR_ROW_ID(+)
        AND S_CAMP_CON.CAMP_LD_WAVE_ID       = S_CAMP_LD_WAVE.ROW_ID(+)
        AND S_ORDER.QUOTE_ID   = QUOTE.ROW_ID(+)
        AND POSOWNERORG.OU_ID  = OWNORG1.ROW_ID(+)
        AND OWNORG1.PAR_BU_ID  = OWNORG.ROW_ID(+)
        AND S_ORDER.BU_ID      = VISORG1.ROW_ID(+)
        AND VISORG1.PAR_BU_ID  = VISORG.ROW_ID(+)
        AND PAROITEM.PROD_ID   = PARPROD.ROW_ID(+)
        AND ROOTOITEM.PROD_ID  = ROOTPROD.ROW_ID(+)
        AND S_ORDER_ITEM.ORDER_ID     = S_ORDER_X.PAR_ROW_ID(+)
        AND S_ORDER_ITEM.ROOT_ORDER_ITEM_ID IS NOT NULL;Execution Plan is : select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 73463824
    | Id  | Operation                                                | Name              | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                                         |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |   1 |  NESTED LOOPS OUTER                                      |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |   2 |   NESTED LOOPS OUTER                                     |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |   3 |    NESTED LOOPS OUTER                                    |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |   4 |     NESTED LOOPS OUTER                                   |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |   5 |      NESTED LOOPS OUTER                                  |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |   6 |       NESTED LOOPS                                       |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |   7 |        NESTED LOOPS OUTER                                |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |   8 |         NESTED LOOPS OUTER                               |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |   9 |          NESTED LOOPS OUTER                              |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |  10 |           NESTED LOOPS OUTER                             |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |  11 |            NESTED LOOPS OUTER                            |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |  12 |             NESTED LOOPS OUTER                           |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |  13 |              NESTED LOOPS OUTER                          |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |  14 |               NESTED LOOPS OUTER                         |                   |  3170K|    12G|  4100G  (4)|999:59:59 |
    |  15 |                NESTED LOOPS OUTER                        |                   |  3170K|    11G|  4100G  (4)|999:59:59 |
    |  16 |                 NESTED LOOPS OUTER                       |                   |  3170K|    11G|  4100G  (4)|999:59:59 |
    |  17 |                  NESTED LOOPS OUTER                      |                   |  3170K|    11G|  4100G  (4)|999:59:59 |
    |  18 |                   NESTED LOOPS OUTER                     |                   |  3170K|    10G|  4100G  (4)|999:59:59 |
    |  19 |                    NESTED LOOPS OUTER                    |                   |  3170K|    10G|  4100G  (4)|999:59:59 |
    |  20 |                     NESTED LOOPS OUTER                   |                   |  3170K|    10G|  4100G  (4)|999:59:59 |
    |  21 |                      NESTED LOOPS                        |                   |  3170K|  9911M|  4100G  (4)|999:59:59 |
    |  22 |                       NESTED LOOPS OUTER                 |                   |  3108K|  4927M|  2569K  (2)| 01:08:47 |
    |  23 |                        NESTED LOOPS OUTER                |                   |  3108K|  4835M|   115K (14)| 00:03:06 |
    |  24 |                         NESTED LOOPS OUTER               |                   |  3108K|  4782M|   115K (14)| 00:03:06 |
    |  25 |                          NESTED LOOPS OUTER              |                   |  3108K|  4660M|   112K (12)| 00:03:02 |
    |  26 |                           NESTED LOOPS OUTER             |                   |  3108K|  4417M|   112K (12)| 00:03:02 |
    |  27 |                            NESTED LOOPS OUTER            |                   |  3108K|  4227M|   112K (12)| 00:03:02 |
    |  28 |                             NESTED LOOPS OUTER           |                   |  3108K|  3943M|   112K (12)| 00:03:02 |
    |  29 |                              NESTED LOOPS OUTER          |                   |  3108K|  3178M|   111K (11)| 00:02:59 |
    |  30 |                               TABLE ACCESS FULL          | S_ORDER           |  3108K|  2413M|   109K  (9)| 00:02:56 |
    |  31 |                               TABLE ACCESS BY INDEX ROWID| S_ADDR_ORG        |     1 |   258 |     1   (0)| 00:00:01 |
    |* 32 |                                INDEX UNIQUE SCAN         | S_ADDR_ORG_P1     |     1 |       |     1   (0)| 00:00:01 |
    |  33 |                              TABLE ACCESS BY INDEX ROWID | S_ADDR_ORG        |     1 |   258 |     1   (0)| 00:00:01 |
    |* 34 |                               INDEX UNIQUE SCAN          | S_ADDR_ORG_P1     |     1 |       |     1   (0)| 00:00:01 |
    |  35 |                             TABLE ACCESS BY INDEX ROWID  | S_CAMP_CON        |     1 |    96 |     1   (0)| 00:00:01 |
    |* 36 |                              INDEX UNIQUE SCAN           | S_CAMP_CON_P1     |     1 |       |     1   (0)| 00:00:01 |
    |  37 |                            TABLE ACCESS BY INDEX ROWID   | S_ENTLMNT         |     1 |    64 |     1   (0)| 00:00:01 |
    |* 38 |                             INDEX UNIQUE SCAN            | S_ENTLMNT_P1      |     1 |       |     1   (0)| 00:00:01 |
    |  39 |                           TABLE ACCESS BY INDEX ROWID    | S_SRC             |     1 |    82 |     1   (0)| 00:00:01 |
    |* 40 |                            INDEX UNIQUE SCAN             | S_SRC_P1          |     1 |       |     1   (0)| 00:00:01 |
    |  41 |                          TABLE ACCESS BY INDEX ROWID     | S_CAMP_LD_WAVE    |     1 |    41 |     1   (0)| 00:00:01 |
    |* 42 |                           INDEX UNIQUE SCAN              | S_CAMP_LD_WAVE_P1 |     1 |       |     1   (0)| 00:00:01 |
    |  43 |                         TABLE ACCESS BY INDEX ROWID      | S_DOC_QUOTE       |     1 |    18 |     1   (0)| 00:00:01 |
    |* 44 |                          INDEX UNIQUE SCAN               | S_DOC_QUOTE_P1    |     1 |       |     1   (0)| 00:00:01 |
    |  45 |                        TABLE ACCESS BY INDEX ROWID       | S_POSTN           |     1 |    31 |     1   (0)| 00:00:01 |
    |* 46 |                         INDEX UNIQUE SCAN                | S_POSTN_P1        |     1 |       |     1   (0)| 00:00:01 |
    |* 47 |                       VIEW                               | V_ORDER_ITEM      |     1 |  1616 |  1318K  (4)| 00:35:19 |
    |  48 |                        NESTED LOOPS                      |                   |  3128K|  1372M|  1318K  (4)| 00:35:19 |
    |  49 |                         INDEX FAST FULL SCAN             | S_ETL_I_IMG_25_M2 |  3128K|    32M|  2756  (11)| 00:00:05 |
    |* 50 |                         TABLE ACCESS BY INDEX ROWID      | S_ORDER_ITEM      |     1 |   449 |     2   (0)| 00:00:01 |
    |* 51 |                          INDEX UNIQUE SCAN               | S_ORDER_ITEM_P1   |     1 |       |     2   (0)| 00:00:01 |
    |  52 |                      TABLE ACCESS BY INDEX ROWID         | S_VDISCNT_ITEM    |     1 |   134 |     1   (0)| 00:00:01 |
    |* 53 |                       INDEX UNIQUE SCAN                  | S_VDISCNT_ITEM_P1 |     1 |       |     1   (0)| 00:00:01 |
    |  54 |                     TABLE ACCESS BY INDEX ROWID          | S_VOL_DISCNT      |     1 |   134 |     1   (0)| 00:00:01 |
    |* 55 |                      INDEX UNIQUE SCAN                   | S_VOL_DISCNT_P1   |     1 |       |     1   (0)| 00:00:01 |
    |  56 |                    TABLE ACCESS BY INDEX ROWID           | S_VDISCNT_ITEM    |     1 |   134 |     1   (0)| 00:00:01 |
    |* 57 |                     INDEX UNIQUE SCAN                    | S_VDISCNT_ITEM_P1 |     1 |       |     1   (0)| 00:00:01 |
    |  58 |                   TABLE ACCESS BY INDEX ROWID            | S_ADDR_ORG        |     1 |   258 |     1   (0)| 00:00:01 |
    |* 59 |                    INDEX UNIQUE SCAN                     | S_ADDR_ORG_P1     |     1 |       |     1   (0)| 00:00:01 |
    |* 60 |                  TABLE ACCESS FULL                       | S_ORDER_ITM_PRI   |     1 |    45 |     0   (0)| 00:00:01 |
    |  61 |                 TABLE ACCESS BY INDEX ROWID              | S_INVLOC          |     1 |    33 |     1   (0)| 00:00:01 |
    |* 62 |                  INDEX UNIQUE SCAN                       | S_INVLOC_P1       |     1 |       |     1   (0)| 00:00:01 |
    |  63 |                TABLE ACCESS BY INDEX ROWID               | S_PROD_INT        |     1 |    58 |     1   (0)| 00:00:01 |
    |* 64 |                 INDEX UNIQUE SCAN                        | S_PROD_INT_P1     |     1 |       |     1   (0)| 00:00:01 |
    |  65 |               TABLE ACCESS BY INDEX ROWID                | S_ORDER_X         |     1 |    36 |     2   (0)| 00:00:01 |
    |* 66 |                INDEX RANGE SCAN                          | S_ORDER_X_U1      |     1 |       |     2   (0)| 00:00:01 |
    |  67 |              TABLE ACCESS BY INDEX ROWID                 | S_CONTACT         |     1 |    14 |     2   (0)| 00:00:01 |
    |* 68 |               INDEX UNIQUE SCAN                          | S_CONTACT_P1      |     1 |       |     1   (0)| 00:00:01 |
    |  69 |             TABLE ACCESS BY INDEX ROWID                  | S_POSTN           |     1 |    20 |     1   (0)| 00:00:01 |
    |* 70 |              INDEX UNIQUE SCAN                           | S_POSTN_P1        |     1 |       |     1   (0)| 00:00:01 |
    |  71 |            TABLE ACCESS BY INDEX ROWID                   | S_CONTACT         |     1 |    14 |     1   (0)| 00:00:01 |
    |* 72 |             INDEX UNIQUE SCAN                            | S_CONTACT_P1      |     1 |       |     1   (0)| 00:00:01 |
    |  73 |           TABLE ACCESS BY INDEX ROWID                    | S_ORG_EXT         |     1 |    14 |     2   (0)| 00:00:01 |
    |* 74 |            INDEX UNIQUE SCAN                             | S_ORG_EXT_P1      |     1 |       |     1   (0)| 00:00:01 |
    |  75 |          TABLE ACCESS BY INDEX ROWID                     | S_ORG_EXT         |     1 |    14 |     2   (0)| 00:00:01 |
    |* 76 |           INDEX UNIQUE SCAN                              | S_ORG_EXT_P1      |     1 |       |     1   (0)| 00:00:01 |
    |  77 |         TABLE ACCESS BY INDEX ROWID                      | S_ORG_EXT         |     1 |    17 |     2   (0)| 00:00:01 |
    |* 78 |          INDEX UNIQUE SCAN                               | S_ORG_EXT_P1      |     1 |       |     1   (0)| 00:00:01 |
    |  79 |        TABLE ACCESS BY INDEX ROWID                       | S_ORDER_ITEM      |     1 |    60 |     2   (0)| 00:00:01 |
    |* 80 |         INDEX UNIQUE SCAN                                | S_ORDER_ITEM_P1   |     1 |       |     2   (0)| 00:00:01 |
    |  81 |       TABLE ACCESS BY INDEX ROWID                        | S_ORDER_ITEM      |     1 |    24 |     2   (0)| 00:00:01 |
    |* 82 |        INDEX UNIQUE SCAN                                 | S_ORDER_ITEM_P1   |     1 |       |     2   (0)| 00:00:01 |
    |  83 |      TABLE ACCESS BY INDEX ROWID                         | S_PROD_INT        |     1 |    16 |     1   (0)| 00:00:01 |
    |* 84 |       INDEX UNIQUE SCAN                                  | S_PROD_INT_P1     |     1 |       |     1   (0)| 00:00:01 |
    |  85 |     TABLE ACCESS BY INDEX ROWID                          | S_PROD_INT        |     1 |    16 |     1   (0)| 00:00:01 |
    |* 86 |      INDEX UNIQUE SCAN                                   | S_PROD_INT_P1     |     1 |       |     1   (0)| 00:00:01 |
    |  87 |    TABLE ACCESS BY INDEX ROWID                           | S_ORG_EXT         |     1 |    14 |     2   (0)| 00:00:01 |
    |* 88 |     INDEX UNIQUE SCAN                                    | S_ORG_EXT_P1      |     1 |       |     1   (0)| 00:00:01 |
    |  89 |   TABLE ACCESS BY INDEX ROWID                            | S_ORG_EXT         |     1 |    17 |     2   (0)| 00:00:01 |
    |* 90 |    INDEX UNIQUE SCAN                                     | S_ORG_EXT_P1      |     1 |       |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
      32 - access("S_ORDER"."SHIP_ADDR_ID"="SHIPO"."ROW_ID"(+))
      34 - access("S_ORDER"."BL_ADDR_ID"="BILL"."ROW_ID"(+))
      36 - access("S_ORDER"."CAMP_CON_ID"="S_CAMP_CON"."ROW_ID"(+))
      38 - access("S_ORDER"."ENTLMNT_ID"="S_ENTLMNT"."ROW_ID"(+))
      40 - access("S_ORDER"."PROMO_ID"="S_SRC"."ROW_ID"(+))
      42 - access("S_CAMP_CON"."CAMP_LD_WAVE_ID"="S_CAMP_LD_WAVE"."ROW_ID"(+))
      44 - access("S_ORDER"."QUOTE_ID"="QUOTE"."ROW_ID"(+))
      46 - access("S_ORDER"."PR_POSTN_ID"="POSOWNERORG"."ROW_ID"(+))
      47 - filter("S_ORDER_ITEM"."ORDER_ID"="S_ORDER"."ROW_ID")
      50 - filter("S_ORDER_ITEM"."ROOT_ORDER_ITEM_ID" IS NOT NULL)
      51 - access("S_ORDER_ITEM"."ROW_ID"="S_ETL_I_IMG_25"."ROW_ID")
      53 - access("S_ORDER_ITEM"."VOL_DISCNT_ITEM_ID"="A"."ROW_ID"(+))
      55 - access("S_ORDER_ITEM"."VOL_DISCNT_ID"="S_VOL_DISCNT"."ROW_ID"(+))
      57 - access("S_ORDER_ITEM"."VOL_UPSELL_ITEM_ID"="B"."ROW_ID"(+))
      59 - access("S_ORDER_ITEM"."SHIP_ADDR_ID"="SHIPOITEM"."ROW_ID"(+))
      60 - filter("S_ORDER_ITEM"."ROW_ID"="OPRI"."PAR_ROW_ID"(+))
    PLAN_TABLE_OUTPUT
      62 - access("S_ORDER_ITEM"."SRC_INVLOC_ID"="S_INVLOC"."ROW_ID"(+))
      64 - access("S_ORDER_ITEM"."PROD_ID"="S_PROD_INT"."ROW_ID"(+))
      66 - access("S_ORDER_ITEM"."ORDER_ID"="S_ORDER_X"."PAR_ROW_ID"(+))
      68 - access("S_ORDER_ITEM"."CREATED_BY"="CRTD"."ROW_ID"(+))
      70 - access("CRTD"."PR_HELD_POSTN_ID"="POSCRTDORG"."ROW_ID"(+))
      72 - access("S_ORDER"."APPR_BY_EMP_ID"="APPRBYPOS"."ROW_ID"(+))
      74 - access("S_ORDER"."ACCNT_ID"="ACCNT"."ROW_ID"(+))
      76 - access("POSOWNERORG"."OU_ID"="OWNORG1"."ROW_ID"(+))
      78 - access("OWNORG1"."PAR_BU_ID"="OWNORG"."ROW_ID"(+))
      80 - access("S_ORDER_ITEM"."ROOT_ORDER_ITEM_ID"="ROOTOITEM"."ROW_ID")
      82 - access("S_ORDER_ITEM"."PAR_ORDER_ITEM_ID"="PAROITEM"."ROW_ID"(+))
      84 - access("PAROITEM"."PROD_ID"="PARPROD"."ROW_ID"(+))
      86 - access("ROOTOITEM"."PROD_ID"="ROOTPROD"."ROW_ID"(+))
      88 - access("S_ORDER"."BU_ID"="VISORG1"."ROW_ID"(+))
      90 - access("VISORG1"."PAR_BU_ID"="VISORG"."ROW_ID"(+))
    132 rows selected.Edited by: KODS on Dec 13, 2012 2:11 PM

    Output of : select * from table(dbms_xplan.display_cursor('4nn6jbvwf0b2k', null, 'iostats last'));
    PLAN_TABLE_OUTPUT
    SQL_ID  4nn6jbvwf0b2k, child number 0
             S_ORDER.APPR_BY_EMP_ID ,
             S_ORDER.CARRIER_CD ,
             S_ORDER.CURCY_CD ,
             S_ORDER.SHIP_ADDR_ID,
             S_ORDER.SHIP_METH_CD ,
             S_ORDER.TAX_EXEMPT_NUM ,
             S_ORDER.BU_IDID ,EASON ,
             S_ORDER.PRI_LST_ID ,
             S_ORDER.ENTLMNT_ID ENTITLEMENT_ID ,
             S_ORDER_ITEM.ROW_ID ,,
             S_ORDER_ITEM.PROD_ID,
             S_ORDER_ITEM.BASE_UNIT_PRI ,
    S_
    Plan hash value: 73463824
    | Id  | Operation                                                | Name              | E-Rows |
    |   1 |  NESTED LOOPS OUTER                                      |                   |   3170K|
    |   2 |   NESTED LOOPS OUTER                                     |                   |   3170K|
    |   3 |    NESTED LOOPS OUTER                                    |                   |   3170K|
    |   4 |     NESTED LOOPS OUTER                                   |                   |   3170K|
    |   5 |      NESTED LOOPS OUTER                                  |                   |   3170K|
    |   6 |       NESTED LOOPS                                       |                   |   3170K|
    |   7 |        NESTED LOOPS OUTER                                |                   |   3170K|
    |   8 |         NESTED LOOPS OUTER                               |                   |   3170K|
    |   9 |          NESTED LOOPS OUTER                              |                   |   3170K|
    |  10 |           NESTED LOOPS OUTER                             |                   |   3170K|
    |  11 |            NESTED LOOPS OUTER                            |                   |   3170K|
    |  12 |             NESTED LOOPS OUTER                           |                   |   3170K|
    |  13 |              NESTED LOOPS OUTER                          |                   |   3170K|
    |  14 |               NESTED LOOPS OUTER                         |                   |   3170K|
    |  15 |                NESTED LOOPS OUTER                        |                   |   3170K|
    |  16 |                 NESTED LOOPS OUTER                       |                   |   3170K|
    |  17 |                  NESTED LOOPS OUTER                      |                   |   3170K|
    |  18 |                   NESTED LOOPS OUTER                     |                   |   3170K|
    |  19 |                    NESTED LOOPS OUTER                    |                   |   3170K|
    |  20 |                     NESTED LOOPS OUTER                   |                   |   3170K|
    |  21 |                      NESTED LOOPS                        |                   |   3170K|
    |  22 |                       NESTED LOOPS OUTER                 |                   |   3108K|
    |  23 |                        NESTED LOOPS OUTER                |                   |   3108K|
    |  24 |                         NESTED LOOPS OUTER               |                   |   3108K|
    |  25 |                          NESTED LOOPS OUTER              |                   |   3108K|
    |  26 |                           NESTED LOOPS OUTER             |                   |   3108K|
    |  27 |                            NESTED LOOPS OUTER            |                   |   3108K|
    |  28 |                             NESTED LOOPS OUTER           |                   |   3108K|
    |  29 |                              NESTED LOOPS OUTER          |                   |   3108K|
    |  30 |                               TABLE ACCESS FULL          | S_ORDER           |   3108K|
    |  31 |                               TABLE ACCESS BY INDEX ROWID| S_ADDR_ORG        |      1 |
    |* 32 |                                INDEX UNIQUE SCAN         | S_ADDR_ORG_P1     |      1 |
    |  33 |                              TABLE ACCESS BY INDEX ROWID | S_ADDR_ORG        |      1 |
    |* 34 |                               INDEX UNIQUE SCAN          | S_ADDR_ORG_P1     |      1 |
    |  35 |                             TABLE ACCESS BY INDEX ROWID  | S_CAMP_CON        |      1 |
    |* 36 |                              INDEX UNIQUE SCAN           | S_CAMP_CON_P1     |      1 |
    |  37 |                            TABLE ACCESS BY INDEX ROWID   | S_ENTLMNT         |      1 |
    |* 38 |                             INDEX UNIQUE SCAN            | S_ENTLMNT_P1      |      1 |
    |  39 |                           TABLE ACCESS BY INDEX ROWID    | S_SRC             |      1 |
    |* 40 |                            INDEX UNIQUE SCAN             | S_SRC_P1          |      1 |
    |  41 |                          TABLE ACCESS BY INDEX ROWID     | S_CAMP_LD_WAVE    |      1 |
    |* 42 |                           INDEX UNIQUE SCAN              | S_CAMP_LD_WAVE_P1 |      1 |
    |  43 |                         TABLE ACCESS BY INDEX ROWID      | S_DOC_QUOTE       |      1 |
    |* 44 |                          INDEX UNIQUE SCAN               | S_DOC_QUOTE_P1    |      1 |
    |  45 |                        TABLE ACCESS BY INDEX ROWID       | S_POSTN           |      1 |
    |* 46 |                         INDEX UNIQUE SCAN                | S_POSTN_P1        |      1 |
    |* 47 |                       VIEW                               | V_ORDER_ITEM      |      1 |
    |  48 |                        NESTED LOOPS                      |                   |   3128K|
    |  49 |                         INDEX FAST FULL SCAN             | S_ETL_I_IMG_25_M2 |   3128K|
    |* 50 |                         TABLE ACCESS BY INDEX ROWID      | S_ORDER_ITEM      |      1 |
    |* 51 |                          INDEX UNIQUE SCAN               | S_ORDER_ITEM_P1   |      1 |
    |  52 |                      TABLE ACCESS BY INDEX ROWID         | S_VDISCNT_ITEM    |      1 |
    |* 53 |                       INDEX UNIQUE SCAN                  | S_VDISCNT_ITEM_P1 |      1 |
    |  54 |                     TABLE ACCESS BY INDEX ROWID          | S_VOL_DISCNT      |      1 |
    |* 55 |                      INDEX UNIQUE SCAN                   | S_VOL_DISCNT_P1   |      1 |
    |  56 |                    TABLE ACCESS BY INDEX ROWID           | S_VDISCNT_ITEM    |      1 |
    |* 57 |                     INDEX UNIQUE SCAN                    | S_VDISCNT_ITEM_P1 |      1 |
    |  58 |                   TABLE ACCESS BY INDEX ROWID            | S_ADDR_ORG        |      1 |
    |* 59 |                    INDEX UNIQUE SCAN                     | S_ADDR_ORG_P1     |      1 |
    |* 60 |                  TABLE ACCESS FULL                       | S_ORDER_ITM_PRI   |      1 |
    |  61 |                 TABLE ACCESS BY INDEX ROWID              | S_INVLOC          |      1 |
    |* 62 |                  INDEX UNIQUE SCAN                       | S_INVLOC_P1       |      1 |
    |  63 |                TABLE ACCESS BY INDEX ROWID               | S_PROD_INT        |      1 |
    |* 64 |                 INDEX UNIQUE SCAN                        | S_PROD_INT_P1     |      1 |
    |  65 |               TABLE ACCESS BY INDEX ROWID                | S_ORDER_X         |      1 |
    |* 66 |                INDEX RANGE SCAN                          | S_ORDER_X_U1      |      1 |
    |  67 |              TABLE ACCESS BY INDEX ROWID                 | S_CONTACT         |      1 |
    |* 68 |               INDEX UNIQUE SCAN                          | S_CONTACT_P1      |      1 |
    |  69 |             TABLE ACCESS BY INDEX ROWID                  | S_POSTN           |      1 |
    |* 70 |              INDEX UNIQUE SCAN                           | S_POSTN_P1        |      1 |
    |  71 |            TABLE ACCESS BY INDEX ROWID                   | S_CONTACT         |      1 |
    |* 72 |             INDEX UNIQUE SCAN                            | S_CONTACT_P1      |      1 |
    |  73 |           TABLE ACCESS BY INDEX ROWID                    | S_ORG_EXT         |      1 |
    |* 74 |            INDEX UNIQUE SCAN                             | S_ORG_EXT_P1      |      1 |
    |  75 |          TABLE ACCESS BY INDEX ROWID                     | S_ORG_EXT         |      1 |
    |* 76 |           INDEX UNIQUE SCAN                              | S_ORG_EXT_P1      |      1 |
    |  77 |         TABLE ACCESS BY INDEX ROWID                      | S_ORG_EXT         |      1 |
    |* 78 |          INDEX UNIQUE SCAN                               | S_ORG_EXT_P1      |      1 |
    |  79 |        TABLE ACCESS BY INDEX ROWID                       | S_ORDER_ITEM      |      1 |
    |* 80 |         INDEX UNIQUE SCAN                                | S_ORDER_ITEM_P1   |      1 |
    |  81 |       TABLE ACCESS BY INDEX ROWID                        | S_ORDER_ITEM      |      1 |
    |* 82 |        INDEX UNIQUE SCAN                                 | S_ORDER_ITEM_P1   |      1 |
    |  83 |      TABLE ACCESS BY INDEX ROWID                         | S_PROD_INT        |      1 |
    |* 84 |       INDEX UNIQUE SCAN                                  | S_PROD_INT_P1     |      1 |
    |  85 |     TABLE ACCESS BY INDEX ROWID                          | S_PROD_INT        |      1 |
    |* 86 |      INDEX UNIQUE SCAN                                   | S_PROD_INT_P1     |      1 |
    |  87 |    TABLE ACCESS BY INDEX ROWID                           | S_ORG_EXT         |      1 |
    |* 88 |     INDEX UNIQUE SCAN                                    | S_ORG_EXT_P1      |      1 |
    |  89 |   TABLE ACCESS BY INDEX ROWID                            | S_ORG_EXT         |      1 |
    |* 90 |    INDEX UNIQUE SCAN                                     | S_ORG_EXT_P1      |      1 |
    Predicate Information (identified by operation id):
      32 - access("S_ORDER"."SHIP_ADDR_ID"="SHIPO"."ROW_ID")
    PLAN_TABLE_OUTPUT
      34 - access("S_ORDER"."BL_ADDR_ID"="BILL"."ROW_ID")
      36 - access("S_ORDER"."CAMP_CON_ID"="S_CAMP_CON"."ROW_ID")
      38 - access("S_ORDER"."ENTLMNT_ID"="S_ENTLMNT"."ROW_ID")
      40 - access("S_ORDER"."PROMO_ID"="S_SRC"."ROW_ID")
      42 - access("S_CAMP_CON"."CAMP_LD_WAVE_ID"="S_CAMP_LD_WAVE"."ROW_ID")
      44 - access("S_ORDER"."QUOTE_ID"="QUOTE"."ROW_ID")
      46 - access("S_ORDER"."PR_POSTN_ID"="POSOWNERORG"."ROW_ID")
      47 - filter("S_ORDER_ITEM"."ORDER_ID"="S_ORDER"."ROW_ID")
      50 - filter("S_ORDER_ITEM"."ROOT_ORDER_ITEM_ID" IS NOT NULL)
      51 - access("S_ORDER_ITEM"."ROW_ID"="S_ETL_I_IMG_25"."ROW_ID")
      53 - access("S_ORDER_ITEM"."VOL_DISCNT_ITEM_ID"="A"."ROW_ID")
      55 - access("S_ORDER_ITEM"."VOL_DISCNT_ID"="S_VOL_DISCNT"."ROW_ID")
      57 - access("S_ORDER_ITEM"."VOL_UPSELL_ITEM_ID"="B"."ROW_ID")
      59 - access("S_ORDER_ITEM"."SHIP_ADDR_ID"="SHIPOITEM"."ROW_ID")
      60 - filter("S_ORDER_ITEM"."ROW_ID"="OPRI"."PAR_ROW_ID")
      62 - access("S_ORDER_ITEM"."SRC_INVLOC_ID"="S_INVLOC"."ROW_ID")
      64 - access("S_ORDER_ITEM"."PROD_ID"="S_PROD_INT"."ROW_ID")
      66 - access("S_ORDER_ITEM"."ORDER_ID"="S_ORDER_X"."PAR_ROW_ID")
      68 - access("S_ORDER_ITEM"."CREATED_BY"="CRTD"."ROW_ID")
      70 - access("CRTD"."PR_HELD_POSTN_ID"="POSCRTDORG"."ROW_ID")
      72 - access("S_ORDER"."APPR_BY_EMP_ID"="APPRBYPOS"."ROW_ID")
      74 - access("S_ORDER"."ACCNT_ID"="ACCNT"."ROW_ID")
      76 - access("POSOWNERORG"."OU_ID"="OWNORG1"."ROW_ID")
      78 - access("OWNORG1"."PAR_BU_ID"="OWNORG"."ROW_ID")
      80 - access("S_ORDER_ITEM"."ROOT_ORDER_ITEM_ID"="ROOTOITEM"."ROW_ID")
      82 - access("S_ORDER_ITEM"."PAR_ORDER_ITEM_ID"="PAROITEM"."ROW_ID")
      84 - access("PAROITEM"."PROD_ID"="PARPROD"."ROW_ID")
      86 - access("ROOTOITEM"."PROD_ID"="ROOTPROD"."ROW_ID")
      88 - access("S_ORDER"."BU_ID"="VISORG1"."ROW_ID")
      90 - access("VISORG1"."PAR_BU_ID"="VISORG"."ROW_ID")
    Note
       - Warning: basic plan statistics not available. These are only collected when:
           * hint 'gather_plan_statistics' is used for the statement or
           * parameter 'statistics_level' is set to 'ALL', at session or system level
    154 rows selected.

  • Same Execution plan But different consistent read values

    hi,
    my db version 10.2.0.3
    os version solaris 10.
    i have a query which has same execution plan but with diffrenet consistent read values when optimizer_mode is RULE and CHOOSE.
    what may be the cause of that?
    thanks,
    Here is the query:
    SELECT *
    FROM XXX
    WHERE id = 4567
    RULE based:
    | Id | Operation | Name |
    | 0 | SELECT STATEMENT | |
    | 1 | TABLE ACCESS BY INDEX ROWID| XXX|
    | 2 | INDEX RANGE SCAN | XXX_INX_ID |
    Note
    - 'PLAN_TABLE' is old version
    - rule based optimizer used (consider using cbo)
    Statistics
    1 recursive calls
    0 db block gets
    5 consistent gets
    0 physical reads
    0 redo size
    1973 bytes sent via SQL*Net to client
    492 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed
    COST Based:
    | Id | Operation | Name | Rows | Bytes | Co
    st (%CPU)|
    | 0 | SELECT STATEMENT | | 1 | 107 |
    4 (0)|
    | 1 | TABLE ACCESS BY INDEX ROWID| APPOINTMENT | 1 | 107 |
    4 (0)|
    | 2 | INDEX RANGE SCAN | APPO_INX_MASTERAPPOID | 1 | |
    3 (0)|
    Note
    - 'PLAN_TABLE' is old version
    Statistics
    0 recursive calls
    0 db block gets
    48120 consistent gets
    0 physical reads
    0 redo size
    1973 bytes sent via SQL*Net to client
    492 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed

    873792 wrote:
    hi,
    my db version 10.2.0.3
    RULE based:
    The Rule Based Optimizer is NOT supported for V10+

  • Query plan shows  Cost: 0 Bytes: 851 Cardinality: 1

    Hi,
    Customer running 10.2.0.4 on linux 64 bit.
    Explain plan shows:
    SELECT STATEMENT ALL_ROWS Cost: 0 Bytes: 851 Cardinality: 1
    8 FILTER
    7 SORT ORDER BY Bytes: 851 Cardinality: 1
    6 HASH JOIN OUTER Cost: 2,873,137 Bytes: 5,047,622,251 Cardinality: 5,931,401
    4 HASH JOIN Cost: 1,696,501 Bytes: 4,567,178,770 Cardinality: 5,931,401
    1 TABLE ACCESS FULL TABLE LIVE.INSTRUMENT Cost: 212,073 Bytes: 679,589,280 Cardinality: 1,595,280
    3 PARTITION RANGE ALL Cost: 764,856 Bytes: 2,040,401,944 Cardinality: 5,931,401 Partition #: 6 Partitions accessed #1 - #27
    2 TABLE ACCESS FULL TABLE LIVE.DEALTRANS Cost: 764,856 Bytes: 2,040,401,944 Cardinality: 5,931,401 Partition #: 6 Partitions accessed #1 - #27
    5 TABLE ACCESS FULL TABLE LIVE.SMDBINSTRUMENT Cost: 1,169 Bytes: 4,958,172 Cardinality: 61,212
    I understand that explain plans can be unreliable but:
    1) why does cost show as 0? Its obviously much higher. Is there just not enough room?
    2) why a cardinality of 1?
    Thanks in advance,
    Steve

    Hi Someoneelse,
    Not sure, i have a query into the client.
    Thanks for responding.
    Steve

  • Tkprof not showing the Execution Plan for Statement

    Hi all
    using oracle 9i release 2
    I have issued the following statements
    alter session set sql_trace
    alter session set events '10046 trace name context forever, level 12';
    --then executed a pl-sql procedure
    after reading the traceout outfile it shows the Execution plan for statements directly wirtten under begin and end block and doesnot displays the plan for the statements written like this
    procedure a is
    cursor b is
    select ename,dname from dept a,emp b
    where a.deptno=b.deptno;
    begin
    for x in a loop --plan not found but stats are written
    select ename into v_ename from emp where empno=300; --does show the plan+stats
    end;
    what I am missing to get the actual plan in trace output file
    thanks in advance

    You have to exit sql*plus after running the procedure, example tkprof is below:
    declare
    cursor c is
    select ename, dname
    from emp, dept
    where emp.deptno = dept.deptno;
    begin
    for v_x in c
    loop
    dbms_output.put_line(v_x.ename || ' ' ||v_x.dname);
    end loop;
    end;
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.06 0 0 0 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.06 0 0 0 1
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSE
    Parsing user id: 68
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    SQL*Net message to client 1 0.00 0.00
    SQL*Net message from client 1 0.00 0.00
    SELECT ENAME, DNAME
    FROM
    EMP, DEPT WHERE EMP.DEPTNO = DEPT.DEPTNO
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 15 0.01 0.00 0 44 0 14
    total 17 0.01 0.00 0 44 0 14
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSE
    Parsing user id: 68 (recursive depth: 1)
    Rows Row Source Operation
    14 NESTED LOOPS
    14 TABLE ACCESS FULL EMP
    14 TABLE ACCESS BY INDEX ROWID DEPT
    14 INDEX UNIQUE SCAN DEPT_PK (object id 40350)
    Best Regards
    Krystian Zieja / mob

  • How to fix different execution plan for different bind variable values?

    Please find the below query. The execution plan is fine. The problem That I am facing is in some cases for different bind variable values execution plan gets changed and degrades performance. I have used 6 tables here and all of the tables have histogram on all columns. Database version is Oracle 10g and the value of method_opt is 'For all columns size auto'
    SELECT l.LineNumber INTO :b0
    FROM Lines l ,LineVersions lv ,Statuses s
    WHERE (((((((((((l.serviceContractId=:b1 AND l.LineId<>:b2)
    AND lv.LineId=l.LineId) AND lv.StatusId=s.StatusId)
    AND s.Code IN ('EPR','ERE','EEP','ERP','PRP','PRD','AAC'))
    AND NOT (s.CODE='AAC' AND lv.activeto<TO_DATE(:b3,:b4)))
    AND lv.EquipmentDetailId=:b5) AND lv.RouteDetailId=:b6)
    AND (lv.cargoDetailId=:b7 OR lv.cargoDetailId IN
    (SELECT i_cd1.cargoDetailId
    FROM CargoDetails i_cd1 ,CargoDetails i_cd2 ,CargoCommodities i_cc1 ,
    CargoCommodities i_cc2 WHERE
    ((((((i_cd2.cargoDetailId=:b7 AND i_cd1.cargoDetailId<>:b7)
    AND i_cd1.ServiceContractId=:b1) AND i_cd1.cargoTypeId=i_cd2.cargoTypeId)
    AND i_cc1.cargoDetailId=i_cd1.cargoDetailId)
    AND i_cc2.cargoDetailId=i_cd2.cargoDetailId)
    AND i_cc1.commodityId=i_cc2.commodityId))))
    AND ((lv.customerGroupId IS NULL AND :b11=0) OR lv.customerGroupId IN
    (SELECT cgm1.customerGroupId
    FROM CustomerGroupMembers cgm1 ,CustomerGroupMembers cgm2 ,CustomerGroups cg1
    WHERE (((cgm2.customerGroupId=:b11 AND cgm1.customerNoId=cgm2.customerNoId)
    AND cg1.CustomerGroupId=cgm1.CustomerGroupId)
    AND cg1.ServiceContractId=l.ServiceContractId)))) AND lv.linetype='C')
    AND ROWNUM=1)
    After searching in several blogs I have found the below solutions. Please see it and let me know it is correct or not
    Solution 1:-Get rid of histogram that does nothing but messes up execution plan by giving below command
    exec dbms_stats.gather_table_stats(owner, tablename, method_opt => 'for all columns size 1', cascade => true);
    As 6 tables are there I need to execute above command 6 times.
    Solution 2:- Use stored outline. Not sure how to get the best execution plan.
    I am looking for answers ASAP. Thanks in advance

    As you have probably read, bind variables and histograms do not mix well.
    Histograms suggest that you have skew in your data such that different values should get different plans
    Bind variables exist so that SQL with different supplied values can be shared.
    Mix the two together and at parse time with bind variable peeking you get plans for specific values shared for all values.
    The solutions you have mentioned are the common approaches, together with a third - use literals not binds if you've got data skew (i.e. your histograms are justified) and don't want shared SQL.
    I would have thought that getting rid of some of these histograms may be the right approach if you're none of your application SQL is using literals to benefit from them.
    Can you confirm your version of Oracle.
    Further reading:
    http://jonathanlewis.wordpress.com/2009/05/06/philosophy-1/
    http://structureddata.org/2008/03/26/choosing-an-optimal-stats-gathering-strategy/
    http://richardfoote.wordpress.com/2008/01/04/dbms_stats-method_opt-default-behaviour-changed-in-10g-be-careful/

Maybe you are looking for

  • Address Book combines cards that should be kept separate

    A few weeks ago I encountered a problem with Address Book where "Look for Duplicates" was merging non-duplicate entries. The affected entries are all cards with no name, only an e-mail address. What would happen is that every time "Look for Duplicate

  • Poor performance in select on CLOB (and actually anything not kept inrow)

    Hello, Creating a table with RAW(16) as primary key (GUID), CLOB and inserting some hundred-thousands up to 10 million records. Selects on this table are a randomly chosen (by sample query) 500-1000 ids from the table, then fetching the CLOB data, ta

  • Have my songs in my ipod, but can't play them from iTunes

    recently imorted songs from CDs are in my ipod and, of course, listed in the library of iTunes, but when I try to play them usin iTunes, I am required "locate it because the original file cannot be found", although I can play those songs from my iPod

  • Menus popping and keeping me from clicking/Safari wants login all the time

    I bought this iMac in Jan. I suffered through viruses and hacking with four XP's. I bought a Mac so as to never be in that **** again. Well I've been reading sysprofile logs and watching the records of apps I've never used. Today I saw fax verificati

  • Removing separator causes callouts to disappear

    Hi. I'm using Visio 2010 to modify a cross-functional flowchart that I created in Visio 2003. I added a new sheet, and created a process diagram with 11 steps, each step having a call-out with a fair bit of text included. I added a separator to repre