Current running SQL stms execution plan?

Hi,
Is it any ways to findout the current running SQL stms execution plan?
without using Explain plan & autotrace.
Thanks in advance,
Thomas.

I'm using this code. You just have to give the Session Identifier (&SID ):SELECT     '| Operation                                     |  Objet   | Lignes| Bytes|  Cout  | Pstart| Pstop |' as "Plan Table"  FROM DUAL
UNION ALL
SELECT     '----------------------------------------------------------------------------------------------------' FROM DUAL
UNION ALL
SELECT * FROM
         (SELECT /*+ NO_MERGE */
          RPAD('| '||
               SUBSTR(
                    LPAD(' ',1*(LEVEL-1)) || OPERATION || DECODE(OPTIONS, NULL,'',' '||OPTIONS), 1, 47
                     ), 48, ' '
          )||'|'||
          RPAD(
               SUBSTR(OBJECT_NAME||' ',1, 9), 10, ' '
          )||'|'||
          LPAD(
               DECODE(CARDINALITY,
                    NULL,'  ',
                    DECODE(SIGN(CARDINALITY-1000),
                          -1, CARDINALITY||' ',
                         DECODE(SIGN(CARDINALITY-1000000),
                               -1,TRUNC(CARDINALITY/1000)||'K',
                              DECODE(SIGN(CARDINALITY-1000000000),
                                   -1,TRUNC(CARDINALITY/1000000)||'M',
                                   TRUNC(CARDINALITY/1000000000)||'G')
                    ), 7, ' '
          )||'|'||
          LPAD(
               DECODE(BYTES,
                    NULL,' ',
                    DECODE(SIGN(BYTES-1024),
                         -1, BYTES||' ',
                         DECODE(SIGN(BYTES-1048576),
                              -1, TRUNC(BYTES/1024)||'K',
                              DECODE(SIGN(BYTES-1073741824),
                                   -1,TRUNC(BYTES/1048576)||'M',
                                   TRUNC(BYTES/1073741824)||'G')
                    ), 6, ' '
          )||'|'||
          LPAD(
               DECODE(COST,
                    NULL,' ',
                    DECODE(SIGN(COST-10000000),
                         -1, COST||' ',
                         DECODE(SIGN(COST-1000000000),
                              -1, TRUNC(COST/1000000)||'M',
                              TRUNC(COST/1000000000)||'G')
                    ), 8, ' '
          )||'|'||
          LPAD(
               DECODE(PARTITION_START,
                    'ROW LOCATION', 'ROWID',
                    DECODE(PARTITION_START,
                         'KEY', 'KEY',
                         DECODE(PARTITION_START,
                              'KEY(INLIST)', 'KEY(I)',
                              DECODE(SUBSTR(PARTITION_START, 1, 6),
                                   'NUMBER', SUBSTR(SUBSTR(PARTITION_START, 8, 10), 1,LENGTH(SUBSTR(PARTITION_START, 8, 10))-1),
                                   DECODE(PARTITION_START,
                                        NULL,' ',
                                        PARTITION_START)
                    )||' ', 7, ' '
          )||'|'||
          LPAD(
               DECODE(PARTITION_STOP,
                    'ROW LOCATION', 'ROW L',
                    DECODE(PARTITION_STOP,
                         'KEY', 'KEY',
                         DECODE(PARTITION_STOP,
                              'KEY(INLIST)', 'KEY(I)',
                              DECODE(SUBSTR(PARTITION_STOP, 1, 6),
                              'NUMBER', SUBSTR(SUBSTR(PARTITION_STOP, 8, 10), 1,LENGTH(SUBSTR(PARTITION_STOP, 8, 10))-1),
                              DECODE(PARTITION_STOP,
                                   NULL,' ',
                                   PARTITION_STOP)
               )||' ', 7, ' '
          )||'|' AS "Explain plan"
     FROM V$SQL_PLAN
     START WITH (ADDRESS = (SELECT SQL_ADDRESS FROM V$SESSION WHERE SID=&SID)
               AND HASH_VALUE = (SELECT SQL_HASH_VALUE FROM V$SESSION WHERE SID=&SID)
               AND CHILD_NUMBER = 0
               AND ID=0 )
     CONNECT BY PRIOR ID = PARENT_ID
                    AND PRIOR ADDRESS = ADDRESS
                    AND PRIOR HASH_VALUE = HASH_VALUE
                    AND PRIOR CHILD_NUMBER = CHILD_NUMBER
     ORDER BY ID, POSITION)
UNION ALL
SELECT '----------------------------------------------------------------------------------------------------' FROM DUAL;Regards,
Yoann.

Similar Messages

  • Current running sql statement in procedure?

    How to identify the current running sql statement in procedure or package? From the v$sqlarea, i can see the only procedure name with parameters, but not current execution statement? is there any dba view to know the current execution statement in 9i & 10g ?

    hi
    u can also use dba_source view to know which sql statement issued by which user

  • Explain SQL Query execution plan: Oracle

    Dear Masters,
    Kindly help me to understand execution plan for an SQL statement. I have following SQL execution plan for a query in system. How should I interpret it. I thank You in advace for your guidance.
    SELECT STATEMENT ( Estimated Costs = 1.372.413 , Estimated #Rows = 0 )
           5 NESTED LOOPS
             ( Estim. Costs = 1.372.413 , Estim. #Rows = 3.125 )
             Estim. CPU-Costs = 55.798.978.498 Estim. IO-Costs = 1.366.482
               2 TABLE ACCESS BY INDEX ROWID MSEG
                 ( Estim. Costs = 1.326.343 , Estim. #Rows = 76.717 )
                 Estim. CPU-Costs = 55.429.596.575 Estim. IO-Costs = 1.320.451
                 Filter Predicates
                   1 INDEX RANGE SCAN MSEG~R
                     ( Estim. Costs = 89.322 , Estim. #Rows = 60.069.500 )
                     Search Columns: 1
                     Estim. CPU-Costs = 2.946.739.229 Estim. IO-Costs = 89.009
                     Access Predicates
               4 TABLE ACCESS BY INDEX ROWID MKPF
                 ( Estim. Costs = 1 , Estim. #Rows = 1 )
                 Estim. CPU-Costs = 4.815 Estim. IO-Costs = 1
                 Filter Predicates
                   3 INDEX UNIQUE SCAN MKPF~0
                     Search Columns: 3
                     Estim. CPU-Costs = 3.229 Estim. IO-Costs = 0
                     Access Predicates

    Hi Panjak,
    Yeahh, there's a huge unperformatic SQL statment, what I can see from this acces plan is:
    1 DBO decided to start the query on index R on MSEG, using only part of the index (only one column) with no good uniqueness, accessing disk IO-Costs for this (60mi records), and expecting many interactions (loops) in memory to filter, see CPU-Costs.
    So with the parameters you gave to SQL, they start in a very bad way.
    2 After that program will access the MSEG commanded by what was found on First step, also with a huge loading from DB and filtering (another where criteria on MSEG fields, not found on index R), reducing the result set to 76.717 rows.
    3/4 With this, program goes direct to primary key index on MKPF with direct access (optimized access) and follow to access database table MKPF.
    5 At last will "loop" the result sets from MSEG and MKPF, mixing the tuplas generating the final result set.
    Do you want to share your SQL, the parameters you are sending and code which generate it with us?
    Regards, Fernando Da Ró

  • How to Get Current running Sqltext in 10g

    I'm using 10g and i'm using following query to get current running sql.
    SELECT A.SID,B.HASH_VALUE, OSUSER, USERNAME, SQL_TEXT
    FROM V$SESSION A, V$SQLTEXT B
    WHERE B.HASH_VALUE = A.SQL_HASH_VALUE
    AND USERNAME LIKE upper('%UOBA%')
    ORDER BY B.HASH_VALUE, B.PIECE;
    This does work for all user-triggered sqls,procedures etc.
    But when i submit a Oracle Job the above qurey doesn't give any output.So,could please anybody help me in this regard.
    Thanks in Advance.

    I have found a way to retrieve some SQL statements for a session started by DBMS_JOB using v$open_cursor: however in my test, you can only retrieve some SQL statements in v$sql_area but not all of them: query takes some time to execute and some committed statements are not (or nor more) in v$open_cursor:
    select s.sid, s.serial#, s.username, sq.sql_text
    from v$open_cursor oc, v$sqlarea sq, v$session s
    where s.username = 'TEST'
    and oc.saddr = s.saddr
    -- only for session started by DBMS_JOB
    and s.sql_hash_value = 0
    and oc.address = sq.address
    and oc.hash_value = sq.hash_value;Message was edited by:
    Pierre Forstmann

  • Execution Plan Run is not visible in Current Run tab

    Hi,
    I have created the EP and I have build the EP successfully. After that I am clicking on the Run tab. It says the task has been submitted succesfully to the DAC server.
    But, when I am seeing the status in the Current Run tab and also in the Informatica Monitor, My EP run was not visible. There is no record created for this run in the Current Run tab.
    Anyone has faced this kind of issue earlier. Please advice me how to resolve this issue.
    Regards,
    Saleem

    Saleem its strange. I did not came across this any time. Is it happening for all the Execution Plan's. By restarting the DAC server is it working. Sometimes we may face these kind of problems with DAC and with restart most of them will be resolved. If it gives problem always then there is somthg wrong i believe.

  • 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

  • SQL query with Bind variable with slower execution plan

    I have a 'normal' sql select-insert statement (not using bind variable) and it yields the following execution plan:-
    Execution Plan
    0 INSERT STATEMENT Optimizer=CHOOSE (Cost=7 Card=1 Bytes=148)
    1 0 HASH JOIN (Cost=7 Card=1 Bytes=148)
    2 1 TABLE ACCESS (BY INDEX ROWID) OF 'TABLEA' (Cost=4 Card=1 Bytes=100)
    3 2 INDEX (RANGE SCAN) OF 'TABLEA_IDX_2' (NON-UNIQUE) (Cost=3 Card=1)
    4 1 INDEX (FAST FULL SCAN) OF 'TABLEB_IDX_003' (NON-UNIQUE)
    (Cost=2 Card=135 Bytes=6480)
    Statistics
    0 recursive calls
    18 db block gets
    15558 consistent gets
    47 physical reads
    9896 redo size
    423 bytes sent via SQL*Net to client
    1095 bytes received via SQL*Net from client
    3 SQL*Net roundtrips to/from client
    1 sorts (memory)
    0 sorts (disk)
    55 rows processed
    I have the same query but instead running using bind variable (I test it with both oracle form and SQL*plus), it takes considerably longer with a different execution plan:-
    Execution Plan
    0 INSERT STATEMENT Optimizer=CHOOSE (Cost=407 Card=1 Bytes=148)
    1 0 TABLE ACCESS (BY INDEX ROWID) OF 'TABLEA' (Cost=3 Card=1 Bytes=100)
    2 1 NESTED LOOPS (Cost=407 Card=1 Bytes=148)
    3 2 INDEX (FAST FULL SCAN) OF TABLEB_IDX_003' (NON-UNIQUE) (Cost=2 Card=135 Bytes=6480)
    4 2 INDEX (RANGE SCAN) OF 'TABLEA_IDX_2' (NON-UNIQUE) (Cost=2 Card=1)
    Statistics
    0 recursive calls
    12 db block gets
    3003199 consistent gets
    54 physical reads
    9448 redo size
    423 bytes sent via SQL*Net to client
    1258 bytes received via SQL*Net from client
    3 SQL*Net roundtrips to/from client
    1 sorts (memory)
    0 sorts (disk)
    55 rows processed
    TABLEA has around 3million record while TABLEB has 300 records. Is there anyway I can improve the speed of the sql query with bind variable? I have DBA Access to the database
    Regards
    Ivan

    Many thanks for your reply.
    I have run the statistic already for the both tableA and tableB as well all the indexes associated with both table (using dbms_stats, I am on 9i db ) but not the indexed columns.
    for table I use:-
    begin
    dbms_stats.gather_table_stats(ownname=> 'IVAN', tabname=> 'TABLEA', partname=> NULL);
    end;
    for index I use:-
    begin
    dbms_stats.gather_index_stats(ownname=> 'IVAN', indname=> 'TABLEB_IDX_003', partname=> NULL);
    end;
    Is it possible to show me a sample of how to collect statisc for INDEX columns stats?
    regards
    Ivan

  • Error running Execution plan for 'Project Analytics in PeopleSoft 9.0 '

    Hi ,
    I am running execution plan for Projects Peoplesoft 9.0 (BI Apps version 7.9.6)
    The issue is the file type data source went thru the database (data warehouse)
    the tasks that were completed SUCCESS were from the File source only from (SrcFiles).
    error as below.
    ANOMALY INFO::: Error while executing : INFORMATICA TASK:SDE_PSFT_90_Adaptor:SDE_PSFT_ExchangeRateDimension_Full:(Source : FULL Target : FULL)
    MESSAGE:::
    Irrecoverable Error
    Error while contacting Informatica server for getting workflow status for SDE_PSFT_ExchangeRateDimension_Full
    Error Code = 36331:Unknown reason for error code 36331
    Pmcmd output :
    one more info,if this helps
    values defined in the Parameters of the execution plan.
    1     DATASOURCE     ,DBConnection_OLAP     is 'DataWarehouse'
    1 DATASOURCE     ,DBConnection_OLTP     is 'PSFT_9_0_FINSCM'
    1     DATASOURCE     ,FlatFileConnection     is 'PSFT_9_0_FlatFile'
    The 'Relational Connection' In Informatica Repository Manager is currently pointing to only 'PSFT_9_0_FINSCM'
    & 'DataWarehouse'
    Please let me know what is wrong?
    Regards,
    JK

    Hi ,
    I created the PSFT connection in 'Applicaiton connection' of Repository manager.
    Also the Informatica server's tnsnames.ora should have entry for the source( PSFT database) and that of the datawarehouse.
    thanks,
    JK

  • Plan Table for running SQL..

    Hi There,
    How can I go through the explain plan for a SQL query running by a particular user?
    For example:
    User A is running: select * from table x , table y where x.id = y.id;
    User B login and can do explain plan on the query running above to get the total cost..etc.
    Thanks

    user5545873 wrote:
    More specifically, I want to know how to connect the session id SID and the SQL_ID (we can get both from v$session_longops) with the v$sql_plan.. or plan_table.
    THanks
    Edited by: user5545873 on Oct 2, 2009 12:10 PMhoek's idea of using Oracle trace and tkprof generating execution plans should work.
    Aside from that, you might be able to trace through the V$ tables to get the info you are looking for. I personally find the V$ tables to be a bit erratic regarding what is there and what is not so you may or may not find everything you are looking for.
    Are you asking for join columns?
    Table                     Column          Datatype     Join Column
    v$session_longops     sql_id             varchar2(13)    v$sql.sql_id
                            sql_address     raw(8)             v$sql.address
                            sql_hash_value     number             v$sql.hash_value
    v$sql_plan             address             raw(8)          v$sql.address
                         child_address     raw(8)             v$sql.child_address
                         child_number     number             v$sql.child_number
                         hash_value     number             v$sql.hash_value

  • SQL Query C# Using Execution Plan Cache Without SP

    I have a situation where i am executing an SQL query thru c# code. I cannot use a stored procedure because the database is hosted by another company and i'm not allowed to create any new procedures. If i run my query on the sql mgmt studio the first time
    is approx 3 secs then every query after that is instant. My query is looking for date ranges and accounts. So if i loop thru accounts each one takes approx 3 secs in my code. If i close the program and run it again the accounts that originally took 3 secs
    now are instant in my code. So my conclusion was that it is using an execution plan that is cached. I cannot find how to make the execution plan run on non-stored procedure code. I have created a sqlcommand object with my queary and 3 params. I loop thru each
    one keeping the same command object and only changing the 3 params. It seems that each version with the different params are getting cached in the execution plans so they are now fast for that particular query. My question is how can i get sql to not do this
    by either loading the execution plan or by making sql think that my query is the same execution plan as the previous? I have found multiple questions on this that pertain to stored procedures but nothing i can find with direct text query code.
    Bob;
     

    I did the query running different accounts and different dates with instant results AFTER the very first query that took the expected 3 secs. I changed all 3 fields that i've got code for parameters for and it still remains instant in the mgmt studio but
    still remains slow in my code. I'm providing a sample of the base query i'm using.
    select i.Field1, i.Field2, 
    d.Field3  'Field3',
    ip.Field4 'Field4', 
    k.Field5 'Field5'
    from SampleDataTable1 i, 
    SampleDataTable2 k, 
    SampleDataTable3 ip,
    SampleDataTable4 d 
    where i.Field1 = k.Field1 and i.Field4 = ip.Field4 
    i.FieldDate between '<fromdate>' and  '<thrudate>' 
    and k.Field6 = <Account>
    Obviously the field names have been altered because the database is not mine but other then the actual names it is accurate. It works it just takes too long in code as described in the initial post. 
    My params setup during the init for the connection and the command.
    sqlCmd.Parameters.Add("@FromDate", SqlDbType.DateTime);
            sqlCmd.Parameters.Add("@ThruDate", SqlDbType.DateTime);
            sqlCmd.Parameters.Add("@Account", SqlDbType.Decimal);
    Each loop thru the code changes these 3 fields.
        sqlCommand.Parameters["@FromDate"].Value = dtFrom;
        sqlCommand.Parameters["@ThruDate"].Value = dtThru;
        sqlCommand.Parameters["@Account"].Value = sAccountNumber;
    SqlDataReader reader = sqlCommand.ExecuteReader();
            while (reader.Read())
                reader.Close();
    One thing i have noticed is that the account field is decimal(20,0) and by default the init i'm using defaults to decimal(10) so i'm going to change the init to 
       sqlCmd.Parameters["@Account"].Precision = 20;
       sqlCmd.Parameters["@Account"].Scale = 0;
    I don't believe this would change anything but at this point i'm ready to try anything to get the query running faster. 
    Bob;

  • SQL - Need Tunning tips for group by [LATEST EXECUTION PLAN IS ATTACHED]

    Hi All Experts,
    My SQL is taking so much time to execute. If I remove the group by clause it is running within a minute but as soon as I am putting sum() and group by clause it is taking ages to run the sql. Number of records are wihout group by clause is almost 85 Lachs (8 Million). Is hugh dataset is killing this? Is there any way to tune the data on Group by clause. Below is my Select hints and execution plan. Please help.
    SQL
    SELECT /*+ CURSOR_SHARING_EXACT gather_plan_statistics all_rows no_index(atm) no_expand
    leading (src cpty atm)
    index(bk WBKS_PK) index(src WSRC_UK1) index(acct WACC_UK1)
    use_nl(acct src ccy prd cpty grate sb) */
    EXECUTION PLAN
    PLAN_TABLE_OUTPUT
    SQL_ID 1y5pdhnb9tks5, child number 0
    SELECT /*+ CURSOR_SHARING_EXACT gather_plan_statistics all_rows no_index(atm) no_expand leading (src cpty atm) index(bk
    WBKS_PK) index(src WSRC_UK1) index(acct WACC_UK1) use_nl(acct src ccy prd cpty grate sb) */ atm.business_date,
    atm.entity legal_entity, TO_NUMBER (atm.set_of_books) setofbooksid, atm.source_system_id sourcesystemid,
    ccy.ccy_currency_code ccy_currency_code, acct.acct_account_code, 0 gl_bal, SUM (atm.amount)
    atm_bal, 0 gbp_equ, ROUND (SUM (atm.amount * grate.rate), 4) AS
    atm_equ, prd.prd_product_code, glacct.parentreportingclassification parentreportingclassification,
    cpty_counterparty_code FROM wh_sources_d src,
    Plan hash value: 4193892926
    | Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers | Reads | OMem | 1Mem | Used-Mem |
    | 1 | HASH GROUP BY | | 1 | 1 | 471 |00:31:38.26 | 904M| 76703 | 649K| 649K| 1149K (0)|
    | 2 | NESTED LOOPS | | 1 | 1 | 8362K|00:47:06.06 | 904M| 76703 | | | |
    | 3 | NESTED LOOPS | | 1 | 1 | 10M|00:28:48.84 | 870M| 17085 | | | |
    | 4 | NESTED LOOPS | | 1 | 1 | 10M|00:27:56.05 | 849M| 17084 | | | |
    | 5 | NESTED LOOPS | | 1 | 8 | 18M|00:14:10.93 | 246M| 17084 | | | |
    | 6 | NESTED LOOPS | | 1 | 22 | 18M|00:11:58.96 | 189M| 17084 | | | |
    | 7 | NESTED LOOPS | | 1 | 22 | 18M|00:10:24.69 | 152M| 17084 | | | |
    | 8 | NESTED LOOPS | | 1 | 1337 | 18M|00:06:00.74 | 95M| 17083 | | | |
    | 9 | NESTED LOOPS | | 1 | 1337 | 18M|00:02:52.20 | 38M| 17073 | | | |
    |* 10 | HASH JOIN | | 1 | 185K| 18M|00:03:46.38 | 1177K| 17073 | 939K| 939K| 575K (0)|
    | 11 | NESTED LOOPS | | 1 | 3 | 3 |00:00:00.01 | 11 | 0 | | | |
    | 12 | TABLE ACCESS BY INDEX ROWID | WH_SOURCES_D | 1 | 3 | 3 |00:00:00.01 | 3 | 0 | | | |
    |* 13 | INDEX RANGE SCAN | WSRC_UK1 | 1 | 3 | 3 |00:00:00.01 | 2 | 0 | | | |
    |* 14 | TABLE ACCESS BY INDEX ROWID | WH_COUNTERPARTIES_D | 3 | 1 | 3 |00:00:00.01 | 8 | 0 | | | |
    |* 15 | INDEX UNIQUE SCAN | WCPY_U1 | 3 | 1 | 3 |00:00:00.01 | 5 | 0 | | | |
    | 16 | PARTITION RANGE SINGLE | | 1 | 91M| 91M|00:00:00.08 | 1177K| 17073 | | | |
    |* 17 | TABLE ACCESS FULL | WH_ATM_BALANCES_F | 1 | 91M| 91M|00:00:00.04 | 1177K| 17073 | | | |
    |* 18 | TABLE ACCESS BY INDEX ROWID | WH_PRODUCTS_D | 18M| 1 | 18M|00:01:43.88 | 37M| 0 | | | |
    |* 19 | INDEX UNIQUE SCAN | WPRD_UK1 | 18M| 1 | 18M|00:00:52.13 | 18M| 0 | | | |
    |* 20 | TABLE ACCESS BY GLOBAL INDEX ROWID| WH_BOOKS_D | 18M| 1 | 18M|00:02:53.01 | 56M| 10 | | | |
    |* 21 | INDEX UNIQUE SCAN | WBKS_PK | 18M| 1 | 18M|00:01:08.32 | 37M| 10 | | | |
    |* 22 | TABLE ACCESS BY INDEX ROWID | T_SDM_SOURCEBOOK | 18M| 1 | 18M|00:03:43.66 | 56M| 1 | | | |
    |* 23 | INDEX RANGE SCAN | TSSB_N5 | 18M| 2 | 23M|00:01:11.50 | 18M| 1 | | | |
    |* 24 | TABLE ACCESS BY INDEX ROWID | WH_CURRENCIES_D | 18M| 1 | 18M|00:01:51.21 | 37M| 0 | | | |
    |* 25 | INDEX UNIQUE SCAN | WCUR_PK | 18M| 1 | 18M|00:00:49.26 | 18M| 0 | | | |
    | 26 | TABLE ACCESS BY INDEX ROWID | WH_GL_DAILY_RATES_F | 18M| 1 | 18M|00:01:55.84 | 56M| 0 | | | |
    |* 27 | INDEX UNIQUE SCAN | WGDR_U2 | 18M| 1 | 18M|00:01:10.89 | 37M| 0 | | | |
    | 28 | INLIST ITERATOR | | 18M| | 10M|00:22:40.03 | 603M| 0 | | | |
    |* 29 | TABLE ACCESS BY INDEX ROWID | WH_ACCOUNTS_D | 150M| 1 | 10M|00:20:19.05 | 603M| 0 | | | |
    |* 30 | INDEX UNIQUE SCAN | WACC_UK1 | 150M| 5 | 150M|00:10:16.81 | 452M| 0 | | | |
    | 31 | TABLE ACCESS BY INDEX ROWID | T_SDM_GLACCOUNT | 10M| 1 | 10M|00:00:50.64 | 21M| 1 | | | |
    |* 32 | INDEX UNIQUE SCAN | TSG_PK | 10M| 1 | 10M|00:00:26.17 | 10M| 0 | | | |
    |* 33 | TABLE ACCESS BY INDEX ROWID | WH_COMMON_TRADES_D | 10M| 1 | 8362K|00:18:52.56 | 33M| 59618 | | | |
    |* 34 | INDEX UNIQUE SCAN | WCTD_PK | 10M| 1 | 10M|00:03:06.56 | 21M| 5391 | | | |
    Edited by: user535789 on Mar 17, 2011 9:45 PM
    Edited by: user535789 on Mar 20, 2011 8:33 PM

    user535789 wrote:
    Hi All Experts,
    My SQL is taking so much time to execute. If I remove the group by clause it is running within a minute but as soon as I am putting sum() and group by clause it is taking ages to run the sql. Number of records are wihout group by clause is almost 85 Lachs (*8 Million*). Is hugh dataset is killing this? Is there any way to tune the data on Group by clause. Below is my Select hints and execution plan. Please help.I doubt that your 8 million records are shown within minutes.
    I guess that the output started after a few minutes. But this does not mean that the full resultset is there. It just means the database is able to return to you the first few records after a few minutes.
    Once you add a group by (or an order by) then this requires that all the rows need to be fetched before the database can start showing them to you.
    But maybe you could run some tests to compare the full output. I find it useful to SET AUTOTRACE TRACEONLY for such a purpose (in sql plus). This avoids to print the selection on the screen.

  • Failed while running Execution Plan for Financial Analytics

    Hi gurus,
    I got this error when running SDE_ORA_PartyOrganizationDimension_Customer_Full
    *****START LOAD SESSION*****
    Load Start Time: Thu May 10 10:43:51 2012
    Target tables:
    W_PARTY_ORG_DS
    2012-05-10 10:43:51 : INFO : (16808 | READER_1_1_1) : (IS | BIA_IS) : node01_bidev.localhost : RR_4029 : SQ Instance [mplt_BC_ORA_PartyOrganizationDimension_Customer.SQ_BCI_CUSTOMERS] User specified SQL Query [SELECT  DISTINCT  HZ_PARTIES.PARTY_ID,
      HZ_PARTIES.CREATED_BY,
      HZ_PARTIES.LAST_UPDATED_BY,
      HZ_PARTIES.CREATION_DATE,
      HZ_PARTIES.LAST_UPDATE_DATE,
      HZ_PARTIES.PARTY_NUMBER,
      HZ_PARTIES.PARTY_NAME,
      HZ_PARTIES.ADDRESS1,
      HZ_PARTIES.ADDRESS2,
      HZ_PARTIES.ADDRESS3,
      HZ_PARTIES.ADDRESS4,
      HZ_PARTIES.CITY,
      HZ_PARTIES.STATE,
      HZ_PARTIES.POSTAL_CODE,
      HZ_PARTIES.PROVINCE,
      HZ_PARTIES.COUNTRY,
      HZ_ORGANIZATION_PROFILES.DUNS_NUMBER_C,
        (CASE
       WHEN DOM_DUNS.RELATIONSHIP_CODE = 'DOMESTIC_ULTIMATE_OF' THEN DOM_DUNS.DOM_DUNS_NUMBER
      END) DOM_DUNS_NUMBER,
      (CASE
       WHEN DOM_DUNS.RELATIONSHIP_CODE = 'GLOBAL_ULTIMATE_OF' THEN DOM_DUNS.DOM_DUNS_NUMBER
       END) GLBL_DUNS_NUMBER,
      HZ_PARTIES.EMPLOYEES_TOTAL,
      HZ_PARTIES.YEAR_ESTABLISHED,
      HZ_PARTIES.CURR_FY_POTENTIAL_REVENUE,
      HZ_PARTIES.HQ_BRANCH_IND,
      HZ_PARTIES.PERSON_LAST_NAME,
      HZ_PARTIES.KNOWN_AS,
      HZ_PARTIES.PERSON_TITLE,
      HZ_PARTIES.EMAIL_ADDRESS,
      HZ_PARTIES.URL,
      HZ_PARTIES.CATEGORY_CODE,
      HZ_PARTIES.SIC_CODE,
      HZ_PARTIES.PARTY_TYPE,
      HZ_ORGANIZATION_PROFILES.OOB_IND,
      HZ_ORGANIZATION_PROFILES.MINORITY_OWNED_IND,
      HZ_ORGANIZATION_PROFILES.MINORITY_OWNED_TYPE,
      HZ_ORGANIZATION_PROFILES.WOMAN_OWNED_IND,
      HZ_ORGANIZATION_PROFILES.DISADV_8A_IND,
      HZ_ORGANIZATION_PROFILES.SMALL_BUS_IND,
      HZ_ORGANIZATION_PROFILES.DB_RATING,
      HZ_ORGANIZATION_PROFILES.SIC_CODE_TYPE,
      HZ_ORGANIZATION_PROFILES.INTERNAL_FLAG,
      HZ_ORGANIZATION_PROFILES.BRANCH_FLAG,
      HZ_ORGANIZATION_PROFILES.CREDIT_SCORE,
      HZ_ORGANIZATION_PROFILES.STATUS,
      HZ_PARTIES.CUSTOMER_KEY,
      HZ_PARTIES.JGZZ_FISCAL_CODE,
      AP_SUPPLIERS.VENDOR_ID,
      AP_SUPPLIERS.VENDOR_NAME,
      AP_SUPPLIERS.VENDOR_NAME_ALT,
      AP_SUPPLIERS.SEGMENT1,
      AP_SUPPLIERS.ENABLED_FLAG,
      AP_SUPPLIERS.VENDOR_TYPE_LOOKUP_CODE,
      AP_SUPPLIERS.ONE_TIME_FLAG,
      AP_SUPPLIERS.PARENT_VENDOR_ID,
      AP_SUPPLIERS.ORGANIZATION_TYPE_LOOKUP_CODE,
      AP_SUPPLIERS.START_DATE_ACTIVE,
      AP_SUPPLIERS.END_DATE_ACTIVE,
      AP_SUPPLIERS.MINORITY_GROUP_LOOKUP_CODE,
      AP_SUPPLIERS.WOMEN_OWNED_FLAG,
      AP_SUPPLIERS.SMALL_BUSINESS_FLAG,
      HZ_CUST_ACCOUNTS.PARTY_ID
    FROM HZ_PARTIES,
      AP_SUPPLIERS,
      HZ_ORGANIZATION_PROFILES,
      HZ_CUST_ACCOUNTS,
        (SELECT  DOM_REL.RELATIONSHIP_CODE RELATIONSHIP_CODE,
         DOM_ULT_DUNS.PARTY_ID PARTY_ID,
         DOM_ULT_DUNS.DUNS_NUMBER DOM_DUNS_NUMBER,
         DOM_REL.OBJECT_ID OBJECT_ID
       FROM HZ_PARTIES DOM_ULT_DUNS,
         HZ_RELATIONSHIPS DOM_REL
       WHERE(1 = 1)
       AND(DOM_REL.SUBJECT_ID = DOM_ULT_DUNS.PARTY_ID)
       AND(DOM_REL.OBJECT_TYPE = 'ORGANIZATION')
       AND(DOM_REL.SUBJECT_TYPE = 'ORGANIZATION')
       AND(DOM_REL.SUBJECT_TABLE_NAME = 'HZ_PARTIES')
       AND(DOM_REL.RELATIONSHIP_CODE IN('DOMESTIC_ULTIMATE_OF',    'GLOBAL_ULTIMATE_OF'))
       AND(DOM_REL.ACTUAL_CONTENT_SOURCE = 'DNB')
       AND(DOM_REL.RELATIONSHIP_TYPE = 'DNB_HIERARCHY')
       AND((DOM_REL.END_DATE IS NULL
       OR DOM_REL.END_DATE > SYSDATE
    DOM_DUNS
    WHERE(1 = 1)
    AND HZ_PARTIES.PARTY_TYPE = 'ORGANIZATION'
    AND HZ_PARTIES.PARTY_ID = AP_SUPPLIERS.PARTY_ID(+)
    AND HZ_ORGANIZATION_PROFILES.EFFECTIVE_END_DATE IS NULL
    AND HZ_ORGANIZATION_PROFILES.ACTUAL_CONTENT_SOURCE = 'SST'
    AND
    (HZ_ORGANIZATION_PROFILES.LAST_UPDATE_DATE >  TO_DATE('01/01/1753 00:00:00', 'MM/DD/YYYY HH24:MI:SS') OR
    HZ_PARTIES.LAST_UPDATE_DATE >  TO_DATE('01/01/1753 00:00:00', 'MM/DD/YYYY HH24:MI:SS') OR
    AP_SUPPLIERS.LAST_UPDATE_DATE >  TO_DATE('01/01/1753 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    OR
    HZ_CUST_ACCOUNTS.LAST_UPDATE_DATE > TO_DATE('01/01/1753 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    AND HZ_ORGANIZATION_PROFILES.PARTY_ID = HZ_PARTIES.PARTY_ID
    AND HZ_CUST_ACCOUNTS.PARTY_ID(+)=HZ_PARTIES.PARTY_ID
    AND DOM_DUNS.OBJECT_ID(+) = HZ_PARTIES.PARTY_ID]
    2012-05-10 10:43:51 : INFO : (16808 | READER_1_1_1) : (IS | BIA_IS) : node01_bidev.localhost : RR_4049 : RR_4049 SQL Query issued to database : (Thu May 10 10:43:51 2012)
    2012-05-10 10:43:51 : ERROR : (16808 | READER_1_1_1) : (IS | BIA_IS) : node01_bidev.localhost : RR_4035 : SQL Error [
    ORA-00942: table or view does not exist
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT DISTINCT HZ_PARTIES.PARTY_ID,
    HZ_PARTIES.CREATED_BY,
    HZ_PARTIES.LAST_UPDATED_BY,
    HZ_PARTIES.CREATION_DATE,
    HZ_PARTIES.LAST_UPDATE_DATE,
    HZ_PARTIES.PARTY_NUMBER,
    HZ_PARTIES.PARTY_NAME,
    HZ_PARTIES.ADDRESS1,
    HZ_PARTIES.ADDRESS2,
    HZ_PARTIES.ADDRESS3,
    HZ_PARTIES.ADDRESS4,
    HZ_PARTIES.CITY,
    HZ_PARTIES.STATE,
    HZ_PARTIES.POSTAL_CODE,
    HZ_PARTIES.PROVINCE,
    HZ_PARTIES.COUNTRY,
    HZ_ORGANIZATION_PROFILES.DUNS_NUMBER_C,
    (CASE
    WHEN DOM_DUNS.RELATIONSHIP_CODE = 'DOMESTIC_ULTIMATE_OF' THEN DOM_DUNS.DOM_DUNS_NUMBER
    END) DOM_DUNS_NUMBER,
    (CASE
    WHEN DOM_DUNS.RELATIONSHIP_CODE = 'GLOBAL_ULTIMATE_OF' THEN DOM_DUNS.DOM_DUNS_NUMBER
    END) GLBL_DUNS_NUMBER,
    HZ_PARTIES.EMPLOYEES_TOTAL,
    HZ_PARTIES.YEAR_ESTABLISHED,
    HZ_PARTIES.CURR_FY_POTENTIAL_REVENUE,
    HZ_PARTIES.HQ_BRANCH_IND,
    HZ_PARTIES.PERSON_LAST_NAME,
    HZ_PARTIES.KNOWN_AS,
    HZ_PARTIES.PERSON_TITLE,
    '[email protected]' EMAIL_ADDRESS,
    HZ_PARTIES.URL,
    HZ_PARTIES.CATEGORY_CODE,
    HZ_PARTIES.SIC_CODE,
    HZ_PARTIES.PARTY_TYPE,
    HZ_ORGANIZATION_PROFILES.OOB_IND,
    HZ_ORGANIZATION_PROFILES.MINORITY_OWNED_IND,
    HZ_ORGANIZATION_PROFILES.MINORITY_OWNED_TYPE,
    HZ_ORGANIZATION_PROFILES.WOMAN_OWNED_IND,
    HZ_ORGANIZATION_PROFILES.DISADV_8A_IND,
    HZ_ORGANIZATION_PROFILES.SMALL_BUS_IND,
    HZ_ORGANIZATION_PROFILES.DB_RATING,
    HZ_ORGANIZATION_PROFILES.SIC_CODE_TYPE,
    HZ_ORGANIZATION_PROFILES.INTERNAL_FLAG,
    HZ_ORGANIZATION_PROFILES.BRANCH_FLAG,
    HZ_ORGANIZATION_PROFILES.CREDIT_SCORE,
    HZ_ORGANIZATION_PROFILES.STATUS,
    HZ_PARTIES.CUSTOMER_KEY,
    HZ_PARTIES.JGZZ_FISCAL_CODE,
    AP_SUPPLIERS.VENDOR_ID,
    AP_SUPPLIERS.VENDOR_NAME,
    AP_SUPPLIERS.VENDOR_NAME_ALT,
    AP_SUPPLIERS.SEGMENT1,
    AP_SUPPLIERS.ENABLED_FLAG,
    AP_SUPPLIERS.VENDOR_TYPE_LOOKUP_CODE,
    AP_SUPPLIERS.ONE_TIME_FLAG,
    AP_SUPPLIERS.PARENT_VENDOR_ID,
    AP_SUPPLIERS.ORGANIZATION_TYPE_LOOKUP_CODE,
    AP_SUPPLIERS.START_DATE_ACTIVE,
    AP_SUPPLIERS.END_DATE_ACTIVE,
    AP_SUPPLIERS.MINORITY_GROUP_LOOKUP_CODE,
    AP_SUPPLIERS.WOMEN_OWNED_FLAG,
    AP_SUPPLIERS.SMALL_BUSINESS_FLAG,
    HZ_CUST_ACCOUNTS.PARTY_ID
    FROM HZ_PARTIES,
    AP_SUPPLIERS,
    HZ_ORGANIZATION_PROFILES,
    HZ_CUST_ACCOUNTS,
    (SELECT DOM_REL.RELATIONSHIP_CODE RELATIONSHIP_CODE,
    DOM_ULT_DUNS.PARTY_ID PARTY_ID,
    DOM_ULT_DUNS.DUNS_NUMBER DOM_DUNS_NUMBER,
    DOM_REL.OBJECT_ID OBJECT_ID
    FROM HZ_PARTIES DOM_ULT_DUNS,
    HZ_RELATIONSHIPS DOM_REL
    WHERE(1 = 1)
    AND(DOM_REL.SUBJECT_ID = DOM_ULT_DUNS.PARTY_ID)
    AND(DOM_REL.OBJECT_TYPE = 'ORGANIZATION')
    AND(DOM_REL.SUBJECT_TYPE = 'ORGANIZATION')
    AND(DOM_REL.SUBJECT_TABLE_NAME = 'HZ_PARTIES')
    AND(DOM_REL.RELATIONSHIP_CODE IN('DOMESTIC_ULTIMATE_OF', 'GLOBAL_ULTIMATE_OF'))
    AND(DOM_REL.ACTUAL_CONTENT_SOURCE = 'DNB')
    AND(DOM_REL.RELATIONSHIP_TYPE = 'DNB_HIERARCHY')
    AND((DOM_REL.END_DATE IS NULL
    OR DOM_REL.END_DATE > SYSDATE
    DOM_DUNS
    WHERE(1 = 1)
    AND HZ_PARTIES.PARTY_TYPE = 'ORGANIZATION'
    AND HZ_PARTIES.PARTY_ID = AP_SUPPLIERS.PARTY_ID(+)
    AND HZ_ORGANIZATION_PROFILES.EFFECTIVE_END_DATE IS NULL
    AND HZ_ORGANIZATION_PROFILES.ACTUAL_CONTENT_SOURCE = 'SST'
    AND
    (HZ_ORGANIZATION_PROFILES.LAST_UPDATE_DATE > TO_DATE('01/01/1753 00:00:00', 'MM/DD/YYYY HH24:MI:SS') OR
    HZ_PARTIES.LAST_UPDATE_DATE > TO_DATE('01/01/1753 00:00:00', 'MM/DD/YYYY HH24:MI:SS') OR
    AP_SUPPLIERS.LAST_UPDATE_DATE > TO_DATE('01/01/1753 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    OR
    HZ_CUST_ACCOUNTS.LAST_UPDATE_DATE > TO_DATE('01/01/1753 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    AND HZ_ORGANIZATION_PROFILES.PARTY_ID = HZ_PARTIES.PARTY_ID
    AND HZ_CUST_ACCOUNTS.PARTY_ID(+)=HZ_PARTIES.PARTY_ID
    AND DOM_DUNS.OBJECT_ID(+) = HZ_PARTIES.PARTY_ID
    Oracle Fatal Error
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT DISTINCT HZ_PARTIES.PARTY_ID,
    HZ_PARTIES.CREATED_BY,
    HZ_PARTIES.LAST_UPDATED_BY,
    HZ_PARTIES.CREATION_DATE,
    HZ_PARTIES.LAST_UPDATE_DATE,
    HZ_PARTIES.PARTY_NUMBER,
    HZ_PARTIES.PARTY_NAME,
    HZ_PARTIES.ADDRESS1,
    HZ_PARTIES.ADDRESS2,
    HZ_PARTIES.ADDRESS3,
    HZ_PARTIES.ADDRESS4,
    HZ_PARTIES.CITY,
    HZ_PARTIES.STATE,
    HZ_PARTIES.POSTAL_CODE,
    HZ_PARTIES.PROVINCE,
    HZ_PARTIES.COUNTRY,
    HZ_ORGANIZATION_PROFILES.DUNS_NUMBER_C,
    (CASE
    WHEN DOM_DUNS.RELATIONSHIP_CODE = 'DOMESTIC_ULTIMATE_OF' THEN DOM_DUNS.DOM_DUNS_NUMBER
    END) DOM_DUNS_NUMBER,
    (CASE
    WHEN DOM_DUNS.RELATIONSHIP_CODE = 'GLOBAL_ULTIMATE_OF' THEN DOM_DUNS.DOM_DUNS_NUMBER
    END) GLBL_DUNS_NUMBER,
    HZ_PARTIES.EMPLOYEES_TOTAL,
    HZ_PARTIES.YEAR_ESTABLISHED,
    HZ_PARTIES.CURR_FY_POTENTIAL_REVENUE,
    HZ_PARTIES.HQ_BRANCH_IND,
    HZ_PARTIES.PERSON_LAST_NAME,
    HZ_PARTIES.KNOWN_AS,
    HZ_PARTIES.PERSON_TITLE,
    '[email protected]' EMAIL_ADDRESS,
    HZ_PARTIES.URL,
    HZ_PARTIES.CATEGORY_CODE,
    HZ_PARTIES.SIC_CODE,
    HZ_PARTIES.PARTY_TYPE,
    HZ_ORGANIZATION_PROFILES.OOB_IND,
    HZ_ORGANIZATION_PROFILES.MINORITY_OWNED_IND,
    HZ_ORGANIZATION_PROFILES.MINORITY_OWNED_TYPE,
    HZ_ORGANIZATION_PROFILES.WOMAN_OWNED_IND,
    HZ_ORGANIZATION_PROFILES.DISADV_8A_IND,
    HZ_ORGANIZATION_PROFILES.SMALL_BUS_IND,
    HZ_ORGANIZATION_PROFILES.DB_RATING,
    HZ_ORGANIZATION_PROFILES.SIC_CODE_TYPE,
    HZ_ORGANIZATION_PROFILES.INTERNAL_FLAG,
    HZ_ORGANIZATION_PROFILES.BRANCH_FLAG,
    HZ_ORGANIZATION_PROFILES.CREDIT_SCORE,
    HZ_ORGANIZATION_PROFILES.STATUS,
    HZ_PARTIES.CUSTOMER_KEY,
    HZ_PARTIES.JGZZ_FISCAL_CODE,
    AP_SUPPLIERS.VENDOR_ID,
    AP_SUPPLIERS.VENDOR_NAME,
    AP_SUPPLIERS.VENDOR_NAME_ALT,
    AP_SUPPLIERS.SEGMENT1,
    AP_SUPPLIERS.ENABLED_FLAG,
    AP_SUPPLIERS.VENDOR_TYPE_LOOKUP_CODE,
    AP_SUPPLIERS.ONE_TIME_FLAG,
    AP_SUPPLIERS.PARENT_VENDOR_ID,
    AP_SUPPLIERS.ORGANIZATION_TYPE_LOOKUP_CODE,
    AP_SUPPLIERS.START_DATE_ACTIVE,
    AP_SUPPLIERS.END_DATE_ACTIVE,
    AP_SUPPLIERS.MINORITY_GROUP_LOOKUP_CODE,
    AP_SUPPLIERS.WOMEN_OWNED_FLAG,
    AP_SUPPLIERS.SMALL_BUSINESS_FLAG,
    HZ_CUST_ACCOUNTS.PARTY_ID
    FROM HZ_PARTIES,
    AP_SUPPLIERS,
    HZ_ORGANIZATION_PROFILES,
    HZ_CUST_ACCOUNTS,
    (SELECT DOM_REL.RELATIONSHIP_CODE RELATIONSHIP_CODE,
    DOM_ULT_DUNS.PARTY_ID PARTY_ID,
    DOM_ULT_DUNS.DUNS_NUMBER DOM_DUNS_NUMBER,
    DOM_REL.OBJECT_ID OBJECT_ID
    FROM HZ_PARTIES DOM_ULT_DUNS,
    HZ_RELATIONSHIPS DOM_REL
    WHERE(1 = 1)
    AND(DOM_REL.SUBJECT_ID = DOM_ULT_DUNS.PARTY_ID)
    AND(DOM_REL.OBJECT_TYPE = 'ORGANIZATION')
    AND(DOM_REL.SUBJECT_TYPE = 'ORGANIZATION')
    AND(DOM_REL.SUBJECT_TABLE_NAME = 'HZ_PARTIES')
    AND(DOM_REL.RELATIONSHIP_CODE IN('DOMESTIC_ULTIMATE_OF', 'GLOBAL_ULTIMATE_OF'))
    AND(DOM_REL.ACTUAL_CONTENT_SOURCE = 'DNB')
    AND(DOM_REL.RELATIONSHIP_TYPE = 'DNB_HIERARCHY')
    AND((DOM_REL.END_DATE IS NULL
    OR DOM_REL.END_DATE > SYSDATE
    DOM_DUNS
    WHERE(1 = 1)
    AND HZ_PARTIES.PARTY_TYPE = 'ORGANIZATION'
    AND HZ_PARTIES.PARTY_ID = AP_SUPPLIERS.PARTY_ID(+)
    AND HZ_ORGANIZATION_PROFILES.EFFECTIVE_END_DATE IS NULL
    AND HZ_ORGANIZATION_PROFILES.ACTUAL_CONTENT_SOURCE = 'SST'
    AND
    (HZ_ORGANIZATION_PROFILES.LAST_UPDATE_DATE > TO_DATE('01/01/1753 00:00:00', 'MM/DD/YYYY HH24:MI:SS') OR
    HZ_PARTIES.LAST_UPDATE_DATE > TO_DATE('01/01/1753 00:00:00', 'MM/DD/YYYY HH24:MI:SS') OR
    AP_SUPPLIERS.LAST_UPDATE_DATE > TO_DATE('01/01/1753 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    OR
    HZ_CUST_ACCOUNTS.LAST_UPDATE_DATE > TO_DATE('01/01/1753 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    AND HZ_ORGANIZATION_PROFILES.PARTY_ID = HZ_PARTIES.PARTY_ID
    AND HZ_CUST_ACCOUNTS.PARTY_ID(+)=HZ_PARTIES.PARTY_ID
    AND DOM_DUNS.OBJECT_ID(+) = HZ_PARTIES.PARTY_ID
    Oracle Fatal Error].
    2012-05-10 10:43:51 : ERROR : (16808 | READER_1_1_1) : (IS | BIA_IS) : node01_bidev.localhost : BLKR_16004 : ERROR: Prepare failed.
    2012-05-10 10:43:51 : INFO : (16808 | WRITER_1_*_1) : (IS | BIA_IS) : node01_bidev.localhost : WRT_8333 : Rolling back all the targets due to fatal session error.
    2012-05-10 10:43:51 : INFO : (16808 | WRITER_1_*_1) : (IS | BIA_IS) : node01_bidev.localhost : WRT_8325 : Final rollback executed for the target [W_ORG_DS] at end of load
    2012-05-10 10:43:51 : INFO : (16808 | WRITER_1_*_1) : (IS | BIA_IS) : node01_bidev.localhost : WRT_8035 : Load complete time: Thu May 10 10:43:51 2012
    LOAD SUMMARY
    ============
    WRT_8036 Target: W_PARTY_ORG_DS (Instance Name: [W_ORG_DS])
    WRT_8044 No data loaded for this target
    I have already checked table source (HZ_PARTIES,AP_SUPPLIERS,HZ_ORGANIZATION_PROFILES,HZ_CUST_ACCOUNTS) and table target (W_PARTY_ORG_DS). All source table and target table are exist. But when I ran execution plan for Financial Analytics, I got failed on task SDE_ORA_PartyOrganizationDimension_Customer_Full
    Did anyone ever get this issue?
    Regards,
    Joni

    Have you tried running the sql against your source? I ran this against one of our EBS instances and it runs fine.
    If it runs OK I would next check what connection the Informatica workflow is using. Check the full session and workflow logs to make sure its connecting to the correct database.

  • How to change the explain plan for currently running query?

    Hi All,
    I am using Oracle enterprise 9i edition. I have a query which frames dynamically and running in the database. I noticed a table with 31147758 rows
    in the query which has no indexes and taking more time to process. I tried to create an INdex on that table. I know the query is already running with a FULL table scan. Is it possible to change the explain plan for the current running query to consider the INDEX?
    [code]
    SELECT /*+ USE_HASH (c,e,b,a) */
    d.att_fcc extrt_prod_dim_id,
    d.att_fcc compr_prod_dim_id,
      a.glbl_uniq_id glbl_uniq_id,
      to_date(c.dit_code,'RRRRMMDD')STRT_DT,
      (to_date(c.dit_code,'RRRRMMDD')+150)END_DT,
      a.pat_nbr pat_id,
      a.rxer_id       rxer_id,
      e.rxer_geog_id  rxer_geog_id,
      a.pharmy_id pharmy_id,
      a.pscr_pack_id pscr_pack_id,
      a.dspnsd_pack_id dspnsd_pack_id,
      DENSE_RANK () OVER (PARTITION BY a.pat_nbr ORDER BY c.dit_code) daterank,
      COUNT( DISTINCT d.att_fcc ) OVER (PARTITION BY a.pat_nbr, c.dit_code) event_cnt
      DENSE_RANK () OVER (PARTITION BY a.pat_nbr,
    d.att_fcc
      ORDER BY c.dit_code) prodrank,
      DENSE_RANK () OVER (PARTITION BY a.pat_nbr,
    d.att_fcc
      ORDER BY c.dit_code DESC) stoprank
      FROM
      pd_dimitems c,
       pd_pack_attribs   d ,
        lrx_tmp_rxer_geog e,
        lrx_tmp_pat_daterank p,
        lrx_tmp_valid_fact_link     a
        WHERE c.dit_id = a.tm_id
        AND   e.rxer_id = a.rxer_id
        AND   a.glbl_uniq_id = p.glbl_uniq_id
        AND   p.daterank > 1
      AND   a.pscr_pack_id = d.att_dit_id
    [/code]
    The table lrx_tmp_pat_daterank is having that 31147758 rows. So I am wondering how to make the query to use the newly created index on the table?

    Why do you think using Indexes will improve the performance of the query? How many rows this query is returning? Optimizer might chose a Full table scan when it finds out that Index plan might not be useful. Why are you using /*+ USE_HASH (c,e,b,a) */ hint? This Hint will force oracle to use Full table scan instead of using the index. Try removing it and see if the plan changes.
    Regards,

  • Error while running ETL Execution plan in DAC(BI Financial Analytics)

    Hi All,
    I have Installed and configured BI Analytics and everything gone well but when I run ETL in DAC to to load the data from source to Analytics Warehouse Execution plan Failed with the following error message - Error while creating Server connections Unable to ping repository server.can anyone please help me on resolving the error.and here is the error error description.
    Error message description:
    ETL Process Id : 4
    ETL Name : New_Tessco_Financials_Oracle R12
    Run Name : New_Tessco_Financials_Oracle R12: ETL Run - 2009-02-06 16:08:48.169
    DAC Server : oratestbi(oratestbi.tessco.com)
    DAC Port : 3141
    Status: Failed
    Log File Name: New_Tessco_Financials_Oracle_R12.4.log
    Database Connection(s) Used :
         DataWarehouse jdbc:oracle:thin:@oratestbi:1521:DEVBI
         ORA_R12 jdbc:oracle:thin:@oratestr12:1531:DEV
    Informatica Server(s) Used :
    Start Time: 2009-02-06 16:08:48.177
    Message: Error while creating Server connections Unable to ping repository server.
    Actual Start Time: 2009-02-06 16:08:48.177
    End Time: 2009-02-06 16:08:51.785
    Total Time Taken: 0 Minutes
    Thanks in Advance,
    Prashanth
    Edited by: user10719430 on Feb 6, 2009 2:08 PM

    I am facing a similar error.. can you pls help me in fixing it.
    Following is the log from DAC server:
    31 SEVERE Fri Oct 16 17:22:18 EAT 2009
    START OF ETL
    32 SEVERE Fri Oct 16 17:22:21 EAT 2009 MESSAGE:::Unable to ping :'ebsczc9282brj', because '
    =====================================
    STD OUTPUT
    =====================================
    Informatica(r) PMCMD, version [8.1.1 SP5], build [135.0129], Windows 32-bit
    Copyright (c) Informatica Corporation 1994 - 2008
    All Rights Reserved.
    Invoked at Fri Oct 16 17:22:20 2009
    The command: [pingserver] is deprecated. Please use the command [pingservice] in the future.
    ERROR: Cannot connect to Integration Service [ebsczc9282brj:6006].
    Completed at Fri Oct 16 17:22:21 2009
    =====================================
    ERROR OUTPUT
    =====================================
    ' Make sure that the server is up and running.
    EXCEPTION CLASS::: com.siebel.etl.gui.core.MetaDataIllegalStateException
    com.siebel.etl.engine.bore.ServerTokenPool.populate(ServerTokenPool.java:231)
    com.siebel.etl.engine.core.ETL.thisETLProcess(ETL.java:225)
    com.siebel.etl.engine.core.ETL.run(ETL.java:604)
    com.siebel.etl.engine.core.ETL.execute(ETL.java:840)
    com.siebel.etl.etlmanager.EtlExecutionManager$1.executeEtlProcess(EtlExecutionManager.java:211)
    com.siebel.etl.etlmanager.EtlExecutionManager$1.run(EtlExecutionManager.java:165)
    java.lang.Thread.run(Thread.java:619)
    33 SEVERE Fri Oct 16 17:22:21 EAT 2009
    *     CLOSING THE CONNECTION POOL DataWarehouse
    34 SEVERE Fri Oct 16 17:22:21 EAT 2009
    *     CLOSING THE CONNECTION POOL SEBL_80
    35 SEVERE Fri Oct 16 17:22:21 EAT 2009
    END OF ETL
    --------------------------------------------

  • I am currently running OS 10.6.8 on my iMac and plan to upgrade to OS Mountain Lion. Will MS Office 2008 for Mac still run on the new OS?

    I am currently running OS 10.6.8 on my iMac and plan to upgrade to OS Mountain Lion. Will MS Office 2008 for Mac still run on the new OS?

    Check compatibility for all your software
    http://roaringapps.com/apps:table

Maybe you are looking for