Making Siebel Run Fast with Oracle CBO – New PPS Recommendation - optimizer

Hi All,
I have some good news if you are upgrading to Oracle CBO. This is a big new find that we discovered a few weeks back.
There is a certain class of queries that run very slow with the default Siebel recommended settings. Please keep in mind that in order to properly do explain plans in 10G with Siebel SQL you need to issue the following alter session statements. Also if you are using TOAD you have to uncheck the run queries in parallel since if that option is checked a new session will be launched and your options won’t be set.
ALTER SESSION SET OPTIMIZER_MODE = FIRST_ROWS_10 ;
ALTER SESSION SET "_OPTIMIZER_SORTMERGE_JOIN_ENABLED" = FALSE ;
ALTER SESSION SET "_OPTIMIZER_JOIN_SEL_SANITY_CHECK" = TRUE;
ALTER SESSION SET "_HASH_JOIN_ENABLED" = FALSE;
The key new find is that the Oracle recommendation of setting optimizer_index_cost_adj = 1 is wrong! Our new recommendation is to set this parameter to 10.
Here are some more details. This is not a silver bullet for all your Oracle performance tuning issues. Remember it is best to tune specific things that are slow from an end users perspective. In fact that is how we discovered this issue and its solution.
There is one specific class of queries that this setting will fix. You can issue alter session statements to see the difference in your explain plans. Here is how you will know the query:
•     Where clause on an intersection table and index that exists that would find just one row. This is the index we want Oracle to use.
•     Order by on BC base table and another index exists that would satisfy the order by. We don’t want to use this index since millions of rows would be accessed.
•     Explain plan shows the index for the order by is used instead of the index for the where clause that would have found a single row.
Here is the actual statement we encountered that lead to our discovery.
WHERE
T8.PR_HELD_POSTN_ID = T2.PAR_ROW_ID (+) AND
T2.BU_ID = T5.ROW_ID (+) AND
T7.ROW_ID = T4.PAR_ROW_ID AND
T7.ROW_ID = T8.PAR_ROW_ID AND
T7.ROW_ID = T3.PAR_ROW_ID AND
T7.ROW_ID = T6.PAR_ROW_ID (+) AND
T8.PR_RESP_ID = T1.ROW_ID (+) AND
(T8.EMP_FLG = 'Y') AND
(T3.LOGIN = 'UATUSER')
ORDER BY
T8.LAST_NAME, T8.FST_NAME
In addition at OOW this week we heard that an Oracle RAC expert presented Siebel on RAC and recommended setting this parameter back to its default of 100. We also talked with a very senior DBA colleague who made the same discovery over a year ago and is running with is parameter set to 25.
I can tell you that for us any setting from 1-9 gave the bad access path. 10 fixes the issue.
This find is so important that we wanted to get this out to the Siebel community ASAP.
Robert Ponder
Lead Architect and Director
Ponder Pro Serve
cell: 770.490.2767
fax: 770.412.8259
email: [email protected]
web: www.ponderproserve.com

Hi All,
I know it is bad to reply to your own posts but this one is too good. Here is another example of this that all of us have.
With oica = 1 the m1 index is used and this runs a long time. With oica = 10 m6 is used and that clearly is the index Oracle wants to use since it matches the where clause exactly.
This is from the basic select we all run as part of Server Tables Clean Up. I am even including the alter session statements so you can see the drastic improvement yourself.
ALTER SESSION SET optimizer_mode = FIRST_ROWS_10;
ALTER SESSION SET "_OPTIMIZER_SORTMERGE_JOIN_ENABLED" = FALSE;
ALTER SESSION SET "_OPTIMIZER_JOIN_SEL_SANITY_CHECK" = TRUE;
ALTER SESSION SET HASH_JOIN_ENABLED = FALSE;          -- "_HASH_JOIN_ENABLED" in 10G
ALTER SESSION SET OPTIMIZER_INDEX_COST_ADJ = 1; -- then change this to 10 and run EP again.     
SELECT
T1.CONFLICT_ID,
T1.LAST_UPD,
T1.CREATED,
T1.LAST_UPD_BY,
T1.CREATED_BY,
T1.MODIFICATION_NUM,
T1.ROW_ID,
T1.ACTION_ID
FROM
SIEBEL.S_SRM_REQUEST T1
WHERE
((T1.STATUS IN ( 'SUCCESS' ) OR T1.STATUS IN ( 'EXPIRED' ) OR T1.STATUS IN ( 'COMPLETE' ))
     AND T1.TGT_DELETE_TS <= TO_DATE('11/20/2007 16:26:27','MM/DD/YYYY HH24:MI:SS'))
***** SQL Statement Execute Time for SQL Cursor with ID 10A53620: 48.333 seconds *****

Similar Messages

  • Any settings that can be adjusted to make everything run faster with Mountain Lion

    Hello,
    Does anyone know of any settings or adjustments that can be tweeked to make my machine run faster with Mountain Lion?
    Thanks, Jason

    yes you can do it yourself - it's actually a simple upgrade - i use a ssd in my macbook and have the RAM maxed out to 16GB.
    as for what brands should you consider, here are some good ones.
    Sandisk Extreme - Currently the fastest one out there.
    Kingston HyperX - Second fastest - this is what I have in my 13 Inch Late 2011.
    Samsung 830 series - Fast and uses less battery power - this is what's installed in the Macbook Retina.
    Crucial M4 - Also a fast SSD - I have the 512GB installed in my 15 inch Late 2011.
    If you decide to install one of these ssd in your Macbook - let me know if you need a step by step on how to clone your drive.
    Good luck..

  • Will an iBook G3 run fast with OS9?

    I have a 700mhz iBook G3 with OSX Tiger and maxed out RAM. It runs okay with OSX, but it's slow and the 20gb hard drive runs fairly hot at 50-54 degrees celsius. I was wondering about whether it would run much faster and cooler if I did a clean install of OS9 on it, updating it to 9.2.2. I know a lot of software wouldn't run anymore on it, but the downgrade would be worth it if it would run a LOT faster and be capable of video editing with old versions of Final Cut or Premiere. Would the old versions of Photoshop, internet browsers, etc... be able to create and read decently modern file formats?
    Would this work? How much faster would it run? What do you think about this idea?
    Please let me know. Thanks.

    Do you have the original system CDs that came with the iBook?
    I wouldn't advise trying to run Mac OS 9 if you want to use the iBook on the internet. The browsers that are available for OS 9 are not nearly as up to speed as those available for Mac OS X.
    The iBook is about seven years old, so it is not going to be a speedy computer, no matter what you do. Probably the best upgrade you could make is a new, faster, larger hard drive, but it may not be worth the time, trouble, or expense.

  • Does SQL Query run faster with/without Conditions....

    Hi All, forgive my novice question.
    Was just wondering" In general if we run a SQL query on a single table; does my query run faster if there are multiple where conditions? or without. What happens if the conditions increase? My table is a big one with 5 million rows and some bitmap indexes defined on it.
    Thanks,
    Kon

    I think it's difficult to give general rule because there are too much dependencies on the fact that the columns are indexed or not, on the way tables and indexes statistics are computed or not, on the possible session or instance parameters that the optimizer may use, on the Oracle version, etc.
    Message was edited by:
    Pierre Forstmann

  • Problem with "Oracle JDeveloper News" RSS ?

    This message is probably misplaced but I don't know who to send it to. I keep getting the same message from "Oracle JDeveloper News" titled "New EA Step-by-Step Tutorials" dated 9/19/2005 4:46 AM with as malformed website address of "/technology/products/jdev/101/tutorials/index.htm". On last count I must have received at least 10 of them in the last 5 or 6 days.
    Does anyone know who to contact to get it to stop? It's getting a little annoying.
    TIA

    I'm using Mozilla Thunderbird - Version 1.0.6 (20050716). Judging from the question, I assume that others are not having this problem.
    Cheers

  • Run forms6i with oracle 8i

    Hi Vishal Badiani
    I think the problem is you dont create net 80 configurations to run any product with Oracle 8i but you must check the following: -
    1- Create net80 from start programs oracle-orahome 81 network administration Net8 Configuration Assistant and chose local net service name configuration and click next and click Add and next after this you will chose you database version And next now you write the global database name and next chose the TCP/IP protocol And next now type the computer name (host name) and click next chose yes perform A test and next If you receive the error ORA-01017 click change login and type any
    User name that exist in the database like system/manager if connecting
    Test successful then click next and type any name you want for the
    Net Service name and click next and finish Ok.
    2- After this you will open the folder that you install oracle like
    c:\ora81\network\ADMIN and rename the file (sqlnet.ora) to (sqlnet.old)
    And open the file tnsnames.ora and paste the following lines after last line
    On the file
    DEV.ORCL.US.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MMK)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl.us.com)
    After this you will change the following on the same lines you past on the previous step.
    *** Change the dev.orcl.us.com to any name you want like dev
    *** Change the host to you computer name
    ***Change the SERVICE_NAME to the service name that you created before in the step 1 Ok.
    Save the changes you made on the file tnsnames.ora and copy the
    File into c:\ora82\net80\admin (the place you install developer)
    You will receive the message (do you want replace the file)
    Click ok.
    3-After this you will open the folder that you install developer 6i like
    C:\ora82\net80\admin and rename the file (sqlnet.ora) to (sqlnet.old)
    4-start the database.
    5-start the listener.
    6-type you username and password and database (DEV.ORCL.US.COM) or the name you created.
    I hope this useful for you and replay to me please if this not work with you
    Mohammed Al-shake
    [email protected]
    3- After this you will open the folder that you install developer 6i like
    c:\ora82\net80\admin and rename the file (sqlnet.ora) to (sqlnet.old)
    null

    Hi
    am sorry the above line's for theis link http://technet.oracle.com:89/ubb/Forum4/HTML/009767.html
    thanks

  • Making applescript run faster...

    I am doing alot of Numbers scripting right now and it runs fine (with a bit of help from some of you). But some people have asked if I can make them run faster. Alot of us come from writting VBA in Excel on windoze, wehre a fairly good macro can run in under a second, doing lots of code and data manipulation. The same thing in Applescript takes ten or more times longer to run.
    Not asking for specific items, I am sure that there are loads of web pages, I just don't seem to be able to find them in my searches. Do hints from system 7 apply to OSX?
    Thanks alot in advance,
    Jason

    Hello Jason,
    Some tips.
    • When processing (large) list, define the list as property and use reference to that property in referencing to list's item. This will yield remarkable performance improvement (60 - 80 times faster as far as I can tell).
    E.g. 1 Given -
    --CODE1 (blooming slow)
    set xx to {}
    repeat with i from 1 to 1000
    set end of xx to i
    end repeat
    set yy to {}
    repeat with i from 1 to 1000
    set end of yy to (xx's item i) * -1
    end repeat
    return yy
    --END OF CODE1
    --CODE1A (fast)
    property xx : {}
    property yy : {}
    repeat with i from 1 to 1000
    set end of my xx to i -- # note the usage of "my"
    end repeat
    repeat with i from 1 to 1000
    set end of my yy to (my xx's item i) * -1 -- # idem.
    end repeat
    return my yy's contents
    --END OF CODE1A
    --CODE1B (fast and well-behaved)
    main()
    on main()
    script o
    property xx : {}
    property yy : {}
    repeat with i from 1 to 1000
    set end of my xx to i -- # note the usage of "my" (or "o's")
    end repeat
    repeat with i from 1 to 1000
    set end of my yy to (my xx's item i) * -1 -- # idem.
    end repeat
    return my yy's contents -- # return its contents, not reference
    end script
    tell o to run
    end main
    --END OF CODE1B
    CODE1A and CODE1B are much faster than CODE1.
    CODE1A will preserve the property values beyond each run while CODE1B won't.
    In case you're employing 'reference to list defined as property' technique for performance' sake, CODE1B should be better because it won't leave unwanted dirty data behind.
    *Note that you should return the contents of the reference not the reference itself, if need be, especially when you're using this technique in one of your handler which is called many times.
    E.g., if you return "my yy" in lieu of "my yy's contents" and use "set aa to main()" in lieu of "main()" in CODE1B, the dynamically instantiated script object (o) cannot be released even after the handler exits because there remains an object (aa) which is bound to it in the outer script. If you return "my yy's contents", the script object (o) can be released peacefully.
    • Reduce the number of costly inter-application communications.
    E.g. 2 Given -
    --CODE2 (pseudo-code)
    set xx to {}
    repeat with i from 1 to 100
    set end of xx to value of cell i
    end
    --END OF CODE2
    --CODE2A (pseudo-code)
    set xx to value of cells 1 thru 100
    --END OF CODE2A
    CODE2A (if it's possible) should be faster than CODE2.
    (CODE2A sends 1 event while CODE2 sends 100 events to Numbers.)
    E.g. 3 Given -
    --CODE3 (pseudo-code)
    repeat with i from 1 to 100
    set value of cell i to (value of cell i) * -1
    end repeat
    --END OF CODE3
    --CODE3A (pseudo-code)
    property xx : {}
    set xx to value of cells 1 thru 100
    repeat with i from 1 to 100
    set value of cell i to (my xx's item i) * -1
    end repeat
    --END OF CODE3A
    CODE3A (if it's possible) should be faster than CODE3.
    (CODE3A sends 101 events while CODE3 sends 200 events to Numbers.)
    • If Numbers has its own script menu, call the script from there. In most cases, script run via application's own script menu runs (much) faster than script run as stand-alone applet. Perhaps AppleEvent addressing mode is different between them, I'd guess.
    • Inter-application comunication in applet is slower than that in Script Editor. There's a way to improve applet's performance by using 'run script' command in applet.
    Something like the following template, which is designed to preserve any properties in your main code (whether or not it is terminated by error).
    *Note that this template swallows any error thrown in your main code. So it's not good for developing and/or debugging your code.
    --APPLET TEMPLATE
    script o
    script o1
    -- # place your main code here
    end script
    try
    tell o1 to run
    on error --
    end try
    return me
    end script
    set o to run script o -- to preserve the properties in o1
    --END OF APPLET TEMPLATE
    cf.
    A relevant topic: Applet speed
    http://discussions.apple.com/thread.jspa?threadID=1633798&tstart=0
    Hope this may be of some help,
    H
    Message was edited by: Hiroto (fixed typo)

  • Siebel Insurance Integrate with Oracle financial

    May i know, Is Siebel Insurance customer payment process integration with Oracle financial?

    Pl do not post duplicates - Integration Siebel with Oracle Financial
    Srini

  • 10g query running faster with RBO than CBO

    I am running a query in Oracle 10g that is taking 1minute 15 seconds to run using the CBO. All the tables and indexes in the query are fully analyzed. However if i add a /*+ Rule */ hint to the query and force the optimizer to RBO it runs in 5 seconds.
    Anyone any ideas why this would occur? it's contrary to everything Oracle says about CBO and problematic as RBO is no longer supported in 10g
    Any help / advice greatfully appreciated
    Thanks
    Declan

    My "best" CBO explain plan is......
    Explain complete.
    Elapsed: 00:00:01:90
    PLAN_TABLE_OUTPUT                                                                                                                           
    | Id  | Operation                          |  Name                          | Rows  | Bytes |TempSpc| Cost  |                               
    |   0 | SELECT STATEMENT                   |                                |  3364K|  2553M|       |   666K|                               
    |   1 |  SORT ORDER BY                     |                                |  3364K|  2553M|  5840M|   666K|                               
    |   2 |   VIEW                             |                                |  3364K|  2553M|       |   273K|                               
    |   3 |    UNION-ALL                       |                                |       |       |       |       |                               
    |*  4 |     HASH JOIN                      |                                |  2269K|  1415M|       |   255K|                               
    |*  5 |      TABLE ACCESS FULL             | NODE                           |     6 |   198 |       |   183 |                               
    |*  6 |      HASH JOIN OUTER               |                                |  2269K|  1344M|       |   255K|                               
    |*  7 |       HASH JOIN                    |                                |   710 |   266K|       |  2179 |                               
    |*  8 |        HASH JOIN OUTER             |                                |  1219 |   165K|       |   355 |                               
    |*  9 |         HASH JOIN                  |                                |  1219 |   154K|       |   318 |                               
    |* 10 |          HASH JOIN                 |                                |  1219 |   138K|       |   260 |                               
    |* 11 |           HASH JOIN                |                                |  1219 |   127K|       |   224 |                               
    |  12 |            TABLE ACCESS FULL       | TMP_NODE_WALK_ALL_NODES        |  8168 |   311K|       |    17 |                               
    |* 13 |            HASH JOIN               |                                | 10896 |   723K|       |   201 |                               
    |  14 |             INDEX FAST FULL SCAN   | PK_NODE_RULES_NODE_ID_RULE_ID  | 10896 |   106K|       |     6 |                               
    |  15 |             TABLE ACCESS FULL      | NODE                           | 73004 |  4134K|       |   183 |                               
    |  16 |           INDEX FAST FULL SCAN     | IDX_NODE_CIX2                  | 73004 |   641K|       |    33 |                               
    PLAN_TABLE_OUTPUT                                                                                                                           
    |  17 |          INDEX FAST FULL SCAN      | IDX_NODE_CIX1                  | 73004 |   998K|       |    54 |                               
    |  18 |         INDEX FAST FULL SCAN       | IDX_NODE_CIX2                  | 73004 |   641K|       |    33 |                               
    |* 19 |        TABLE ACCESS FULL           | RULES                          |  6344 |  1517K|       |  1820 |                               
    |  20 |       VIEW                         |                                |   405M|    89G|       | 43581 |                               
    |* 21 |        HASH JOIN OUTER             |                                |   405M|    23G|       | 43581 |                               
    |  22 |         TABLE ACCESS FULL          | TMP_NODE_WALK_ALL_NODES        |  8168 |   103K|       |    17 |                               
    |  23 |         TABLE ACCESS FULL          | UNIVERSAL_RULES                |  3377K|   157M|       | 43256 |                               
    |* 24 |     HASH JOIN OUTER                |                                |  1094K|   410M|   148M| 17453 |                               
    |  25 |      MERGE JOIN CARTESIAN          |                                |   390K|   143M|       | 15029 |                               
    |  26 |       NESTED LOOPS                 |                                |    70 | 25060 |       |  2849 |                               
    |  27 |        NESTED LOOPS                |                                |    70 | 21000 |       |  2779 |                               
    |  28 |         TABLE ACCESS BY INDEX ROWID| UNIVERSAL_RULES                |  1392 | 76560 |       |  1387 |                               
    |* 29 |          INDEX RANGE SCAN          | IDX_UNIVERSAL_RULES_ACCOUNT    |  1392 |       |       |     6 |                               
    |* 30 |         TABLE ACCESS BY INDEX ROWID| RULES                          |     1 |   245 |       |     1 |                               
    |* 31 |          INDEX UNIQUE SCAN         | PK_RULES_RULE_ID_VERSION_ID    |    20 |       |       |       |                               
    |* 32 |        TABLE ACCESS BY INDEX ROWID | NODE                           |     1 |    58 |       |     1 |                               
    |* 33 |         INDEX UNIQUE SCAN          | PK_NODE_NODE_ID                |     6 |       |       |       |                               
    |  34 |       BUFFER SORT                  |                                |  5616 |   153K|       | 15028 |                               
    |  35 |        TABLE ACCESS BY INDEX ROWID | NODE                           |  5616 |   153K|       |   174 |                               
    |* 36 |         INDEX RANGE SCAN           | IDX_NODE_NODE_TYPE_ID          |  5616 |       |       |    11 |                               
    |* 37 |      INDEX FAST FULL SCAN          | IDX_RULES_RULE_ID_STATUS       | 42293 |   289K|       |    48 |                               
    PLAN_TABLE_OUTPUT                                                                                                                           
    Predicate Information (identified by operation id):                                                                                         
       4 - access("NODE"."NODE_TYPE_ID"="SN"."HIERARCHY_TYPE_ID")                                                                               
       5 - filter("NODE"."PARENT_NODE_ID" IS NULL)                                                                                              
       6 - access("SYS_ALIAS_1"."RULE_ID"="UR"."RULE_ID"(+) AND "SYS_ALIAS_1"."VERSION_ID"="UR"."VERSION_ID"(+))                                
       7 - access("NR"."RULE_ID"="SYS_ALIAS_1"."COMBINED_RULE_ID")                                                                              
       8 - access("SN"."PARENT_NODE_ID"="SP"."NODE_ID"(+))                                                                                      
       9 - access("AN"."START_NODE_ID"="SN"."NODE_ID")                                                                                          
      10 - access("AN"."EFFECTIVE_NODE_ID"="EN"."NODE_ID")                                                                                      
      11 - access("AN"."SHORTCUT_NODE_ID"="N"."NODE_ID")                                                                                        
      13 - access("N"."NODE_ID"="NR"."NODE_ID")                                                                                                 
      19 - filter(',A,P,' LIKE '%,'||"SYS_ALIAS_1"."STATUS"||',%')                                                                              
      21 - access("UR"."NODE_ID"(+)="AN"."START_NODE_ID")                                                                                       
      24 - access("R"."RULE_ID"="RP"."RULE_ID"(+))                                                                                              
      29 - access("UR"."ACCOUNT_ID"='0069')                                                                                                     
      30 - filter(',A,P,' LIKE '%,'||"R"."STATUS"||',%')                                                                                        
      31 - access("UR"."RULE_ID"="R"."RULE_ID" AND "UR"."VERSION_ID"="R"."VERSION_ID")                                                          
      32 - filter("N"."HIERARCHY_TYPE_ID"=9)                                                                                                    
    PLAN_TABLE_OUTPUT                                                                                                                           
      33 - access("UR"."NODE_ID"="N"."NODE_ID")                                                                                                 
      36 - access("NODE"."NODE_TYPE_ID"=9)                                                                                                      
      37 - filter("RP"."STATUS"(+)='P')                                                                                                         
    Note: cpu costing is off                                                                                                                    
    28 rows selected.
    Elapsed: 00:00:02:45
    68 rows selected.
    Elapsed: 00:00:05:76While my RBO explain plan is
    Explain complete.
    Elapsed: 00:00:01:23
    PLAN_TABLE_OUTPUT                                                                                                                           
    | Id  | Operation                                |  Name                        | Rows  | Bytes | Cost  |                                   
    |   0 | SELECT STATEMENT                         |                              |       |       |       |                                   
    |   1 |  SORT ORDER BY                           |                              |       |       |       |                                   
    |   2 |   VIEW                                   |                              |       |       |       |                                   
    |   3 |    UNION-ALL                             |                              |       |       |       |                                   
    |   4 |     MERGE JOIN OUTER                     |                              |       |       |       |                                   
    |   5 |      SORT JOIN                           |                              |       |       |       |                                   
    |*  6 |       TABLE ACCESS BY INDEX ROWID        | NODE                         |       |       |       |                                   
    |   7 |        NESTED LOOPS                      |                              |       |       |       |                                   
    |   8 |         NESTED LOOPS                     |                              |       |       |       |                                   
    |   9 |          NESTED LOOPS                    |                              |       |       |       |                                   
    |  10 |           NESTED LOOPS                   |                              |       |       |       |                                   
    |  11 |            NESTED LOOPS                  |                              |       |       |       |                                   
    |  12 |             NESTED LOOPS OUTER           |                              |       |       |       |                                   
    |  13 |              NESTED LOOPS                |                              |       |       |       |                                   
    |  14 |               TABLE ACCESS FULL          | TMP_NODE_WALK_ALL_NODES      |       |       |       |                                   
    |  15 |               TABLE ACCESS BY INDEX ROWID| NODE                         |       |       |       |                                   
    |* 16 |                INDEX UNIQUE SCAN         | PK_NODE_NODE_ID              |       |       |       |                                   
    PLAN_TABLE_OUTPUT                                                                                                                           
    |  17 |              TABLE ACCESS BY INDEX ROWID | NODE                         |       |       |       |                                   
    |* 18 |               INDEX UNIQUE SCAN          | PK_NODE_NODE_ID              |       |       |       |                                   
    |  19 |             TABLE ACCESS BY INDEX ROWID  | NODE                         |       |       |       |                                   
    |* 20 |              INDEX UNIQUE SCAN           | PK_NODE_NODE_ID              |       |       |       |                                   
    |  21 |            TABLE ACCESS BY INDEX ROWID   | NODE                         |       |       |       |                                   
    |* 22 |             INDEX UNIQUE SCAN            | PK_NODE_NODE_ID              |       |       |       |                                   
    |  23 |           TABLE ACCESS BY INDEX ROWID    | NODE_RULES                   |       |       |       |                                   
    |* 24 |            INDEX RANGE SCAN              | IDX_NODE_RULES_NODE_ID       |       |       |       |                                   
    |* 25 |          TABLE ACCESS BY INDEX ROWID     | RULES                        |       |       |       |                                   
    |* 26 |           INDEX RANGE SCAN               | IDX_RULES_COMBINED_RULE_ID   |       |       |       |                                   
    |* 27 |         INDEX RANGE SCAN                 | IDX_NODE_NODE_TYPE_ID        |       |       |       |                                   
    |* 28 |      SORT JOIN                           |                              |       |       |       |                                   
    |  29 |       VIEW                               |                              |       |       |       |                                   
    |  30 |        NESTED LOOPS OUTER                |                              |       |       |       |                                   
    |  31 |         TABLE ACCESS FULL                | TMP_NODE_WALK_ALL_NODES      |       |       |       |                                   
    |  32 |         TABLE ACCESS BY INDEX ROWID      | UNIVERSAL_RULES              |       |       |       |                                   
    |* 33 |          INDEX RANGE SCAN                | IDX_UNIVERSAL_RULES_NODE     |       |       |       |                                   
    |  34 |     NESTED LOOPS OUTER                   |                              |       |       |       |                                   
    |  35 |      NESTED LOOPS                        |                              |       |       |       |                                   
    |  36 |       NESTED LOOPS                       |                              |       |       |       |                                   
    |  37 |        NESTED LOOPS                      |                              |       |       |       |                                   
    PLAN_TABLE_OUTPUT                                                                                                                           
    |  38 |         TABLE ACCESS BY INDEX ROWID      | NODE                         |       |       |       |                                   
    |* 39 |          INDEX RANGE SCAN                | IDX_NODE_NODE_TYPE_ID        |       |       |       |                                   
    |  40 |         TABLE ACCESS BY INDEX ROWID      | UNIVERSAL_RULES              |       |       |       |                                   
    |* 41 |          INDEX RANGE SCAN                | IDX_UNIVERSAL_RULES_ACCOUNT  |       |       |       |                                   
    |* 42 |        TABLE ACCESS BY INDEX ROWID       | NODE                         |       |       |       |                                   
    |* 43 |         INDEX UNIQUE SCAN                | PK_NODE_NODE_ID              |       |       |       |                                   
    |* 44 |       TABLE ACCESS BY INDEX ROWID        | RULES                        |       |       |       |                                   
    |* 45 |        INDEX UNIQUE SCAN                 | PK_RULES_RULE_ID_VERSION_ID  |       |       |       |                                   
    |* 46 |      INDEX RANGE SCAN                    | IDX_RULES_RULE_ID_STATUS     |       |       |       |                                   
    Predicate Information (identified by operation id):                                                                                         
       6 - filter("NODE"."PARENT_NODE_ID" IS NULL)                                                                                              
      16 - access("AN"."START_NODE_ID"="SN"."NODE_ID")                                                                                          
      18 - access("SN"."PARENT_NODE_ID"="SP"."NODE_ID"(+))                                                                                      
      20 - access("AN"."EFFECTIVE_NODE_ID"="EN"."NODE_ID")                                                                                      
      22 - access("AN"."SHORTCUT_NODE_ID"="N"."NODE_ID")                                                                                        
      24 - access("N"."NODE_ID"="NR"."NODE_ID")                                                                                                 
      25 - filter(',A,P,' LIKE '%,'||"SYS_ALIAS_1"."STATUS"||',%')                                                                              
    PLAN_TABLE_OUTPUT                                                                                                                           
      26 - access("NR"."RULE_ID"="SYS_ALIAS_1"."COMBINED_RULE_ID")                                                                              
      27 - access("NODE"."NODE_TYPE_ID"="SN"."HIERARCHY_TYPE_ID")                                                                               
      28 - access("SYS_ALIAS_1"."RULE_ID"="UR"."RULE_ID"(+))                                                                                    
           filter("SYS_ALIAS_1"."VERSION_ID"="UR"."VERSION_ID"(+) AND                                                                           
                  "SYS_ALIAS_1"."RULE_ID"="UR"."RULE_ID"(+))                                                                                    
      33 - access("UR"."NODE_ID"(+)="AN"."START_NODE_ID")                                                                                       
      39 - access("NODE"."NODE_TYPE_ID"=9)                                                                                                      
      41 - access("UR"."ACCOUNT_ID"='0069')                                                                                                     
      42 - filter("N"."HIERARCHY_TYPE_ID"=9)                                                                                                    
      43 - access("UR"."NODE_ID"="N"."NODE_ID")                                                                                                 
      44 - filter(',A,P,' LIKE '%,'||"R"."STATUS"||',%')                                                                                        
      45 - access("UR"."RULE_ID"="R"."RULE_ID" AND "UR"."VERSION_ID"="R"."VERSION_ID")                                                          
      46 - access("R"."RULE_ID"="RP"."RULE_ID"(+) AND "RP"."STATUS"(+)='P')                                                                     
    Note: rule based optimization                                                                                                               
    28 rows selected.
    Elapsed: 00:00:04:42
    78 rows selected.
    Elapsed: 00:00:08:86Any additional help appreciated
    I am going to try and run a trace against the sql now and see if i can get any more information
    Thanks in advance
    Declan

  • Gain visibility into JDE with Oracle BAM - New Technote Posted on BAM OTN

    Hi
    We have some new content posted on BAM OTN .
    Check out the new JD Edwards - BAM11g technote.
    http://www.oracle.com/technetwork/middleware/bam/overview/index.html - Technical Notes under 11g section
    This adds to our technotes for collecting events from various sources to bring an end to end real time monitoring solution.
    Thanks
    Payal

    What about those WARNING messages - in Apache Ant Log - about src not found? How do I get rid of them? Could it be they are related somehow to this problem?
    When I run validateFodConfigSettings i get this log:
    validateFodConfigSettings:
         [echo] Validating fod config settings through wlst
         [copy] Copying 1 file to D:\DOWNLOADS\SOA 11gR1\FusionOrderDemo_R1PS4\CompositeServices\bin
         [java]
         [java] Initializing WebLogic Scripting Tool (WLST) ...
         [java]
         [java] Welcome to WebLogic Server Administration Scripting Shell
         [java]
         [java] Type help() for help on available commands
         [java]
         [java] Checking fod settings .. - admin server: 127.0.0.1 port: 7001
         [java] Connecting to t3://127.0.0.1:7001 with userid weblogic ...
         [java] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'SOAOSBPS4DevDomain'.
         [java]
         [java] Warning: An insecure protocol was used to connect to the
         [java] server. To ensure on-the-wire security, the SSL port or
         [java] Admin port should be used instead.
         [java]
         [java] Connecting to target managed server: Servers/soa_server1
         [java] [MBeanServerInvocationHandler]com.bea:Name=soa_server1,Type=Server
         [java] Checking status of managed server - must be running
         [java] Checking listen port of managed server - from build properties: 8001
         [java] Sending ping to 127.0.0.1:8001 - for soa-infra app
         [java] Response:  404
         [java] Problem invoking WLST - Traceback (innermost last):
         [java]   File "D:\DOWNLOADS\SOA 11gR1\FusionOrderDemo_R1PS4\CompositeServices\bin\checkFODSettings.py", line 39, in ?
         [java] NameError: SOAInfraAppNotFound
         [java]
    BUILD FAILED
    D:\DOWNLOADS\SOA 11gR1\FusionOrderDemo_R1PS4\CompositeServices\bin\common-sca-tools.xml:497: Java returned: 1
    Total time: 3 seconds

  • Help Making Program Run Faster

    Hi there,
      I am an electrical technologsit student working on our final project.  I am trying to figure out how to make LabView read our I/Os faster.  They seem to only be reading them about once every 2 seconds. I have attached a copy of our code.  Thanks.

    This code is beyond repair, maybe you want to start from scratch.
    Many of CPU burning loops that suck all power out of the CPU, some with literally tons of property nodes that write the same property over and over again, millions of times per second. A property only needs to be written when the value changes!
    All UI loops need a wait.
    Emergency stop will not work due to dataflow problems.
    Almost endless sequences, many in duplicates.
    Full of FOR loops with N=1. They can all be deleted without change in result.
    All these small while loops in the sequences make no sense at all.
    Duplicate indicator names (image: why are there two indicators with the same name: "Station ID"? This is very dangerous because you use a local variable. There is no way to tell the parent of the local by looking at the code if they have the same name!)
    Race conditions! (Image: Why do you write to a terminal and then read from a local?? Most likely, the local gets read before the terminal is written, thus you have a race condition and potentially unpredictable results. Delete the local and just branch from the wire going to the terminal).
    Your diagram is way too big (~30 monitor screens!!). With proper coding habits (state machine!), all this code should fit easily on one screen. try it!
    Message Edited by altenbach on 04-01-2009 05:41 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    duplicates&race.png ‏16 KB

  • Fans Running Fast With Kona Card LHe?

    Hi,
    I have a Power Mac G5 Quad, and it makes noise with fan kicking on after it goes to the sleep mode? I took all the 3rd hardware off it, memory, drives and etc. The LHe Kona I have installed and when my quad is put on the "sleep" mode the fans kick on?, but when I move my mouse it stops? Anyone of you guy have this problem? Thank you Tim C.
    Power Mac G5 Quad   Mac OS X (10.4.6)   3.5 Gbs Memory

    Hi
    Cool thank for the info, now I know I am not alone, hmmm tried taking out all the hardware added hardware too, made it stop, as I tested each area, drive, memory, Kona card, etc, just going to bite the bullet, dont know what else to do, contacted support, no answers hmmm T.

  • I use Firefox. My MacBook Pro is pretty low on space. I've been told that Chrome is a "lighter" browser, therefore my Mac might run faster with Chrome true?

    I am trying to unload applications I do not need and moving video/pix files to other storage locations

    hello hlascarro, i don't think that the sentiment that chrome would be "lighter" than firefox can be considered valid - i'm on windows, so i cannot say if it's the same for mac too, but the chrome install-folder here takes nearly triple the amount of disk space than firefox (138MB vs. 50MB) and in numerous browser comparisons firefox was generally also using less RAM resources...
    <br>http://www.tomshardware.com/reviews/chrome-27-firefox-21-opera-next,3534-9.html
    <br>http://lifehacker.com/5976082/browser-speed-tests-chrome-24-firefox-18-internet-explorer-10-and-opera-1212

  • My mac is runing slowly and the spinning wheel is on more often. How do i get it to run faster?

    My iMac is running more slowly than usual, with the spinning wheel coming on more often and interrupting my work. Is anyone able to assist me in making it run faster, as it was before?
    Thank you.

    First, back up all data immediately, as your boot drive might be failing.
    Take these steps when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 2
    You must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way as above. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Post the 50 or so most recent messages in the log — the text, please, not a screenshot.
    When posting a log extract, be selective. Don't post more than is requested.
    PLEASE DO NOT INDISCRIMINATELY DUMP THOUSANDS OF LINES FROM THE LOG INTO A MESSAGE. If you do that, I will not respond.
    Important: Some personal information, such as your name, may appear in the log. Edit it out before posting.

  • Installed Lion on late 2010 Air-Seems to Run Faster

    Can anyone confirm of rejet this notion.  My MacBook Air, late 2010 model, 1.86GHZ seems to run faster with Lion installed compared to Snow Leopard.  Apple has streamlined OSX previoulsy and was wondering if they have done it again.  Certainly not having to support Rosetta and related software should have reduced OS clutter.
    Thanks for any info you can provide.

    For one thing the kernel is now running in 64 bit mode...

Maybe you are looking for

  • Time Machine - ambiguous error message, cannot backup

    I've been without use of Time Machine for sometime (months) now.  I've been getting the following error: My backup drive (Seagate FreeAgent GoFlex - 320GB) was a attached to my Airport Extreme, but in desperation I moved it to being directly attached

  • 5.0.1 is a nightmare!

    I was an Android man, always buying the best Droids available. When the iPhone 4s came out I decided it was time to go Apple, so I stood in line early in the morning and was as happy as could be when mine was in my hand! The first few weeks were a to

  • How can I add a photo to a newly created photo book it the photo wasn't in the album I made the book from? thnx

    how can I add a photo to a newly created photo book it the photo wasn't in the album I made the book from? thnx

  • English + different language key layout/texts

    Hello! Could a kind soul please help me get directions to solve my problems with locale, keyboard layout, and font display? Here's what I'm trying to accomplish. System talks to me in English Date and time is in the international format (YMD) I can f

  • How to make a multi column display in popup

    Hi, I have a popup component which gets invoked on the click of a command button. The popup display a tree with 2 level hierarchy. Since at the level 1 there are many nodes, and all getting displayed in one column, there is vertical scrollbar coming