PLSQL script error - 10g enterprise edition

Hi,
I designed the following pl/sql program/script. It completed successfully but skips one record ( I dont know first or last ) only in the middle for loop. I did this on 10g or 11g ( dont remember exactly but one of these two ) enterprise edition. But when I tried the same code shown after this code on my personal laptop express edition, it inserted all the records correctly. Can anybody please explain the reason. There are 3 for loops one nested below another loop to load vendors, vendor sites, vendor contacts. If there were 1000 vendors, 1500 vendor sites, 900 contacts to load. The code below has loaded 1000 vendors, 1499 vendor sites ( skipped one record ) and 900 contacts.
CREATE OR REPLACE PROCEDURE APPS.p_create_vendor5 as
--Declare  
cursor main_vendors is
         select pov.vendor_id,
               pov.segment1,
               pov.vendor_name
               from                        
               po.po_vendors;
cursor  vendor_sites ( vendor_id_in number ) is
            select povs.vendor_id,
               povs.vendor_site_id,
               povs.vendor_site_code site_name
                            from
                po.po_vendor_sites_all povs
          where povs.vendor_id = vendor_id_in;
cursor vendor_contacts ( vendor_site_id_in number ) is
      select povc.vendor_contact_id,
               povc.inactive_date,
               povc.first_name,
               povc.middle_name,
               povc.last_name
        from
               po.po_vendor_contacts povc
          where povc.vendor_site_id = vendor_site_id_in;
l_input_vendor_seq          number; 
l_input_site_seq             number;
l_input_site_contact_seq     number;
l_site_name                 VARCHAR2(115);
begin
for rec in main_vendors loop
     Begin
      select AP_SUPPLIERS_INT_S.NEXTVAL
       into l_input_vendor_seq
       from DUAL;
     insert into ap_suppliers_int
               (vendor_interface_id,
                vendor_name,
                created_by,
                creation_date,
                status )
          VALUES
          (l_input_vendor_seq,  ----------AP_SUPPLIERS_INT_S.NEXTVAL,
           rec.vendor_name,
           -1,
           trunc(sysdate),
           'NEW');
       dbms_output.put_line('Inserted AP_SUPPLIERS_INT record for vendor (' || rec.vendor_name || '), id=' || to_char(l_input_vendor_seq) || ') ');
     exception   --- error logging for the Vendor Record
            when others then
                dbms_output.put_line('ERROR Inserting AP_SUPPLIERS_INT             record for vendor (' ||
                 rec.vendor_name || '), id=' || to_char                    (l_input_vendor_seq) || ') || ');
                dbms_output.put_line(nvl(fnd_message.get, SQLERRM));
                dbms_output.new_line;
            --  rollback;
        END;   --- Vendor Record
         Begin
             For site in vendor_sites (rec.vendor_id )  loop
                   insert into ap_supplier_sites_int
          (vendor_interface_id,
           vendor_id,
           vendor_site_code,
          VALUES
          (l_input_vendor_seq,
           site.vendor_id,
           site.site_name  
      dbms_output.put_line('Inserted AP_SUPPLIER_SITES_INT record         for vendor (' ||
                rec.vendor_name || '), id=' ||  to_char(l_input_vendor_seq)         || '), )');
           Begin
              For contact in vendor_contacts (site.vendor_site_id ) loop
            insert into ap_sup_site_contact_int
          (      vendor_site_id,
                --vendor_site_code,
                 inactive_date,
                 first_name,
                 middle_name,
                 last_name
             VALUES
              site.vendor_site_id ,
              --Contact.vendor_site_code,
              Contact.inactive_date,
              Contact.first_name,
              Contact.middle_name,
              Contact.last_name
      dbms_output.put_line('Inserted AP_SUP_SITE_CONTACT_INT record         for vendor (' ||
                rec.vendor_name || '), id=' ||  to_char(l_input_vendor_seq)         || '), )');
            end loop;
     exception   --- for the vendor site contact record
            when others then
                dbms_output.put_line('ERROR inserting                 AP_SUP_SITE_CONTACT_INT record for vendor (' ||
                rec.vendor_name || '), Site=' ||  to_char('')         || ') )');
                dbms_output.put_line(nvl(fnd_message.get, SQLERRM));
                dbms_output.new_line;
                rollback;
         end;
        end loop;
exception   --- for the Vendor Site Record
            when others then
                dbms_output.put_line('ERROR inserting                     AP_SUPPLIER_SITES_INT record for vendor (' ||
                rec.vendor_name || '), id=' ||  to_char(l_input_vendor_seq)             || ')');
                dbms_output.put_line(nvl(fnd_message.get, SQLERRM));
                dbms_output.new_line;
                rollback;
end;
end loop;
   commit;
   exception
    when others then
        dbms_output.put_line('Fatal Error!');
        dbms_output.put_line(nvl(fnd_message.get, SQLERRM));
        dbms_output.put_line(dbms_utility.format_error_backtrace);
       Rollback;
end;
/---The code that worked correctly on my personal laptop with express edition. This was not created as a procedure like above because there is no procedural option installed/enabled on my laptop. To override that error I ran it as pl/sql script. But in above case even running it as a script like below skipped on record. I mean if there were 1000 vendors, 1500 vendor sites, 900 contacts. The code below loaded everything correctly but the code above loaded 1000 vendors correctly but it only loaded 1499 vendor sites ( skipped one site ) and loaded 900 contacts correctly.
declare 
cursor main_vendors is
         select *
         from                        
               po_headers_all;
cursor  vendor_sites ( hdr_id number ) is
            select *
          from
               po_lines_all b
          where b.po_header_id = hdr_id;
cursor vendor_contacts (lin_id number) is
            select * from po_line_locations_all where po_line_id = lin_id;
l_input_vendor_seq          number; 
l_input_site_seq             number;
l_input_site_contact_seq     number;
l_site_name                 VARCHAR2(115);
--payment_term_v              ap.AP_TERMS_TL.name%type;
--payment_term_id_v           ap.AP_TERMS_TL.term_id%type;
begin
for rec in main_vendors loop
     Begin
      select AP_SUPPLIERS_INT_S.NEXTVAL
       into l_input_vendor_seq
       from DUAL;
          insert into po_headers_all_int
               ( po_header_id,
                 segment1,
                 po_type_lookup_code,
                 vendor_name,
                 attribute1,
                 po_date,
                 po_description,
                 attribute2
               VALUES
               (l_input_vendor_seq,  ----------AP_SUPPLIERS_INT_S.NEXTVAL,
                --rec.po_header_id,
                rec.segment1,
                rec.po_type_lookup_code,
                rec.vendor_name,
                rec.attribute1,
                rec.po_date,
                rec.po_description,
                rec.attribute2
       dbms_output.put_line('Inserted AP_SUPPLIERS_INT record for         vendor (' || rec.vendor_name || '), id=' || to_char            (l_input_vendor_seq) || ') ');
     exception   --- error logging for the Vendor Record
            when others then
                dbms_output.put_line('ERROR Inserting AP_SUPPLIERS_INT             record for vendor (' ||
                 rec.vendor_name || '), id=' || to_char                    (l_input_vendor_seq) || ') || ');
                --dbms_output.put_line(nvl(fnd_message.get, SQLERRM));
                dbms_output.new_line;
            --  rollback;
        END;   --- Vendor Record
         Begin
             For site in vendor_sites (rec.po_header_id )  loop
               insert into po_lines_all_int
                   (po_header_id,
                    po_line_id,
                    quantity,
                    unit_price,
                    line_num,
                    line_description,
                    --creation_date,
                    created_by
                   VALUES
                   (l_input_vendor_seq,
                    --rec.po_header_id,
                    site.po_line_id,
                    site.quantity,
                    site.unit_price,
                    site.line_num,
                    site.line_description,
                    --'09-AUG-2010',
                    1
      dbms_output.put_line('Inserted AP_SUPPLIER_SITES_INT record         for vendor (' ||
                site.line_num || '), id=' ||  to_char(l_input_vendor_seq)         || '), )');
            Begin
             For contact in vendor_contacts (site.po_line_id )  loop
               insert into po_line_locations_all_int ( po_header_id, po_line_id, line_location_id, shipment_num, description, quantity )
                  values (l_input_vendor_seq, site.po_line_id, contact.line_location_id, contact.shipment_num, contact.description, contact.quantity );
             end loop; 
             end;
        end loop;
exception   --- for the Vendor Site Record
            when others then
                dbms_output.put_line('ERROR inserting                     AP_SUPPLIER_SITES_INT record for vendor (' ||
                rec.vendor_name || '), id=' ||  to_char(l_input_vendor_seq)             || ')');
                --dbms_output.put_line(nvl(fnd_message.get, SQLERRM));
                dbms_output.new_line;
                rollback;
end;
end loop;
   commit;
   exception
    when others then
        dbms_output.put_line('Fatal Error!');
       -- dbms_output.put_line(nvl(fnd_message.get, SQLERRM));
        dbms_output.put_line(dbms_utility.format_error_backtrace);
       Rollback;
end;Edited by: user13301132 on 24-Aug-2010 11:21 AM
Edited by: user13301132 on 24-Aug-2010 12:05 PM
Edited by: user13301132 on 24-Aug-2010 12:07 PM
Edited by: user13301132 on 25-Aug-2010 9:53 AM

I know this doesn't answer your question directly, but is there any reason why you have gone with loop processing like this instead of far more efficient and easier to maintain INSERT ... INTO ... SELECT ... FROM blocks?
There's no reason for example that
             For site in vendor_sites (rec.vendor_id )  loop
                   insert into ap_supplier_sites_int
          (vendor_interface_id,
           vendor_id,
           vendor_site_code,
          VALUES
          (l_input_vendor_seq,
           site.vendor_id,
           site.site_name  
           );(which has a bug in it by the way - you have an extraneous comma).
cannot be
insert into ap_supplier_sites_int (vendor_interface_id,
                                             vendor_id,
                                             vendor_site_code)
            select input_vendor_seq.nextval,
                     povs.vendor_id,
                    povs.vendor_site_code site_name
                            from
                po.po_vendor_sites_all povs
          where povs.vendor_id = vendor_id_in;also I just noticed you may want to look at your cursor declarations:
                po.po_vendor_sites_all povs;
          where povs.vendor_id = vendor_id_in;looks like you've been messing around with it trying to get it to work, but have forgotton to remove a semi-colon.

Similar Messages

  • Oracle 10g Enterprise Edition Java Error

    Hi I am a student. I have licences copy of Oracle 10g Enterprise Edition. While using dbconsol i have an error that java.lang.Exception: Exception in sending Request :: null. so what is the solution. Please Help Me.

    Welcome to OTN
    Also notice that when you post new question , Included DB version ( 4 digit ) and OS version .
    Similar thread
    Oracle 10g R2 Enterprise Manager Web Interface doesn't see the database

  • Solaris x86 with Oracle RAC 10g Enterprise Edition Release 10.2.0.3.0

    Hello,
    Maybe you can help me (new on RMAN backup) in doing this.
    I have configured a single Oracle 10g database to have backup with RMAN with following steps:
    1. $ mkdir $ORACLE_BASE/rman_scripts
    2. $ mkdir $ORACLE_BASE/logs
    3. $ mkdir $ORACLE_BASE/tracking
    4. $ mkdir $ORACLE_BASE/c_backup
    5. $ sqlplus sys/<password> as sysdba
    6. SQL> alter system set db_recovery_file_dest_size = 50G scope=both;
    7. SQL> alter system set db_recovery_file_dest='${ ORACLE_BASE}/flash_recovery_ area' scope=both;
    8. SQL> alter system set log_archive_dest_10='location= use_db_recovery_file_dest';
    9. SQL> shutdown immediate
    10. SQL> startup nomount
    11. SQL> alter database archivelog;
    12. SQL> alter database open;
    13. SQL> alter database enable block change tracking using file '${ORACLE_BASE}/tracking/rman_ change_track.f';
    14. $ rman target /
    15. RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK
    TO '/var/opt/oracle/flash_ recovery_area/ORCL/c_backup/% F';
    16. RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    17. RMAN> CONFIGURE BACKUP OPTIMIZATION ON;
    18. RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    19. RMAN> exit
    I need to configure incremental backup with RMAN on a two node Solaris x86 with Oracle RAC 10g Enterprise Edition Release 10.2.0.3.0 installation.
    We also use ASM to store database files, and have Oracle software installed on separate file systems (two Oracle roots for Node1 and Node2).
    I have following questions:
    1) where to put Flash Recovery Area (FRA)?
    I saw recommendations to put FRA on the ASM, is this the best way to do it?
    2) Can I put FRA on another file system (not on the ASM) which is available only from Node1? This way I can save space on the ASM.
    3) Is it possible/recommended to run RMAN from Node1 only?
    Below is the script used to run RMAN on the normal Oracle database (without RAC) which I need to change :
    =============================================================================================
    2.0 Oracle backup script: /opt/app/oracle/rman_scripts/backup.sh
    Use this for daily backups, possiblly as a cron job.
    Once a week run this: /opt/app/oracle/rman_scripts/backup.sh FULL
    All other days of the week: /opt/app/oracle/rman_scripts/backup.sh INCREMENTAL
    Note: You may have to change ORACLE_SID, ORACLE_BASE below to match your database.
    =============================================================================================
    #!/usr/bin/ksh
    ORACLE_SID=orcl
    ORACLE_BASE=/opt/app/oracle
    ORACLE_HOME=${ORACLE_BASE}/product/10.2.0/db_1
    PATH=${ORACLE_HOME}/bin:/usr/bin
    LOGDIR=${ORACLE_BASE}/logs
    LOGFILE=${LOGDIR}/rman.log
    if [[ $# < 1 ]]
    then
    echo "usage: backup.sh FULL|INCREMENTAL"
    exit;
    fi
    BACKUPTYPE=${1}
    full='FULL'
    incremental='INCREMENTAL'
    if [[ $BACKUPTYPE == $full ]]
    then
    $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
    run {
    backup database;
    SQL 'alter system archive log current';
    backup archivelog all;
    delete noprompt obsolete;
    exit;
    eof
    echo ''
    fi
    if [[ $BACKUPTYPE == $incremental ]]
    then
    $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
    run {
    backup database;
    backup incremental level 1 database;
    SQL 'alter system archive log current';
    backup archivelog all;
    delete noprompt obsolete;
    exit;
    eof
    echo ''
    fi

    Hi [email protected],
    Q1) where to put Flash Recovery Area (FRA)?
    A1) With RAC: on the shared storage
    I saw recommendations to put FRA on the ASM, is this the best way to do it?
    If you want your backups to be available for both nodes you have to use shared storage or tape using an mml library.
    So if you want to use the FRA for rman backups and the database is on ASM just make ASM the standard for the FRA as well.
    Q2) Can I put FRA on another file system (not on the ASM) which is available only from Node1? This way I can save space on the ASM.
    A2) Than you cannot recover in case Node1 is down. Best would be to send your storage admin to a training course so he can manage the clustered raw devices needed for ASM.
    Q3) Is it possible/recommended to run RMAN from Node1 only?
    A3) No see A2.
    Regards,
    Tycho

  • Upgrading from Oracle 10G standard edition to Oracle 10G enterprise edition

    Hi
    I want to upgrade from Oracle 10G standard edition to Oracle 10G enterprise edition. Is there any script provided by oracle which I can run on existing Oracle 10G standard edition to upgrade to enterprise edition after completing the licensing formalities or do I need to install Oracle 10g Enterprise edition from scratch and then migrate my data.
    Ramanbir S

    You will not need to perform any data migration to upgrade to EE. The diffetence between standard en enerprise editions are the features offered. When you upgrade you can use the same set of files you used to install standard edition and just add the enterprise edition features you want to use in the 'Custom' section of the Universal Installer.

  • Uninstalling oracle 10g enterprise edition from windows vista

    HI There,
    I want to uninstall oracle 10g enterprise edition from windows vista home premium edition. I have uninstalled it using oracle universal installer and then deleted folder from program files. But I am unable to delete the main folder i.e. D>Oracle..
    It is displaying error message 'access denied' Please suggest me on this issue.. How can I delete that one so that I can instal it again. I would be really grateful.
    kind regards

    Can someone help me on this issue.. That would be great...

  • "In-Memory Database Cache" option for Oracle 10g Enterprise Edition

    Hi,
    In one of our applications, we are using TimesTen 5.1.24 and Oracle 9i
    databases (platform - Solaris 9i).
    TimesTen holds application information which needs to be accessed quickly
    and Oracle 9i is a master application database.
    Now we are looking at an option of migrating from Oracle 9i to Oracle 10g
    database. While exploring about Oracle 10g features, came to know about
    "In-Memory Database Cache" option for Oracle Enterprise Edition. This made
    me to think about using Oracle 10g Enterprise Edition with "In-Memory
    Database Cache" option for our application.
    Following are the advantages that I could visualize by adopting the
    above-mentioned approach:
    1. Data reconciliation between Oracle and TimesTen is not required (i.e.
    data can be maintained only in Oracle tables and for caching "In-Memory
    Database Cache" can be used)
    2. Data maintenance is easy and gives one view access to data
    I have following queries regarding the above-mentioned solution:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    In "Options and Packs" chapter in Oracle documentation
    (http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm
    #CIHJJBGA), I encountered the following statement:
    "For the purposes of licensing Oracle In-Memory Database Cache, only the
    processors on which the TimesTen In-Memory Database component of the
    In-Memory Database Cache software is installed and/or running are counted
    for the purpose of determining the number of licenses required."
    We have servers with the following configuration. Is there a way to get the
    count of processors on which the Cache software could be installed and/or
    running? Please assist.
    Production box with 12 core 2 duo processors (24 cores)
    Pre-production box with 8 core 2 duo processors (16 cores)
    Development and test box with 2 single chip processors
    Development and test box with 4 single chip processors
    Development and test box with 6 single chip processors
    Thanks & Regards,
    Vijay

    Hi Vijay,
    regarding your questions:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    ==> Product has just been renamed and integrated better with the Oracle database - Times-Ten == In-Memory-Cache-Database
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    ==> Seperate Installation
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    ==> Please have a look here: http://www.oracle.com/technology/products/timesten/quickstart/cc_qs_index.html
    This explains the differences.
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    ==> Please see above mentioned papers
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    ==> Again ... ;-)
    Kind regards
    Mike

  • SQL slow after upgrading to Oracle Database 10g Enterprise Edition Release

    Hi all:
    We have recently upgraded our database from Oracle9i Enterprise Edition Release 9.2.0.6.0 to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    After that we found that our some sql getting very slow
    for example query with 9i showing result in 4 seconds while in 10g showing result in 28 seconds.
    Following is the execution plan of my query in Oracle9i
    Operation     Object     PARTITION_START     PARTITION_STOP     COST
    SELECT STATEMENT ()                    9458
    NESTED LOOPS ()                    9458
      SORT (UNIQUE)                    
       INDEX (RANGE SCAN)     BL_EQ_PK_N               2
      VIEW ()     CONTAINER_INFO               2
       UNION-ALL (PARTITION)                    
        TABLE ACCESS (BY INDEX ROW     SERVICE_EVENTS               1
         NESTED LOOPS ()                    11
          NESTED LOOPS ()                    10
           NESTED LOOPS (OUTER)                    9
            NESTED LOOPS ()                    8
             NESTED LOOPS ()                    7
              NESTED LOOPS ()                    6
               NESTED LOOPS ()                    5
                NESTED LOOPS ()                    4
                 NESTED LOOPS (OUT                    3
                  TABLE ACCESS (BY     EQUIPMENT_USES               2
                   INDEX (UNIQUE S     EQUSE_PK               1
                  TABLE ACCESS (BY     SHIPPING_LINES               1
                   INDEX (UNIQUE S     LINE_PK               
                 INDEX (UNIQUE SCA     EQHT_PK               
                TABLE ACCESS (BY I     EQUIPMENT_TYPES               1
                 INDEX (UNIQUE SCA     EQTP_PK               
               TABLE ACCESS (BY IN     EQUIPMENT_SIZES               1
                INDEX (UNIQUE SCAN     EQSZ_PK               
              TABLE ACCESS (BY IND     SHIP_VISITS               2
               INDEX (RANGE SCAN)     SVISIT_UK               1
             TABLE ACCESS (BY INDE     SHIPS               1
              INDEX (UNIQUE SCAN)     SHIP_PK               
            TABLE ACCESS (BY INDEX     CARE_VIR_MAP               1
             INDEX (UNIQUE SCAN)     VIR_VESVOY               
           TABLE ACCESS (BY INDEX      EQUIPMENT               1
            INDEX (RANGE SCAN)     EQ_EQUSE_FK               
          INDEX (RANGE SCAN)     SEVENTS_EQUSE_FK_N               
        NESTED LOOPS ()                    7
         NESTED LOOPS ()                    6
          NESTED LOOPS ()                    5
           NESTED LOOPS ()                    4
            NESTED LOOPS (OUTER)                    3
             TABLE ACCESS (BY INDE     EQUIPMENT_USES               2
              INDEX (UNIQUE SCAN)     EQUSE_PK               1
             TABLE ACCESS (BY INDE     SHIPPING_LINES               1
              INDEX (UNIQUE SCAN)     LINE_PK               
            INDEX (UNIQUE SCAN)     EQHT_PK               
           TABLE ACCESS (BY INDEX      EQUIPMENT_TYPES               1
            INDEX (UNIQUE SCAN)     EQTP_PK               
          TABLE ACCESS (BY INDEX R     EQUIPMENT_SIZES               1
           INDEX (UNIQUE SCAN)     EQSZ_PK               
         TABLE ACCESS (BY INDEX RO     EQUIPMENT               1
          INDEX (RANGE SCAN)     EQ_EQUSE_FK               and following is my query plan in Oracle 10g
    Operation     Object     PARTITION_START     PARTITION_STOP     COST
    SELECT STATEMENT ()                    2881202
    NESTED LOOPS ()                    2881202
      SORT (UNIQUE)                    2
       INDEX (RANGE SCAN)     BL_EQ_PK_N               2
      VIEW ()     CONTAINER_INFO               2881199
       UNION-ALL ()                    
        NESTED LOOPS (OUTER)                    2763680
         NESTED LOOPS ()                    2718271
          NESTED LOOPS ()                    2694552
           NESTED LOOPS ()                    2623398
            NESTED LOOPS (OUTER)                    2623380
             NESTED LOOPS ()                    2393965
              NESTED LOOPS ()                    2393949
               NESTED LOOPS ()                    2164536
                NESTED LOOPS ()                    1706647
                 NESTED LOOPS ()                    854120
                  TABLE ACCESS (FU     BL_EQUIPMENT               1515
                  TABLE ACCESS (BY     EQUIPMENT_USES               1
                   INDEX (UNIQUE S     EQUSE_PK               1
                 TABLE ACCESS (BY      EQUIPMENT               1
                  INDEX (RANGE SCA     EQ_EQUSE_FK               1
                TABLE ACCESS (BY I     EQUIPMENT_TYPES               1
                 INDEX (UNIQUE SCA     EQTP_PK               1
               TABLE ACCESS (BY IN     EQUIPMENT_SIZES               1
                INDEX (UNIQUE SCAN     EQSZ_PK               1
              INDEX (UNIQUE SCAN)     EQHT_PK               1
             TABLE ACCESS (BY INDE     SHIPPING_LINES               1
              INDEX (UNIQUE SCAN)     LINE_PK               1
            INDEX (RANGE SCAN)     SEVENTS_TSERV_FK_N               1
           TABLE ACCESS (BY INDEX      SHIP_VISITS               2
            INDEX (RANGE SCAN)     SVISIT_UK               2
          TABLE ACCESS (BY INDEX R     SHIPS               1
           INDEX (UNIQUE SCAN)     SHIP_PK               1
         TABLE ACCESS (BY INDEX RO     CARE_VIR_MAP               2
          INDEX (UNIQUE SCAN)     VIR_VESVOY               1
        NESTED LOOPS (OUTER)                    117519
         NESTED LOOPS ()                    98158
          NESTED LOOPS ()                    78798
           NESTED LOOPS ()                    78795
            NESTED LOOPS ()                    59432
             TABLE ACCESS (FULL)     EQUIPMENT_USES               20788
             TABLE ACCESS (BY INDE     EQUIPMENT_TYPES               1
              INDEX (UNIQUE SCAN)     EQTP_PK               1
            TABLE ACCESS (BY INDEX     EQUIPMENT               1
             INDEX (RANGE SCAN)     EQ_EQUSE_FK               1
           INDEX (UNIQUE SCAN)     EQHT_PK               1
          TABLE ACCESS (BY INDEX R     EQUIPMENT_SIZES               1
           INDEX (UNIQUE SCAN)     EQSZ_PK               1
         TABLE ACCESS (BY INDEX RO     SHIPPING_LINES               1
          INDEX (UNIQUE SCAN)     LINE_PK               1can somebody help me regarding this?
    Thanks
    Hassan

    I would say ..gather stats on 9i/10gfor the required table and indexes , then post the expalin plan.
    --Girish                                                                                                                                                                                                                               

  • Oracle Application Server 10g Enterprise Edition

    Hi,
    I would like to integrate Oracle E-Business Suite Release 12.1.1 with Oracle Portal.
    Idid some research in metalink and found that Note: 376811.1.
    What I understood from the doc is,
    1. install Oracle Application Server 10g Enterprise Edition.
    2. Integrate with EBiz 12.1.1.
    Please let me know where can I get the link to download, Oracle Application Server 10g (10.1.4) Enterprise Edition.
    Is it required to install OID and SSO before oracle portal installation?
    A step by step solution/documentation to integrate 12.1.1 with portal will highly be appreciated.
    Thanks and Regards,
    DIP

    Idid some research in metalink and found that Note: 376811.1.
    What I understood from the doc is,
    1. install Oracle Application Server 10g Enterprise Edition.
    2. Integrate with EBiz 12.1.1.
    Please let me know where can I get the link to download, Oracle Application Server 10g (10.1.4) Enterprise Edition.
    - download and install OAS 10.1.2.0.2
    --> Go to this link: http://www.oracle.com/technology/software/products/middleware/index.html
    --> download Application Server 10gR2 (10.1.2.0.2) from the right side portlet of Previous Releases
    - then upgrade its portal to 10.1.4:
    --> go to metalink/MOS: search for 'oracle portal upgrade master note' and follow the note that matches best
    Is it required to install OID and SSO before oracle portal installation?- Yes it is. It will be included in the OAS 10.1.2.0.2 installation
    >
    A step by step solution/documentation to integrate 12.1.1 with portal will highly be appreciated.
    Go to MOS/metalink: search for 'Installing Oracle Application Server 10g with Oracle E-Business Suite' and follow the note
    that should be all you need.
    hope that helps!
    AMN

  • Apex upgrade from 3.2 to 4.0 in Oracle 10g Enterprise Edition

    Hi Friends,
    I am currenly using Apex version 3.2.1. My oracle version is "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0".
    I am planning to upgrade my apex version to 4.0. Can i do this with the same oracle DB version. Is there any specific
    licence needed for such an upgrade?
    Regards,
    Nav

    Can i do this with the same oracle DB version.Yes. 10.2.0.4.0 meets the documented requirements.
    Is there any specific licence needed for such an upgrade?No, not if the database is licensed. (Additional licenses may be required for some web server configurations.)

  • Oracle 10g Enterprise Edition user license in Standard Edition

    Hi,
    If I purchase Oracle 10g Enterprise Edition license (user or processor), and somehow if I decedided to downgrade the server from Enterprise Edition to Standard Edition, is these license still valid to apply to the Standard Edition server??
    Thanks

    I'm sure Oracle would have no objection to you using a less expensive version, but you may want to run that question by your Oracle sales rep to see if there is a notification requirement.
    Whether there would be an opportunity to get some level of refund, though, would be a question for your Oracle sales rep. I would tend to doubt it but you never know.
    Justin

  • Oracle 10g enterprise edition in ubuntu

    how to install oracle 10g enterprise edition in ubuntu 11.04 (32bit). i have downloaded from http://www.oracle.com/technetwork/database/10201linuxsoft-097986.html .
    thanks in advance.

    rakeshor wrote:
    i unzip it and run installer but nothing happn.it worked for me
    bcm@bcm-laptop:~$ sqlplus
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Oct 9 22:57:04 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter user-name: / as sysdba
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> !uname -a
    Linux bcm-laptop 2.6.32-34-generic #77-Ubuntu SMP Tue Sep 13 19:39:17 UTC 2011 x86_64 GNU/Linux
    SQL>

  • Ora-03113 with Java Procedure On 10g Enterprise Edition Release 10.1.0.3.1

    Hi All,
    I am getting Ora-03113 (End-of-Communication) while executing Java Stored procedure. Java Stored Procedure executes Sqlldr on server. Server OS is Linux 86x.
    Database is -- Oracle with Infrastructure.
    Oracle Database 10g Enterprise Edition Release 10.1.0.3.1 - Prod
    PL/SQL Release 10.1.0.3.1 - Production
    CORE 10.1.0.3.0 Production
    TNS for Linux: Version 10.1.0.3.0 - Production
    NLSRTL Version 10.1.0.3.0 - Production
    Same java procedure was working properly when database was 10.1.0.2.1. Any suggestion
    SKM

    Check in Ur programs -Application Tool bar, Whether your have two oracle or not.
    You can unintall the OLD version from your PC using the Oracle Unistaller

  • Patch set from 10g Enterprise Edition Release 10.2.0.1.0 to 10.2.0.3.0

    Hi,
    Can you please provide me the patch set to upgrade from
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production for Windows 32bit
    to
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production for Windows 32bit
    and instruction to apply the patch.
    Thank you.
    Regards,
    Lokanath

    For this you need to have CSI number and account on https://support.oracle.com
    https://support.oracle.com/CSP/ui/flash.html#tab=PatchHomePage(page=PatchHomePage&id=()),(page=PatchSearchResultsHome&id=(search=%3CSearch%3E%0A%20%20%3CFilter%20name=%22patch_number%22%20op=%22IS%22%20value=%225337014%22%20type=%22patch_number%22/%3E%0A%20%20%3CFilter%20name=%22platform%22%20op=%22IS%22%20value=%22319,212%22%20type=%22platform%22/%3E%0A%3C/Search%3E&from=bookmark&viewItem=0&flag=search))
    Regards
    Rajesh

  • Running Oracle 10g Enterprise Edition: Multicore or MultiProcessor

    I have the option of running Oracle 10g Enterprise Edition on a SunFire v480 (4 x 1.2 GHz UltraSPARC III) or a Sunfire T-2000 with a 1Ghz 8-core processor. Assume both machines will be running Solaris 10 as the operating system and have comparable amounts of RAM.
    What would be the best choice for performance, and why? Does Oracle 10g have any optimizations that enhance it's ability to run on a multi-core or multi-processor system, or is that mostly dependent on the OS itself?
    Message was edited by:
    nholst

    Each (dedicated) oracle connection has its own process, plus all of the background processes. This means they will benefit from multiple cpu/core architectures. Assuming that the multi-core solution appears to the OS as multiple processors, it will be the best solution since you have the most CPU power. Be sure to check the licensing rules for multi-core processors, there are some special rules about them.

  • Oracle 10g Enterprise Edition restrictions

    Hi,
    Kindly anyone help me to detail what are the Oracle 10g Enterprise Edition restrictions?
    Any help will be needful for me
    Thanks and Regards

    user598986 wrote:
    Kindly anyone help me to detail what are the Oracle 10g Enterprise Edition restrictions?To add to the other post - the answers are in the following specific doc
    1) Legal restrictions are in the license document you agree when you get the software
    2) General discussion about what is included with the edition, and what is in Options, is found in Licensing manual
    3) General software limits are described in the Limits chapter of the Reference manual
    4) Operating system specific limits are in the Platform or Admini guide for the operating system

Maybe you are looking for

  • Contract comparison

    Dear All, Is there anything like contract comparison in MM the way we do Quotation comparison?  The business practice followed at client is, there are 20 different subsidiaries of one Group of Companies and all of them deal with common set of vendors

  • IPad 1only connects to wifi in room router is in.  Used to connect from all over house.  Any help on this greatly appreciated.  Thanks

    How can I get my iPad to connect to wifi in rooms other than the room router is in?  It used to connect from every room & now connection is either intermittent or completely gone. Thanks. Most up to date operating system & software.  Not a problem wi

  • IPhoto vs Canon's Digital Photo Professional for RAW

    Greetings, Quick question after not finding much while searching the forums: I'm currently using a MBP C2D, 2.33/2G ram, all updated software. Just got a Canon Rebel XTi, finally putting aside my Canon 35mm (for now anyway). Can someone offer feedbac

  • Listing FTP directory with swing please help me

    hi , please i wanna now how to use JTree with FinJ (ftp package that provides api ) if someone has build an ftp application using FinJ please send it to me in [email protected] or a link to dowload it pleaaaaaaaaaaasee any help will be good ( sorry f

  • [SOLVED] No sound on right speaker with ALSA

    Hello, I've just installed Arch for my first time, and I'm having some problems with the sound. My left speaker and the subwoofer work fine, but there's no sound coming out of the right speaker. I've unmuted all channels in alsamixer. Info- from alsa