Calendar Migration 10g - 10g

Hi,
We are currently running calendar 10.1.2 and because of a few problems, Oracle recommended a full OCS reinstall. So right now, we have Email & RTC running in a new oracle home, while the calendar is running in the old Oracle Home. We are having trouble migrating all our data to the new calendar install, using the unicpoutu...it doesn't seem to include everything (such as "Notes" from Outlook). Does anyone have any suggestions for how we could do this, for example migrating the calendar database to our new Oracle Home?
Thanks,
Bill

Hi , i followed the below procedure and it worked fine for 20 .pll files and up to 1500 form modules!!!!!
1)Open the calendar.pll and all the other .pll files you have in the Forms Builder environment.
2)Double-click the icon on the source code of each .pll file in the object navigator (in order to cause the system to ask you if you want to save the changes-see below).
3)Close the .pll source code window.
4)Select the .pll file (be careful:not a function/procedure which contained in the .pll file).
5)Press the[b] 'delete' button of object navigator.
6)Answer 'yes' to the question 'Do you want to save it?'
You ' are done...
As regards the object groups , you should simply have opened them in the object navigator before trying to open the modules to compile them...
Simon

Similar Messages

  • After Migrating from 10g to 11g Geeting problems with Guided navigations.

    After Migrating from 10g to 11g Geeting problems with Guided navigations and section navigations not working.
    And we are getting the following error <<odbc driver returned an error (SQLExecDirectW)>> where we have used navigations.
    In 10G we have Guided navigation Reports to display the Reports links and intermediate reports for conditionally displaying the Dashboard section(Reports) but after migrating to 11g Guided navigation reports and conditional reports are not working..
    We know that in 11g section navigation replaced with conditions and Guided navigation replaced with action link.. but
    do we need to recreate those reports in actions and condition or is there any work around avoid reworking.

    Hi Both,
    Thanks for the reply ...
    For Guided navigation we are getting like below error:
    Odbc driver returned an error (SQLExecDirectW).
    For Conditional dashboard section we are getting like below error:
    "saw.aViewsToRefresh = [];saw.aViewsToRefresh['d:dashboard~p:1egt6il5utl0uu8n~s:3jsmgfs3c1r4tn7c~n:condition'] = true;saw.aViewsToRefresh['d:dashboard~p:1egt6il5utl0uu8n~s:nos5q43jvjmi643b~n:condition'] = true;"

  • NQS ERROR:14025 NO FACT TABLE EXISTS -after migrating from 10g to 11g

    NQS ERROR:14025 NO FACT TABLE EXISTS AT THE REQUESTED LEVEL OF DETAIL in all the reports after migrating from 10g to 11g ...
    then we applied the patch (One-off Patch for Bug: 11850704) for the error <<NQS ERROR:14025 NO FACT TABLE EXISTS AT THE REQUESTED LEVEL OF DETAIL>>
    But after applying the above the above patch we are still getting the same error.
    but in the above patch instructions file - Post deployment instructions to create the Variable
    Post Install Instructions:
    - To revert to the 10g navigator behavior for handling conforming dimensions,
    you must set the following session variable via an init block in the RPD:
    NO_FORCE_TO_DETAIL_BIN=1
    The default value for the above variable is 0.
    - Restart all servers (Admin Server and all Managed Server(s))
    but we didn’t find the process to create the specified variable and Initialization block in the RPD
    Can you please suggest us how to go further.
    Our questions are:

    Hi
    Refer the below thread.
    obiee 11g non-conforming dimensions and nQSError 14025
    Might be help you/
    Thanks,
    satya

  • Complexities of Migrating Oracle 10g from Solaris to HP-UX Itanium

    Can anyone share their experiences with regards to migrating Oracle 10g from Solaris on a Sun platform to HP-UX 11i v3 (Itanium) on HP Integrity servers. We are trying to consider all the risks associated with such a move. How much time delay did you experience in resolving unexpected issues along the way? How complex is the process? If you had to do it all over again, would you?
    In addtion, we will also be migrating Oracle eBusiness Suite 11i (11.5.10.2).
    We appreciate your helpful feedback.
    Thank you.

    Here is more information:
    - the database size is currently about 500GB
    - our ASP allows us to be down as much as we want however the company's own needs can only allow a downtime window of two days (over the weekend)
    - i presume further that RMAN might be an option to use to backup the database and instance to some transportable media
    - it would take about four days to get that media from the ASP to our facility so durign that time the instance at the ASP would have to be used
    - after we get the backup media and load everything into our in-house site, our last step would be to find a way to migrate all changes over the WAN. I am told that unless the platforms are the same on both ends, mirroring will be extremely difficult or impossible. If we have a platform that is different from the ASP platform, then the migration of all changes will require conversion and other mechanisms. I am told that HP-UX has so much complexities that this will be a daunting task to accomplish.
    Do you have any opinions and recommnedations?

  • I had migrated Oracle 10g database from Windows to Oracle 11g Linux

    I had migrated Oracle 10g database from Windows to Oracle 11g Linux.  The database is performing very slow.
    Please guide me where I have to begin (starting point) looking into it.
    Some document stated gather system statistics.  How to check system statistics is up to date
    What are the crucial initialization parameter ?

    Hi,
    Let me just point you out to the documentation, which may concern you:
    I had migrated Oracle 10g database from Windows to Oracle 11g Linux.  The database is performing very slow.
    Managing Optimizer Statistics
    How to check system statistics is up to date
    Managing Optimizer Statistics
    What are the crucial initialization parameter ?
    Configuring a Database for Performance
    Thanks &
    Best Regards,

  • Question on migrating oracle 10g from solaries to linux?

    Can some one tell the exactly what is the advantage of migrating oracle 10g from solaries to linux?
    Thank you,
    hb

    call me
    [email protected]

  • Migrating to 10g from Oracle 7

    Hi all,
    The company is planing to migrate to 10g from Oracle 7.
    I have heard that it is impossible to migrate directly from 7 to 10g using dbua.
    Is it possible using export/import. I have not worked on 7 or 10g.
    Also how can we move from forms3 to forms 6i.
    Thanks in Advance,
    Sanju

    As for Forms, read the documentation and view the tutorials on
    http://www.oracle.com/technology/products/forms/htdocs/upgrade/index.html
    (especially 'Upgrade character mode Forms to the Web')
    Also: http://www.oracle.com/technology/products/forms/pdf/264850.pdf
    You will probably first have to upgrade to Forms 4.5, then to 6i.
    Going from character mode to a graphical user interface is not so easy. You may consider a professional tool like the converter from Kumaran.

  • Migration of  10g RAC database to new sever which includes 11g upgrade

    Hello all,
    I have requirement here to migrate 10g RAC database from one server to another server as part of migration i want to perform upgrade to 11g as well.
    To Help me out.Please post your inputs or way to perform the task.
    Precautions to be taken while doing the activity.
    Please find the below for more info
    Old Box:
    Current environment
    RAC -2node
    ASM
    Database Version 10.2.02
    Os:HP-UX 11.21
    New Box:
    New environment should be
    RAC -2node
    ASM
    Database Version 11.2
    Os:HP-UX 11.31
    Thanks for the help in advance
    Anand

    Pl do not post duplicate threads - Migration of  10g RAC database to new sever which includes 11g upgrade

  • Forms Migration to 10g

    Hi
    We have an urgent following requirement in which we need your expert help,
    Need to migrate some of our Forms 6.0 Character Based Forms to Forms 10g.
    Does any body know how to achieve this.
    Any help on the above will be highly appreciated.
    Regards
    Jeet

    Hi,
    We've just completed a migration of 740 character based 6i forms to web-based 10g.
    Let me start by saying that it is not necessarily as easy as some posters are suggesting.
    Yes, the standard upgrade will result in a "working" form, but the likelihood is that your upgraded form will not look very good, and will have many features that are undesirable.
    Here are just a few things to look out for:
    Fonts:- on character mode the font is fixed with, on the web you will need to change to a proportional font if you want your form to look good.
    Field Bevel:- on character mode the field has no bevel, again to look good on the web, the fields need a bevel, this will eat into the size of the field and small fields especially will need to be widened - if you have a lot of very busy forms then this is no easy task as all canvases will need to be checked to ensure they look ok.
    Mouse usage:- on character mode you will have no mouse, to replicate the same effect on the web then you will have to limit mouse navigation to 'item' at the form level for every form. If you don't do this then users will be able to move between fields with the mouse and bypass any logic that you have in key navigation triggers - which is probably a lot. If you want to enable mouse usage then you will have to re-design each form extensively to get things right.
    Host exits:- on character mode any host exits will run under the account of the user that is logged in, on the web they will run under the account that Application Server is installed under - you need to be aware of the implications there.
    There are many other considerations that we had that were specific to our installation such as printing etc.
    We decided to take the approach of automating some tasks by writing scripts to update a lot of forms to do things like making sure all fields had the same look and feel, and to put a calendar pop-up on all date fields etc. You can do this using the Forms CAPI or JDAPI if you've got good Java or C skills. We didn't so we used the FormsMaster tool from ORCLToolbox, which uses it's own script language which is more like Pascal or PL/SQL - it's a great tool.
    Anyway hope this helps, if you've got a lot of forms good luck, it took us about 6 months in all.

  • Application has problems when migrated from 10g to 11g

    Hi there,
    I am hoping someone can shed some light on a problem I have in moving an application from Oracle 10g to Oracle 11g. The app works fine on 10g (uses Apache webserver with PL/SQL module, and APEX 3.1.2.00.2), but on 11g using the embedded web server and APEX 3.2.0.00.27, it doesnt. Most of the app works fine, but there are a couple of pages that provide the ability to add child rows to a parent/child relationship, where the parameter passing mechanism from one page to the next appears to suffer from some sort of corruption. I have traced this using the "session" and "debug" buttons on the developer interface, which show that the values of the parameters get changed inexplicably, when branching from one page to the next - even when the page is actually branching to itself.
    I am using the "Set these items, "With these values" fields in the branch, and have verified that the correct values are being associated with the correct items in the application builder. But while this does work correctly under 10g, with 11g, the wrong values end up being passed. Just prior to the branch the set of parameters have the correct values, but immediately after the branch, one of the values is NULL, another has the value of a different item, and a third has a totally random value - I have no idea were it comes from!
    I migrated the application from 10g to 11g using the APEX application developer's Export/Import options. There have been no other changes. Should this have worked? If so, any ideas what might have gone wrong?
    Thanks,
    Sid.

    Well, I managed to solve this, but not in a way that makes much sense.
    In desperation (I had tried almost everything else!) I changed the value of "Cached" in the page settings from "No" to "Yes", and ran the app, but the page didnt render correctly (in either Firefox or IE7) - in fact all that displayed was the developers toolbar at the bottom of the page. I changed the value of "Cached" back to "Y", ran the app again, and hey presto - everything worked fine! I actually did this a second time with a fresh import of the app from 10g, just to be sure I wasnt seeing things. I wasnt!
    There was just one further issue - everything worked fine apart from this section of code in a page process:-
    ELSIF (:p9_filter_type = 5) THEN
    IF (:p9_x_gene_list IS NOT NULL) THEN
    :p9_filter := :p9_x_gene_list;
    END IF;
    :p9_entity_types := 'GENE';
    END IF;
    In 11g the value of :p9_entity_types was not being set to 'GENE' when :p9_filter_type was 5. This was (and still is) working in 10g. I changed the code as follows:-
    ELSIF (:p9_filter_type = 5) THEN
    :p9_entity_types := 'GENE';
    IF (:p9_x_gene_list IS NOT NULL) THEN
    :p9_filter := :p9_x_gene_list;
    END IF;
    END IF;
    ... and now it works fine in 11g as well.
    Only wish I knew why!

  • Elapsed time went up from 1min to 22min after migrating from 10g to 11g

    I just migrated one of my database from 10.2.0.2(Red hat Linux, 2 node RAC, sga= 1Gb) to 11.2.0.1 (red Hat Linux 2 Node RAC, SGA=7GB)
    The timing for one of the specific query shoot up from 1min to 22 min.
    Following is the query:
    SELECT /*+ gather_plan_statistics */   docr.DRCONTENT
        FROM      WRPADMIN.T_DOCREPORT docr, WRPADMIN.t_document doc
               WHERE doc.docid = docr.docid
       AND 294325 = doc.rdocid
               AND ( ( ( (EXISTS
                             (SELECT   'X'
                                FROM   WRPADMIN.t_mastermap mstm1,
                                       WRPADMIN.t_docdimmap docdim1
                               WHERE       doc.docid = mstm1.docid
                                       AND mstm1.dimlvlid = 2
                                       AND mstm1.mstmapid = docdim1.mstmapid
                                       AND docdim1.dimid IN (86541))))
                      OR (EXISTS
                             (SELECT   'X'
                                FROM   WRPADMIN.t_mastermap mstm2,
                                       WRPADMIN.t_docdimmap docdim2
                               WHERE       doc.rdocid = mstm2.rdocid
                                       AND mstm2.dimlvlid = 1
                                       AND mstm2.mstmapid = docdim2.mstmapid
                                       AND docdim2.dimid IN (28388)))))
    ORDER BY   doc.DOCIDThe select field (docr.DRCONTENT) is a CLOB column.
    Following is the plan and statistics in 10g
    Statistics
              1  recursive calls
              0  db block gets
         675018  consistent gets
          52225  physical reads
              0  redo size
       59486837  bytes sent via SQL*Net to client
       27199426  bytes received via SQL*Net from client
         103648  SQL*Net roundtrips to/from client
              1  sorts (memory)
              0  sorts (disk)
          51823  rows processed
    SQL>
    Plan hash value: 129748299
    | Id  | Operation                               | Name           | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  |  OMem |  1Mem | Used-Mem |
    |   1 |  SORT ORDER BY                          |                |      1 |     50 |  51823 |00:00:14.72 |     627K|   5379 |    26M|  1873K|   23M (0)|
    |*  2 |   FILTER                                |                |      1 |        |  51823 |00:00:08.90 |     627K|   5379 |       |       |          |
    |   3 |    TABLE ACCESS BY GLOBAL INDEX ROWID   | T_DOCREPORT    |      1 |      1 |  51823 |00:00:05.42 |     159K|   3773 |       |       |          |
    |   4 |     NESTED LOOPS                        |                |      1 |     50 |    103K|00:00:12.65 |     156K|    628 |       |       |          |
    |   5 |      TABLE ACCESS BY GLOBAL INDEX ROWID | T_DOCUMENT     |      1 |     50 |  51823 |00:00:00.15 |     481 |    481 |       |       |          |
    |*  6 |       INDEX RANGE SCAN                  | RDOC2_INDEX    |      1 |    514 |  51823 |00:00:00.09 |     245 |    245 |       |       |          |
    |*  7 |      INDEX RANGE SCAN                   | DOCID9_INDEX   |  51823 |      1 |  51823 |00:00:00.46 |     155K|    147 |       |       |          |
    |*  8 |    TABLE ACCESS BY GLOBAL INDEX ROWID   | T_DOCDIMMAP    |  51823 |      1 |      0 |00:00:04.52 |     467K|   1140 |       |       |          |
    |   9 |     NESTED LOOPS                        |                |  51823 |      1 |    207K|00:00:03.48 |     415K|    479 |       |       |          |
    |* 10 |      TABLE ACCESS BY GLOBAL INDEX ROWID | T_MASTERMAP    |  51823 |      1 |  51823 |00:00:01.20 |     207K|    190 |       |       |          |
    |* 11 |       INDEX RANGE SCAN                  | DOCID4_INDEX   |  51823 |      1 |  51824 |00:00:00.41 |     155K|    146 |       |       |          |
    |* 12 |      INDEX RANGE SCAN                   | MSTMAPID_INDEX |  51823 |      1 |    103K|00:00:00.43 |     207K|    289 |       |       |          |
    |* 13 |     TABLE ACCESS BY GLOBAL INDEX ROWID  | T_DOCDIMMAP    |      1 |      1 |      1 |00:00:01.05 |     469 |    466 |       |       |          |
    |  14 |      NESTED LOOPS                       |                |      1 |      1 |     15 |00:00:14.62 |     468 |    465 |       |       |          |
    |* 15 |       TABLE ACCESS BY GLOBAL INDEX ROWID| T_MASTERMAP    |      1 |      1 |      1 |00:00:01.02 |     464 |    463 |       |       |          |
    |* 16 |        INDEX RANGE SCAN                 | RDOCID3_INDEX  |      1 |    629 |  44585 |00:00:00.29 |     198 |    198 |       |       |          |
    |* 17 |       INDEX RANGE SCAN                  | MSTMAPID_INDEX |      1 |      1 |     14 |00:00:00.02 |       4 |      2 |       |       |          |
    Predicate Information (identified by operation id):
       2 - filter(( IS NOT NULL OR  IS NOT NULL))
       6 - access("DOC"."RDOCID"=294325)
       7 - access("DOC"."DOCID"="DOCR"."DOCID")
       8 - filter("DOCDIM1"."DIMID"=86541)
      10 - filter("MSTM1"."DIMLVLID"=2)
      11 - access("MSTM1"."DOCID"=:B1)
      12 - access("MSTM1"."MSTMAPID"="DOCDIM1"."MSTMAPID")
      13 - filter("DOCDIM2"."DIMID"=28388)
      15 - filter("MSTM2"."DIMLVLID"=1)
      16 - access("MSTM2"."RDOCID"=:B1)
      17 - access("MSTM2"."MSTMAPID"="DOCDIM2"."MSTMAPID")following is the plan in 11g:
    Statistics
             32  recursive calls
              0  db block gets
       20959179  consistent gets
         105948  physical reads
            348  redo size
       37320945  bytes sent via SQL*Net to client
       15110877  bytes received via SQL*Net from client
         103648  SQL*Net roundtrips to/from client
              3  sorts (memory)
              0  sorts (disk)
          51823  rows processed
    SQL>
    Plan hash value: 1013746825
    | Id  | Operation                               | Name           | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  |  OMem |  1Mem | Used-Mem |
    |   0 | SELECT STATEMENT                        |                |      1 |        |  51823 |00:01:10.08 |      20M|   2306 |       |       |          |
    |   1 |  SORT ORDER BY                          |                |      1 |      1 |  51823 |00:01:10.08 |      20M|   2306 |  9266K|  1184K| 8236K (0)|
    |*  2 |   FILTER                                |                |      1 |        |  51823 |00:21:41.79 |      20M|   2306 |       |       |          |
    |   3 |    NESTED LOOPS                         |                |      1 |        |  51823 |00:00:01.95 |    8054 |   1156 |       |       |          |
    |   4 |     NESTED LOOPS                        |                |      1 |    335 |  51823 |00:00:00.99 |    4970 |    563 |       |       |          |
    |   5 |      TABLE ACCESS BY GLOBAL INDEX ROWID | T_DOCUMENT     |      1 |    335 |  51823 |00:00:00.38 |     402 |    401 |       |       |          |
    |*  6 |       INDEX RANGE SCAN                  | RDOC2_INDEX    |      1 |    335 |  51823 |00:00:00.17 |     148 |    147 |       |       |          |
    |*  7 |      INDEX RANGE SCAN                   | DOCID9_INDEX   |  51823 |      1 |  51823 |00:00:00.55 |    4568 |    162 |       |       |          |
    |   8 |     TABLE ACCESS BY GLOBAL INDEX ROWID  | T_DOCREPORT    |  51823 |      1 |  51823 |00:00:00.94 |    3084 |    593 |       |       |          |
    |   9 |    CONCATENATION                        |                |  51823 |        |  51823 |00:22:16.08 |      20M|   1150 |       |       |          |
    |  10 |     NESTED LOOPS                        |                |  51823 |        |      0 |00:00:02.71 |     221K|   1150 |       |       |          |
    |  11 |      NESTED LOOPS                       |                |  51823 |      1 |    103K|00:00:01.19 |     169K|    480 |       |       |          |
    |* 12 |       TABLE ACCESS BY GLOBAL INDEX ROWID| T_MASTERMAP    |  51823 |      1 |  51823 |00:00:00.72 |     108K|    163 |       |       |          |
    |* 13 |        INDEX RANGE SCAN                 | DOCID4_INDEX   |  51823 |      1 |  51824 |00:00:00.52 |   56402 |    163 |       |       |          |
    |* 14 |       INDEX RANGE SCAN                  | MSTMAPID_INDEX |  51823 |      2 |    103K|00:00:00.60 |   61061 |    317 |       |       |          |
    |* 15 |      TABLE ACCESS BY GLOBAL INDEX ROWID | T_DOCDIMMAP    |    103K|      1 |      0 |00:00:01.14 |   52584 |    670 |       |       |          |
    |  16 |     NESTED LOOPS                        |                |  51823 |        |  51823 |00:22:13.19 |      20M|      0 |       |       |          |
    |  17 |      NESTED LOOPS                       |                |  51823 |      1 |    725K|00:22:12.31 |      20M|      0 |       |       |          |
    |* 18 |       TABLE ACCESS BY GLOBAL INDEX ROWID| T_MASTERMAP    |  51823 |      1 |  51823 |00:22:11.09 |      20M|      0 |       |       |          |
    |* 19 |        INDEX RANGE SCAN                 | RDOCID3_INDEX  |  51823 |    336 |   2310M|00:12:08.04 |    6477K|      0 |       |       |          |
    |* 20 |       INDEX RANGE SCAN                  | MSTMAPID_INDEX |  51823 |      2 |    725K|00:00:00.83 |   51838 |      0 |       |       |          |
    |* 21 |      TABLE ACCESS BY GLOBAL INDEX ROWID | T_DOCDIMMAP    |    725K|      1 |  51823 |00:00:00.92 |   51823 |      0 |       |       |          |
    Predicate Information (identified by operation id):
       2 - filter( IS NOT NULL)
       6 - access("DOC"."RDOCID"=294325)
       7 - access("DOC"."DOCID"="DOCR"."DOCID")
      12 - filter("MSTM1"."DIMLVLID"=2)
      13 - access("MSTM1"."DOCID"=:B1)
      14 - access("MSTM1"."MSTMAPID"="DOCDIM1"."MSTMAPID")
      15 - filter((INTERNAL_FUNCTION("DOCDIM1"."DIMID") AND (("DOCDIM1"."DIMID"=86541 AND "MSTM1"."DIMLVLID"=2 AND "MSTM1"."DOCID"=:B1) OR
                  ("DOCDIM1"."DIMID"=28388 AND "MSTM1"."DIMLVLID"=1 AND "MSTM1"."RDOCID"=:B2))))
      18 - filter(("MSTM1"."DIMLVLID"=1 AND (LNNVL("MSTM1"."DOCID"=:B1) OR LNNVL("MSTM1"."DIMLVLID"=2))))
      19 - access("MSTM1"."RDOCID"=:B1)
      20 - access("MSTM1"."MSTMAPID"="DOCDIM1"."MSTMAPID")
      21 - filter((INTERNAL_FUNCTION("DOCDIM1"."DIMID") AND (("DOCDIM1"."DIMID"=86541 AND "MSTM1"."DIMLVLID"=2 AND "MSTM1"."DOCID"=:B1) OR
                  ("DOCDIM1"."DIMID"=28388 AND "MSTM1"."DIMLVLID"=1 AND "MSTM1"."RDOCID"=:B2))))Calling all performance experts. Any ideas ??
    Edited by: dm_ptldba on Oct 8, 2012 7:50 AM

    If you check lines 2, 3, 8, and 13 in the 10g plan you will see that Oracle has operated your two EXISTS subqueries separately (there is a bug with multiple filter subqueries in that version that indents each subquery after the first one extra place, so the shape of the plan is a little deceptive). The statistics show that the second subquery only ran once because existence was almost always satistfied by the first.
    In the 11g plan, lines 2, 3, and 9 show that the optimizer has transformed your TWO subqueries into a single subquery, then turned transformed the single subquery into a concatenation and this has, in effect, made it execute both subqueries for every row from the driving table - all the extra work appears from the redundant execution of the thing that was the second EXISTS subquery.
    If you extract the OUTLINE from the execution plans (add 'outline' to the call to dbms_xplan as one of the format options) you may see some hint that shows the optimizer combining the two subqueries - if so then put in the "NO_xxx" hint to block it. Alternatively you could simply try adding the hint stop ALL cost-based query transformations /*+ no_query_transformation */
    Regards
    Jonathan Lewis

  • Query is taking long time to execute after migrating to 10g r2

    Hi
    We recently migrated the database from 9i to 10gr2 ((10.2.0.2.0).. This query was running in acceptable time before the upgrade in 9i.. Now it is taking a long long time to execute this... Can you please let me know what should i do to improve the performance now.. We are running stats everyday..
    Thanks for your help,
    Shree
    ======================================================================================
    SELECT cr.cash_receipt_id
    ,cr.pay_from_customer
    ,cr.receipt_number
    ,cr.receipt_date
    ,cr.amount
    ,cust.account_number
    ,crh.gl_date
    ,cr.set_of_books_id
    ,sum(ra.amount_applied) amount_applied
    FROM AR_CASH_RECEIPTS_ALL cr
    ,AR_RECEIVABLE_APPLICATIONS_ALL ra
    ,hz_cust_accounts cust
    ,AR_CASH_RECEIPT_HISTORY_ALL crh
    ,GL_PERIOD_STATUSES gps
    ,FND_APPLICATION app
    WHERE cr.cash_receipt_id = ra.cash_receipt_id
    AND ra.status = 'UNAPP'
    AND cr.status <> 'REV'
    AND cust.cust_account_id = cr.pay_from_customer
    AND substr(cust.account_number,1,2) <> 'SI' -- Don't allocate Unapplied receipts FOR SI customers
    AND crh.cash_receipt_id = cr.cash_receipt_id
    AND app.application_id = gps.application_id
    AND app.application_short_name = 'AR'
    AND gps.period_name = 'May-07'
    AND crh.gl_date <= gps.end_date
    AND cr.receipt_number not like 'WH%'
    -- AND cust.customer_number = '0000079260001'
    GROUP BY cr.cash_receipt_id
    ,cr.pay_from_customer
    ,cr.receipt_number
    ,cr.receipt_date
    ,cr.amount
    ,cust.account_number
    ,crh.gl_date
    ,cr.set_of_books_id
    HAVING sum(ra.amount_applied) > 0;
    =========================================================================================
    Here is the explain plan in 10g r2 (10.2.0.2.0)
    PLAN_TABLE_OUTPUT
    Plan hash value: 2617075047
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)|
    | 0 | SELECT STATEMENT | | 92340 | 10M| | 513K (1)|
    |* 1 | FILTER | | | | | |
    | 2 | HASH GROUP BY | | 92340 | 10M| 35M| 513K (1)|
    | 3 | TABLE ACCESS BY INDEX ROWID | AR_RECEIVABLE_APPLICATIONS_ALL | 2 | 34 |
    | 4 | NESTED LOOPS | | 184K| 21M| | 510K (1)|
    |* 5 | HASH JOIN | | 99281 | 9M| 3296K| 176K (1)|
    |* 6 | TABLE ACCESS FULL | HZ_CUST_ACCOUNTS | 112K| 1976K| | 22563 (1)|
    |* 7 | HASH JOIN | | 412K| 33M| 25M| 151K (1)|
    | 8 | TABLE ACCESS BY INDEX ROWID | AR_CASH_RECEIPT_HISTORY_ALL | 332K| 4546K|
    | 9 | NESTED LOOPS | | 498K| 19M| | 26891 (1)|
    | 10 | NESTED LOOPS | | 2 | 54 | | 4 (0)|
    | 11 | TABLE ACCESS BY INDEX ROWID| FND_APPLICATION | 1 | 8 | | 1 (0)|
    |* 12 | INDEX UNIQUE SCAN | FND_APPLICATION_U3 | 1 | | | 0 (0)|
    | 13 | TABLE ACCESS BY INDEX ROWID| GL_PERIOD_STATUSES | 2 | 38 | | 3 (0)
    |* 14 | INDEX RANGE SCAN | GL_PERIOD_STATUSES_U1 | 1 | | | 2 (0)|
    |* 15 | INDEX RANGE SCAN | AR_CASH_RECEIPT_HISTORY_N2 | 332K| | | 1011 (1)
    PLAN_TABLE_OUTPUT
    |* 16 | TABLE ACCESS FULL | AR_CASH_RECEIPTS_ALL | 5492K| 235M| | 108K
    |* 17 | INDEX RANGE SCAN | AR_RECEIVABLE_APPLICATIONS_N1 | 4 | | | 2
    Predicate Information (identified by operation id):
    1 - filter(SUM("RA"."AMOUNT_APPLIED")>0)
    5 - access("CUST"."CUST_ACCOUNT_ID"="CR"."PAY_FROM_CUSTOMER")
    6 - filter(SUBSTR("CUST"."ACCOUNT_NUMBER",1,2)<>'SI')
    7 - access("CRH"."CASH_RECEIPT_ID"="CR"."CASH_RECEIPT_ID")
    12 - access("APP"."APPLICATION_SHORT_NAME"='AR')
    14 - access("APP"."APPLICATION_ID"="GPS"."APPLICATION_ID" AND "GPS"."PERIOD_NAME"='May-07')
    filter("GPS"."PERIOD_NAME"='May-07')
    15 - access("CRH"."GL_DATE"<="GPS"."END_DATE")
    16 - filter("CR"."STATUS"<>'REV' AND "CR"."RECEIPT_NUMBER" NOT LIKE 'WH%')
    17 - access("CR"."CASH_RECEIPT_ID"="RA"."CASH_RECEIPT_ID" AND "RA"."STATUS"='UNAPP')
    filter("RA"."CASH_RECEIPT_ID" IS NOT NULL)
    Here is the explain plan in 9i
    Execution Plan
    0 SELECT STATEMENT Optimizer=CHOOSE (Cost=445977 Card=78530 By
    tes=9423600)
    1 0 FILTER
    2 1 SORT (GROUP BY) (Cost=445977 Card=78530 Bytes=9423600)
    3 2 HASH JOIN (Cost=443717 Card=157060 Bytes=18847200)
    4 3 HASH JOIN (Cost=99563 Card=94747 Bytes=9758941)
    5 4 TABLE ACCESS (FULL) OF 'HZ_CUST_ACCOUNTS' (Cost=12
    286 Card=110061 Bytes=1981098)
    6 4 HASH JOIN (Cost=86232 Card=674761 Bytes=57354685)
    7 6 TABLE ACCESS (BY INDEX ROWID) OF 'AR_CASH_RECEIP
    T_HISTORY_ALL' (Cost=17532 Card=542304 Bytes=7592256)
    8 7 NESTED LOOPS (Cost=17536 Card=809791 Bytes=332
    01431)
    9 8 NESTED LOOPS (Cost=4 Card=1 Bytes=27)
    10 9 TABLE ACCESS (BY INDEX ROWID) OF 'FND_APPL
    ICATION' (Cost=1 Card=1 Bytes=8)
    11 10 INDEX (UNIQUE SCAN) OF 'FND_APPLICATION_
    U3' (UNIQUE)
    12 9 TABLE ACCESS (BY INDEX ROWID) OF 'GL_PERIO
    D_STATUSES' (Cost=3 Card=1 Bytes=19)
    13 12 INDEX (RANGE SCAN) OF 'GL_PERIOD_STATUSE
    S_U1' (UNIQUE) (Cost=2 Card=1)
    14 8 INDEX (RANGE SCAN) OF 'AR_CASH_RECEIPT_HISTO
    RY_N2' (NON-UNIQUE) (Cost=1740 Card=542304)
    15 6 TABLE ACCESS (FULL) OF 'AR_CASH_RECEIPTS_ALL' (C
    ost=60412 Card=8969141 Bytes=394642204)
    16 3 TABLE ACCESS (FULL) OF 'AR_RECEIVABLE_APPLICATIONS_A
    LL' (Cost=337109 Card=15613237 Bytes=265425029)

    Hi,
    The plan between 9i and 10g is pretty the same but the amount of data fetched has considerably increased. I guess the query was performing slow even in 9i.
    The AR_CASH_RECEIPT_HISTORY_ALL is presently having 332000 rows in 10g where as it was 17532 in 9i.
    AR_CASH_RECEIPT_HISTORY_N2 is now having 332,000 rows in 10g where as in 9i it had 1,740
    Try creating some indexes on
    AR_CASH_RECEIPTS_ALL
    hz_cust_accounts

  • Table getting clipped after migrating from 10g to 11g

    Hi We migrated our application from 10g to 11g, our application got converted to a trinidad application, skin details are follows:
    trinidad skins.xml:
    <skins xmlns="http://myfaces.apache.org/trinidad/skin">
    <skin>
    <id>
    suede.desktop
    </id>
    <family>
    suede
    </family>
    <render-kit-id>
    org.apache.myfaces.trinidad.desktop
    </render-kit-id>
    <style-sheet-name>
    skins/suede/suede.css
    </style-sheet-name>
    </skin>
    </skins>
    Trinidad Config.xml:
    <?xml version="1.0" encoding="windows-1252"?>
    <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
    <skin-family>
    suede
    </skin-family>
    </trinidad-config>
    The problem is when the page loads, the table in the page is shown in a small box (please check the image: http://files.oraclecorp.com/content/AllPublic/Users/Users-J/jaya.battaramvenkatanaga-Public/anonymous/tableclipped.JPG), I am not sure if this is skin problem or layout problem. Please let me know if there is any correction in skin details given above, other wise if lay out is the problem, please provide any documents regarding trinidad layouts.
    Edited by: user9976446 on Mar 1, 2011 5:11 AM
    Edited by: user9976446 on Mar 1, 2011 5:19 AM
    Edited by: user9976446 on Mar 1, 2011 5:20 AM

    Hi Jaya,
    I think it's a layout problem, the table component or the outer component around the table is set to some default width value (300px?). Try setting the width explicitly to something larger, or see if you can use a stretchable layout component around the table.
    If you post the code from your page here we might be able to say more.
    For reference:
    Trinidad tag library http://myfaces.apache.org/trinidad/trinidad-api/tagdoc.html
    A useful migration guide from 10g to Trinidad http://wiki.apache.org/myfaces/from_ADF_to_Trinidad

  • Error while migrating from 10g to 11g

    Hi
    I am migrating a bpel process wit partner link activity from 10g to 11g
    I got an error.It says there is no composite file in the process .so, migration is filed.
    Pls help me...

    Hi Eric,
    Thanks for the reply.Here is the info in the logfile.
    INFO: UPGBPEL-02036: Starting migration for source projects in the list : "C:\jdevstudio10131\jdev\mywork\myBPELApplication\PickDemo.backup.backup"
    INFO: UPGBPEL-02029: Backed up source contents can be found in: "C:\jdevstudio10131\jdev\mywork\myBPELApplication\PickDemo.backup.backup.backup"
    INFO: UPGBPEL-02007: Using source directory list: "C:\jdevstudio10131\jdev\mywork\myBPELApplication\PickDemo.backup.backup\bpel"
    INFO: UPGBPEL-02008: Using target directory: "C:\jdevstudio10131\jdev\mywork\myBPELApplication\PickDemo.backup.backup"
    INFO: UPGBPEL-02047: Upgrade messages are available in log file : "C:\OFM\jdev_home\jdeveloper\\upgrade\logs\PickDemo.backup.backup2010-08-16-15-43-33PM.log"
    INFO: Suitcase directory is C:\jdevstudio10131\jdev\mywork\myBPELApplication\PickDemo.backup.backup\bpel
    INFO: There are 0 task files in the suitcase
    INFO: No more than one .task file in the upgrade source directory and hence not upgrading the bpel src
    INFO: UPGBPEL-02041: Retrieving wsdl for partnerLink "AsyncWait" from "http://xppro:8888/orabpel/default/AsyncWait/AsyncWait?wsdl". This wsdl location can be used later for any manual setup of composite reference binding, if the upgrade plan includes using 1013x endpoints for the interim.
    SEVERE: Upgrade failed. Check the logs for any exceptions. Ensure that the WSDL URLs specified in the project are reachable and a valid 10.1.3.x project is used for upgrade. Before re-attempting upgrade, restore the original project code source from the backup directory.
    java.net.ConnectException: Connection refused: connect
         at oracle.viewgen.plugin.bpel.BPELPlugin.createComponentType(BPELPlugin.java:172)
         at oracle.viewgen.ViewGenerator.main(ViewGenerator.java:223)
    Caused by: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://xppro:8888/orabpel/default/AsyncWait/AsyncWait?wsdl", caused by: java.net.ConnectException. : java.net.ConnectException: Connection refused: connect
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:371)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:615)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:258)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:229)
         at oracle.viewgen.wsdl.WSDLUtil.getWSDL(WSDLUtil.java:60)
         at oracle.viewgen.componentType.bpel.BpelDDUtil.checkAndUpdateBPELDD(BpelDDUtil.java:477)
         at oracle.viewgen.plugin.bpel.BPELPlugin.createComponentType(BPELPlugin.java:107)
         ... 1 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:525)
         at java.net.Socket.connect(Socket.java:475)
         at java.net.Socket.<init>(Socket.java:372)
         at java.net.Socket.<init>(Socket.java:215)
         at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:212)
         at HTTPClient.HTTPConnection$EstablishConnection$2.run(HTTPConnection.java:4268)
         at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:708)
         at HTTPClient.HTTPConnection.doAction(HTTPConnection.java:5379)
         at HTTPClient.HTTPConnection$EstablishConnection.run(HTTPConnection.java:4254)
    i dont have any clue on this error.

  • Migrating from 10g to 11g checklist

    Hi,
    we are migrating from oracle 10.2.0.4.0 to 11g. we have Apex 3.1.2.00.02 installed in 10g.Will migrating to 11g will have any issues in our applications?.i have read that what comes with 11g is apex 3.0.
    it would be so helpful if you could give a checklist/steps on migarting to 11g.
    Many Thanks,
    Cklp.

    Thank you Shay. I tried to migrate our application to 11g without choosing Trinidad, when I want to deploy it i get follwoing exception
    eblogic.application.ModuleException: Failed to load webapp: 'enlogixcis'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adf.view.faces.webapp.ResourceServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         Truncated. see log file for complete stacktrace
    there is adf-faces-impl.jar in path when I open its I see following
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.5.3
    Created-By: Apache Maven
    Built-By: asghosh
    Package: oracle.adfinternal.view.faces
    Build-Jdk: 1.4.2_16
    Extension-Name: adf-faces-impl
    Specification-Title: ADF Faces Implementation
    Specification-Vendor: Oracle Corporation
    Implementation-Title: oracle.adfinternal.view.faces
    Implementation-Vendor: Oracle Corporation
    Implementation-Version: 10_1_3_4_0
    it seems it is for app server 10.1.3.4

Maybe you are looking for

  • Need help with applescript and Xcode 4.3.2

    I'm trying to write my first application that will involve a GUI. I can code applescript using script editor with a bit of effort, but I'm want to have users input more than one piece of information in the pop up. So, I download xcode, create my firs

  • CR2 FILES FROM 5D MK 3 not showing in CS5 PHOTOSHOP / BRIDGE. any thoughts ??

    CR2 FILES FROM 5D MK 3 not showing in CS5 PHOTOSHOP / BRIDGE. any thoughts ?? CANNOT edit or view CR2 RAW FILES. works fine with Canon 5d mk 2....

  • Custom Report over multiple hosts

    Hi all, on the homepage of every host you could find a report about the Local File Systems with the columns Status, Mount Point, Size, Used. The report is very nice but it would be much more useful if I could get a report over all hosts. Has anybody

  • Inconsistent prob when adding listeners to serial ports for sending AT cmds

    I have an app that sends and receives SMSs from two different cell phone carriers (lets say verizon and sprint by example). For that matter i have two cell phones, exactly the same model, one from each carrier, connected to the PC serial ports, COM,

  • No pictures - just empty frames ???

    Just got our imac back after getting superdrive replaced (yet again !!!) - opened iphoto, and ALL of our pictures are showing up as empty frames. Still with info such as size and name etc, but just an empty frame. Editing and resizing doesnt help. An