Oracle 10g Native Compilation

Hi,
I would like to set one of my schemas to work with oracle native compilation.
Oracle note : 43208.1 list the certified compilter for each O.S
I am using hp-ux b11.23 itanuim , and would like to know which ANSI C PreCompilers are installed in my machine.
Can one help with the command to find this detail ?
Thanks

You may need to contact your Unix Sysadmins to determine this. You have not stated which version of the database you are using - for 10g, requirements are documented at http://download.oracle.com/docs/cd/B19306_01/install.102/b25293/pre_install.htm#sthref111
HTH
Srini

Similar Messages

  • Cannot use oracle 10g ProC compiler

    Every time I run the ProC compiler of Oracle 10g I get the following error:
    PCC-F-NOERRFILE, unable to open error message file, facility PR2
    What does thidoPost=true

    You have your ORACLE_HOME environment variable incorrectly defined.
    C:\>set ORACLE_HOME=invalid
    C:\>proc
    PCC-F-NOERRFILE, unable to open error message file, facility PR2
    C:\>

  • Cannot compile with Oracle 10g ProC compiler.

    Every time I run the ProC compiler of Oracle 10g I get the following error:
    PCC-F-NOERRFILE, unable to open error message file, facility PR2
    What does this mean and how do I fix this.
    Thanks you
    Gilles Ferland

    Hi Gilles,
    try 'strace proc' and look for open statements.
    Try to check the filenames.
    HTH,
    Toni

  • Profiling the shared libraries w/ native compilation

    Sorry for cross posting, I was told this forum is more appropriate:
    Status quo
    Using Oracle 10 native compilation works very well. However I would like to gain additional speed using profile-based optimization:
    In general it is a three-step process:
    1. Instrumentation: Compile the program to prepare it for profile
    collection.
    cc Oprofile=collect O2 -c sample.c
    cc -o sample.exe Oprofile=collect O2 sample.o
    2. Data collection: Run the program with representative input(s) to
    collect statistics.
    sample.exe < input.file1
    sample.exe < input.file2
    3. Optimization: Recompile to optimize based on profile data.
    cc Oprofile=use O2 -c sample.c
    cc -o sample.exe Oprofile=use O2 sample.o
    As I have only shared libraries but no executables I have to define SHLIB_FLOW_DATA:
    To profile shared libraries, you must set the environment variable SHLIB_FLOW_DATA to the file that receives profile data. Unlike FLOW_DATA, SHLIB_FLOW_DATA has no default output file. If SHLIB_FLOW_DATA is not set, profile data is not collected. This allows you to activate or suspend the profiling of instrumented shared libraries.
    Note that you could set SHLIB_FLOW_DATA to flow.data which is the same file as the default setting for FLOW_DATA. But, again, profile data will not be collected from shared libraries unless you explicitly set SHLIB_FLOW_DATA to some output file.
    Question How and where can I set this variable for native compilation?
    The problem is: whatever I tried in step 3. +Oprofile=use it always complains it can not find the profile statistics and does not compile.
    Any help is appreciated very much!
    Best regards!

    This forum is for installation issues, I guess you get better help here:
    Oracle Call Interface (OCI)
    Werner

  • Compilation failed for Pro*C program in Oracle 10g

    Hi,
    During migration from Oracle 9i to 10g, I get the followin error when compiling by connecting to 10g database. The same file is getting compiled successfully for 9i database. Could any one help me to resolve this issue.
    Syntax error at line 65, column 25, file /usr/include/iso/string_iso.h:
    Error at line 65, column 25 in file /usr/include/iso/string_iso.h
    extern int strcmp(const char , const char *);*
    *........................1*
    PCC-S-02201, Encountered the symbol "char" when expecting one of the following:
    Error at line 0, column 0 in file src/ksopoact.pc
    PCC-F-02102, Fatal error while doing C preprocessing
    I use the ProC options: SQLCHECK=SEMANTICS PARSE=FULL CODE=KR_C MODE=ORACLE DBMS=NATIVE UNSAFE_NULL=NO FIPS=NO
    My operating system is SunOS 5.8.
    Thanks in advance,
    Carthyc.

    Hi,
    Is this on the same server? Any differences in the environment settings (other than the obvious necessary changes like ORACLE_HOME, etc)? Does your code have a prototype that might mismatch? Is the code in ksopoact.pc passing a "char *"? Any failures "further up" the chain?
    Regards,
    Mark

  • Procedure compiles on Oracle 10g but fails to do so on Oracle 9i

    Hi,
    We have an application which supports both Oracle 9i and Oracle 10g dbs, recently we added a new procedure to get a report from the applications statistics schema, the procedure uses two other schemas also to get the report and uses a query which does not use any Oracle specific feature (pure ANSI SQL), it compiled successfully on Oracle 10g but gives the following error on 9i db
    SQL> show err
    Errors for PROCEDURE SPGETNONCOMPLOGBASEDONEMP:
    LINE/COL ERROR
    22/8 PL/SQL: SQL Statement ignored
    31/37 PL/SQL: ORA-00907: missing right parenthesis
    the 9i version
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    PL/SQL Release 9.2.0.1.0 - Production
    CORE 9.2.0.1.0 Production
    TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
    NLSRTL Version 9.2.0.1.0 - Production
    10g version
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
    PL/SQL Release 10.1.0.2.0 - Production
    CORE 10.1.0.2.0 Production
    TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
    NLSRTL Version 10.1.0.2.0 - Production
    If any body knows the soln, please help
    Thanks in advance
    Gibs
    Procedure
    CREATE OR REPLACE PROCEDURE Spgetnoncomplogbasedonemp (
    in_emp_id IN VARCHAR,
    in_start_date IN DATE,
    in_end_date IN DATE,
    non_complog OUT Types.ref_cursor
    IS
    BEGIN
    OPEN non_complog
    FOR
    SELECT end_date AS end_date, employee_id AS emp_id, NAME AS emp_name,
    vcname AS plan_name, start_date, nid AS nid
    FROM (SELECT *
    FROM ((SELECT employee_id, NAME
    FROM hrsample_bridge.ath_employee
    WHERE ( (in_emp_id IS NULL AND 1 = 1)
    OR (in_emp_id IS NOT NULL
    AND employee_id = in_emp_id
    )) CROSS JOIN (SELECT vcname
    FROM orahrsamplecore.athobjectinstance
    WHERE compliance_status = 1
    AND ( (in_start_date IS NULL
    OR (dtcompreissue
    BETWEEN in_start_date
    AND in_end_date
    )))) LEFT OUTER JOIN COMPTRACKLOG c ON c.emp_id =
    employee_id
    AND c.plan_name =
    vcname
    WHERE c.emp_id IS NULL
    AND ( ( (in_emp_id IS NULL)
    OR ( in_emp_id IS NOT NULL
    AND NOT EXISTS (
    SELECT 1
    FROM COMPTRACKLOG
    WHERE plan_name = vcname
    AND c.emp_id = in_emp_id )
    AND ( (in_start_date IS NULL)
    OR ( (in_start_date IS NOT NULL)
    AND c.end_date BETWEEN in_start_date AND in_end_date
    ORDER BY c.emp_id, c.plan_name ASC;
    END;
    /

    Hi,
    We have an application which supports both Oracle 9i and Oracle 10g dbs, recently we added a new procedure to get a report from the applications statistics schema, the procedure uses two other schemas also to get the report and uses a query which does not use any Oracle specific feature (pure ANSI SQL), it compiled successfully on Oracle 10g but gives the following error on 9i db
    SQL> show err
    Errors for PROCEDURE SPGETNONCOMPLOGBASEDONEMP:
    LINE/COL ERROR
    22/8 PL/SQL: SQL Statement ignored
    31/37 PL/SQL: ORA-00907: missing right parenthesis
    the 9i version
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    PL/SQL Release 9.2.0.1.0 - Production
    CORE 9.2.0.1.0 Production
    TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
    NLSRTL Version 9.2.0.1.0 - Production
    10g version
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
    PL/SQL Release 10.1.0.2.0 - Production
    CORE 10.1.0.2.0 Production
    TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
    NLSRTL Version 10.1.0.2.0 - Production
    If any body knows the soln, please help
    Thanks in advance
    Gibs
    Procedure
    CREATE OR REPLACE PROCEDURE Spgetnoncomplogbasedonemp (
    in_emp_id IN VARCHAR,
    in_start_date IN DATE,
    in_end_date IN DATE,
    non_complog OUT Types.ref_cursor
    IS
    BEGIN
    OPEN non_complog
    FOR
    SELECT end_date AS end_date, employee_id AS emp_id, NAME AS emp_name,
    vcname AS plan_name, start_date, nid AS nid
    FROM (SELECT *
    FROM ((SELECT employee_id, NAME
    FROM hrsample_bridge.ath_employee
    WHERE ( (in_emp_id IS NULL AND 1 = 1)
    OR (in_emp_id IS NOT NULL
    AND employee_id = in_emp_id
    )) CROSS JOIN (SELECT vcname
    FROM orahrsamplecore.athobjectinstance
    WHERE compliance_status = 1
    AND ( (in_start_date IS NULL
    OR (dtcompreissue
    BETWEEN in_start_date
    AND in_end_date
    )))) LEFT OUTER JOIN COMPTRACKLOG c ON c.emp_id =
    employee_id
    AND c.plan_name =
    vcname
    WHERE c.emp_id IS NULL
    AND ( ( (in_emp_id IS NULL)
    OR ( in_emp_id IS NOT NULL
    AND NOT EXISTS (
    SELECT 1
    FROM COMPTRACKLOG
    WHERE plan_name = vcname
    AND c.emp_id = in_emp_id )
    AND ( (in_start_date IS NULL)
    OR ( (in_start_date IS NOT NULL)
    AND c.end_date BETWEEN in_start_date AND in_end_date
    ORDER BY c.emp_id, c.plan_name ASC;
    END;
    /

  • Compilation Errors "skipp incompatible" installing oracle 10g on linux 64z9

    Hello Friends,
    I have errors while installing Oracle 10g 10.2.0 for z9 Systems on a IBM Z/OS System with a SLES 10 Linux for z9 (64bit System).
    The Problem:
    Some programs of oracle cause errors while compiling libraries.
    The Error:
    ------------ With LD_LIBRARY_PATH set to $ORACLE_HOME/lib (which contains 64bit libs) -------------------
    (13:54) [oracle@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/bin
    [b]> ./genclntsh
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl.so when searching for -ldl
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libm.so when searching for -lm
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libnsl.so when searching for -lnsl
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/librt.so when searching for -lrt
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/libclient10.a(obindps.o): relocation R_390_PC32 against `ocibndps' can not be used when making a shared object; recompile with -fPIC
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: final link failed: Bad value
    collect2: ld gab 1 als Ende-Status zurück
    genclntsh: Failed to link libclntsh.so.10.1
    ------------ With LD_LIBRARY_PATH set to $ORACLE_HOME/lib32 (which contains 32bit libs) ------------------
    (13:54) [oracle@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/bin
    export LD_LIBRARY_PATH=/ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32(13:54) [oracle@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/bin
    ./genclntsh/usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl.so when searching for -ldl
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libm.so when searching for -lm
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libnsl.so when searching for -lnsl
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: skipping incompatible /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/librt.so when searching for -lrt
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/libclient10.a(obindps.o): relocation R_390_PC32 against `ocibndps' can not be used when making a shared object; recompile with -fPIC
    /usr/lib64/gcc/s390x-suse-linux/4.1.0/../../../../s390x-suse-linux/bin/ld: final link failed: Bad value
    collect2: ld gab 1 als Ende-Status zurück
    genclntsh: Failed to link libclntsh.so.10.1
    (13:54) [oracle@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/bin
    Questions:
    1) LD_LIBRARY_PATH doesn´t change any behavior of oracle - means the lib-path used stays on the 64bit directory. WHY?
    2) All necessary packages are installed (checked with Oracle Admin Docu!). All other devel and lib and compile and stuff packages are installed as 64 and 32 bit version. OK Nearly every f*#(#*_ package which has something to do with compilation and make processes is installed. COULD SOMETHING BE STILL MISSING?
    3) What do I have to change to get compilation with 32bit?
    4) Is it reasonable to compile with 32bit ? I think it isn´t.
    4) This is a S390 System so are there any special libs or patches to install for Oracle?
    5) Where are the 64bit libs for oracle ??????? (See below)
    What I found out:
    The libraries in $ORACLE_HOME/lib and ../lib32 are both 32 bit .... ????? WHY? Not wondering its incompatible.
    (13:56) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle
    find /ASLing01/opt/apps/oracle10g/app/oracle -name "libdl*"/ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl-2.3.2-stub.so
    /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl.so
    /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl.so.2
    /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl-2.3.2-stub.so
    /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl.so
    /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl.so.2
    (14:37) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle
    file /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl.so/ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
    (14:39) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle
    file /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl.so/ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
    (14:40) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle
    file /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl-2.3.2-stub.so/ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib/stubs/libdl-2.3.2-stub.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
    (14:40) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle
    file /ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl.so.2/ASLing01/opt/apps/oracle10g/app/oracle/product/10.2.0/db_1/lib32/stubs/libdl.so.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
    (14:40) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle[ i]
    Libraries are loaded from system as follows:
    [i](14:37) [root@linux-server-LXS1] /ASLing01/opt/apps/oracle10g/app/oracle
    ldconfig -p|grep -i libnsllibnsl.so.1 (libc6,64bit, OS ABI: Linux 2.6.4) => /lib64/libnsl.so.1
    libnsl.so.1 (libc6, OS ABI: Linux 2.6.4) => /lib/libnsl.so.1
    libnsl.so (libc6,64bit, OS ABI: Linux 2.6.4) => /usr/lib64/libnsl.so
    libnsl.so (libc6, OS ABI: Linux 2.6.4) => /usr/lib/libnsl.so
    ldconfig -p|grep -i libdllibdl.so.2 (libc6,64bit, OS ABI: Linux 2.6.4) => /lib64/libdl.so.2
    libdl.so.2 (libc6, OS ABI: Linux 2.6.4) => /lib/libdl.so.2
    libdl.so (libc6,64bit, OS ABI: Linux 2.6.4) => /usr/lib64/libdl.so
    libdl.so (libc6, OS ABI: Linux 2.6.4) => /usr/lib/libdl.so
    Thanks for help!
    Markus
    Message was edited by:
    user579884

    Not very helpful, but SLES10 is NOT certified on this platform, only SLES9.
    Werner

  • Problem Compiling JAR Loaded in Oracle 10g

    I have loaded a JAR file into my Oracle 10g database using the following command-line:
    Loadjava -force -oci8 -order -resolve -schema "MYSCHEMA" -user "USER/PASSWORD@HOST" -verbose "JarFile.jar"
    Unfortunately, after loading the JAR contents, the resolution of the individual files never completes. The process runs for >24 hours. Is there a better way to complete this task? I have even tried compiling portions of the JAR file via Toad, but it appears the recursive nature of the dependencies causes the process to essentially hang.
    Unless the JAR files compiles successfully, I can load my Java source code but my resulting Java stored procedures cannot compile because of my import references to the JAR file. My java code was compiled for JDK1.3 using JDeveloper 10.1.3.0.0 to eliminate conflicts with the Oracle JDK (JDK1.4). Is there a setting or a flag which would allow compilation of my source code without compiling the JAR file to utilize the Oracle JIT compiler?
    Any assistance/suggestions would be greatly appreciated. Thank you.

    Avi,
    Thank you for the suggestion. As a result, I found how to load my JAR (iText JAR file) file without decompressing using loadjava -jarasresource MYJAR.jar but now the issue of referrencing this resource within my Java class so that it will compile once loaded into the database. Here is sample of my objects:
    Oracle User-Defined Type:
    CREATE OR REPLACE TYPE schema."BLOB_ARRAY" as varray(20) of BLOB
    Java Source:
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED schema."JavaSource" AS
    import com.lowagie.text.Document;
    import com.lowagie.text.pdf.PdfCopy;
    import java.io.ByteArrayOutputStream;
    import java.io.*;
    public class JavaSource{
    public static Document doc;
    public static ByteArrayOutputStream baos = new ByteArrayOutputStream();
    public JavaSource(){}
    public static PdfCopy getDoc(oracle.sql.BLOB[] docs){
    PdfCopy writer = new PdfCopy(doc, baos);
    return writer;
    LOADJAVA:
    loadjava -force -schema "SCHEMA" -user "user/password@sid" -verbose -resolve -unresolvedok -genmissing -jarasresource -genmisingjar "C:\JavaSource.java" "C:\iText.jar"
    Oracle Package:
    CREATE OR REPLACE PACKAGE schema."JavaSource" AS
    FUNCTION getDoc(param1 schema.BLOB_ARRAY) return PdfCopy AS Language Java Name 'JavaSource.getDoc(oracle.sql.BLOB[]) return PdfCopy';
    Oracle Function to query Database populating User-Defined type argument:
    CREATE OR REPLACE FUNCTION schema.TestRun() RETURN schema.BLOB_ARRAY AS
    tmpArray schema.BLOB_ARRAY := null;
    BEGIN
    tmpArray schema.BLOB_ARRAY := BLOB_ARRAY();
    cursor c_blob is select blob_content from schema.doc_table;
    BEGIN
    for blob_rec in c_blob loop
    tmpArray.extend;
    tmpArray(tmpArray.count) := blob_rec.blob_content;
    end loop;
    END;
    return tmpArray;
    END;
    I cannot get my class JavaSource to compile as VALID and therefore the Oracle Function schema.TestRun does not execute properly. Am I missing something? Assistance is greatly appreciated. Thank you.

  • Which librarys are essential when compiling Oracle 10g OCCI program in CW9?

    I'm using Mac OS X 10.3.6, gcc3.3, CodeWarrior 9.0, and installed XCode1.5 too.
    I had installed Oracle Database 10g Client for Mac OS X fully.
    I'm trying to build the demo of OCCI. I can run the'make -f demo_rdbms.mk occimb1' command
    successfully, and generate a 'occimb1' execution file.
    But when I build 'occimb1' demo with CodeWarrior, the statement 'Environment::createEnvironment()'
    cause a error as below:
    Link Error : undefined:
    '_ZN6oracle4occi11Environment17createEnvironmentERKSsS4_NS1_4ModeEPvPFS6_S6_mEPFS6_S6_S6_
    mEPFvS6_S6_E' (code)
    Referenced from 'main' in occimb1.cpp
    I had already added these lib: libclntsh.dylib.10.1, libocci.dylib.10.1, libnnz10.dylib, libociei.dylib.
    Which librarys are essential when compiling Oracle 10g OCCI program in CW9?

    Hi,
    The same issue is faced by me when I was migrating my application from forms6i (oracle 8i) to forms 10g(oracle 10g).
    Solution:
    create a view based on the table on the other database (use db link)
    now create a synonym using this view and make it public.
    use this synonym in your form.
    It looks like something weared but this worked !!
    Try it !!

  • How to verify stored procedures in Oracle 10g.

    I would like to locate default stored procedure in Oracle 10g database.
    And Suggest which stored procedure can be converted in to JAVA code ??

    If the Java part of the question refers to looking for potential to speed up your stored procedures:
    You should consider native compilation which transfers your code to shared libraries which are bound to the DB kernel.
    In this case however consider, that this does not make any sense/improvement for pure data access statements but only for procedures consisting of complex algorithmic processing.
    For details refer to
    [How native compilation works|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/tuning.htm#sthref2280]
    and
    [Setting Up and Testing PL/SQL Native Compilation|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/tuning.htm#sthref2309]

  • How to download Oracle 10g Release 2?

    If you look at this page "http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linx8664soft.html",
    there are plenty of links. Which should I use to download Oracle 10g Database Release 2 (10.2.0.1.0). I require the one for Linux ES 4, AMD Sempron processor. There are links for Oracle Companion, Oracle Client, Cluster & Gateway. In fact, I have no idea of these softwares... Suggestions may be of great help.
    Prajeeth

    You could derive the answer from the Install manuals from http://tahiti.oracle.com - there is a separate install manual for each of those downloads.
    A quick summary:
    Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition
    - this is the actual database and management tool set.
    - this is sufficient for 85% of new environments
    Oracle Database 10g Companion CD Release 2 (10.2.0.1.0)
    - extras - each describe in it's own manual at http://www.oracle.com/pls/db102/portal.all_books
    - Oracle HTML DB (replaced by Application Express)
    - Oracle HTTP Server
    - Oracle JDBC Development Drivers
    - Oracle SQLJ
    - Oracle Database Examples
    - Oracle Text Supplied Knowledge Bases
    - Oracle Workflow Server
    - Oracle Ultra Search
    - Natively Compiled Java Libraries
    -JPublisher
    Oracle Database 10g Client Release 2 (10.2.0.1.0)
    - Instant Client
    - Java Oracle Enterprise Manager console
    - Runtime libraries (ProC, ProFortran, OCCI)
    Oracle Clusterware Release 2 (10.2.0.1.0)
    - infrastructure for RAC
    Oracle Gateways 10g Release 2 (10.2.0.1.0)
    - high performance connectivity to other databases

  • Native Compilation of Apex code

    Has anyone tried natively compiling all of the Apex packages, procedures and functions?
    For example, to natively compile WWV_FLOW (with DBA privileges):
    <ul>
    <li>ALTER SESSION SET PLSQL_CODE_TYPE='NATIVE' ;</li>
    <li>ALTER PACKAGE FLOWS_030100.WWW_FLOW COMPILE ;</li>
    </ul>
    We've recently done just this on a test installation (Apex 3.1, Oracle 10g) and have found that Apex runs significantly faster. Before we consider implementing in production, I was wondering if anyone has also tried this and whether they came across any problems?
    Kevan
    Edited by: KGelling2 on Oct 30, 2008 2:24 PM

    Hello,
    I've only ever come across one other person who has mentioned doing that, he mentioned that he got performance improvements too although didn't qualify them. What sort of improvements are you seeing?
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • PLS-00923: native compilation failed: Visual Studio not

    hi,
    I'm using oracle 10g version 10.2.0.1 running on windows xp pro service pack 3. I'm trying to switch from interpreted to native compilation, and here are the parameters I've set:
    plsql_native_library_dir = D:\oracle\product\10.2.0\db_1\plsql
    plsql_code_type = NATIVE
    plsql_native_library_subdir_count = 0
    plsql_compiler_flags = NATIVE, NON_DEBUG
    Now I'm trying to run the following statements:
    ALTER SESSION SET plsql_code_type = 'NATIVE';
    CREATE OR REPLACE PROCEDURE test_speed AS
    v_number NUMBER;
    BEGIN
    FOR i IN 1 .. 1000000 LOOP
    v_number := i / 1000;
    END LOOP;
    END;
    SET TIMING ON
    SQL> EXEC test_speed;
    BEGIN test_speed; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00905: object SYS.TEST_SPEED is invalid
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Elapsed: 00:00:00.03
    SQL> show err
    Errors for PROCEDURE TEST_SPEED:
    LINE/COL ERROR
    0/0 PLS-00923: native compilation failed: Visual Studio not
    found::Could not open registry key
    HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\VISUALSTUDIO\7.1\SETUP:No
    error
    I have search for the error in google but I can't find anything useful. What do I need to set-up/change to achieve my goals.
    Thanks and God bless,
    Chris

    hi,
    I'm using oracle 10g version 10.2.0.1 running on windows xp pro service pack 3. I'm trying to switch from interpreted to native compilation, and here are the parameters I've set:
    plsql_native_library_dir = D:\oracle\product\10.2.0\db_1\plsql
    plsql_code_type = NATIVE
    plsql_native_library_subdir_count = 0
    plsql_compiler_flags = NATIVE, NON_DEBUG
    Now I'm trying to run the following statements:
    ALTER SESSION SET plsql_code_type = 'NATIVE';
    CREATE OR REPLACE PROCEDURE test_speed AS
    v_number NUMBER;
    BEGIN
    FOR i IN 1 .. 1000000 LOOP
    v_number := i / 1000;
    END LOOP;
    END;
    SET TIMING ON
    SQL> EXEC test_speed;
    BEGIN test_speed; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00905: object SYS.TEST_SPEED is invalid
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Elapsed: 00:00:00.03
    SQL> show err
    Errors for PROCEDURE TEST_SPEED:
    LINE/COL ERROR
    0/0 PLS-00923: native compilation failed: Visual Studio not
    found::Could not open registry key
    HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\VISUALSTUDIO\7.1\SETUP:No
    error
    I have search for the error in google but I can't find anything useful. What do I need to set-up/change to achieve my goals.
    Thanks and God bless,
    Chris

  • Native Compilation with MinGW on 10GR2

    I have downloaded and installed 10gR2 on Windows 2000. It looks like the MinGW compiler is now supported on Windows. After looking in the spnc_commands file, I see the following near the end of the file:
    #GCC (MINGW) is now supported for plsql native comp on windows.
    #Download MinGW-3.1.0-1.exe from http://www.mingw.org.
    #The following two commands assume that GCC is installed at the default
    #location which is c:/MinGW. Change the paths to gcc and ld appropriately
    #if the installation is done in a different directory.
    #Finally, to use GCC for native comp, comment the above command line for cl.exe
    #and uncomment the following two comand lines.
    c:/MinGW/bin/gcc -c %(src) -O1 -I$(ORACLE_HOME)/plsql/public -I$(ORACLE_HOME)/plsql/include -o %(obj)
    c:/MinGW/bin/ld -shared -e 0x0 %(obj) $(ORACLE_HOME)/plsql/lib/libpncrt.a $(ORACLE_HOME)/lib/orapls10.lib -o %(dll)
    The last line references ORACLE_HOME/plsql/lib/libpncrt.a
    However, this directory or file does not exist anywhere on my Oracle installation or my MinGW directory.
    Does anyone know what this file is?
    Brett

    Thanks Brett,
    In reading Jens' paper, it almost looks like you can generate your own library file, but I think my unfamiliarity with the native compile option may be confusing me. I can't tell if the libraries being generated are the actual PL/SQL routines getting stored on the operating system or if I can generate "libpncrt.a" from some other file that is in unix format using a home brew "makefile" utility (not supplied in the paper).
    Since 10g has depricated the parameters PLSQL_NATIVE_MAKE_FILE_NAME and PLSQL_NATIVE_MAKE_UTILITY then the instructions in Jens' paper seem to be incompatable.
    Can you explain what "port-specific" means?
    Thanks Again,
    Bill

  • PL/SQL Virtual Machine in Oracle 10g

    Can someone give me some hints about the new PL/SQL features in Oracle 10g? Also, I have just read about a new PL/SQL Virtual Machine (PVM), what benefits we can expect from this?

    Check out this talk in Oracle Openworld:
    40168 PL/SQL Just Got Faster
    Product Area: Database
    Solution Areas: Performance and Scalability
    Application Development
    Target Audience: DBA
    Developer
    Length: 1 Hour
    Level: Intermediate
    Abstract: The 10g version of the Oracle Database has a brand-new PL/SQL compiler and an enhanced runtime system. The runtime system (the PL/SQL Virtual Machine) has been enhanced by implementation of additional instructions. This allows the MCode generated by the compiler to be smaller, improving overall Oracle performance, scalability, and reliability.
    The new code generator always improves code locally by generating more-efficient MCode from the output from the syntactic and semantic analysis phase, without consideration of the flow of control in the original program. Optionally, it can improve code globally--for example, by finding expressions that are computed inside a loop but that actually don't change with loop iteration. This presentation describes the general nature of these optimizations.
    Additionally, native compilation has been improved: The configuration steps have been simplified; the resulting shared, dynamically linkable libraries are now stored in the database; backup and standby are simplified; and interoperability with RAC is guaranteed.
    The presentation discusses performance experiments with a wide range of representative PL/SQL programs in each of the possible compilation conditions: Oracle9i Release 2 versus Oracle Database 10g, INTERPRETED versus NATIVE code, and optimizer level 1 versus optimizer level 2 (relevant only in Oracle Database 10g). Each program is instrumented to record CPU time for PL/SQL processing and run several times under each compilation condition to get statistically significant timings. (The timings are time to completion for a single-server session on an otherwise quiet machine.) They're consistently quickest for Oracle Database 10g, NATIVE and optimize level 2, and slowest for Oracle9i Database, INTERPRETED (where the optimize level is not applicable).
    The average ratio of these fastest and slowest speeds over all tested programs supports the conclusion that PL/SQL in Oracle Database 10g is twice as fast as it was in the previous version.
    The session also presents real-world performance results from IFS AB and 170 systems, based on its testing of its applications during the Oracle Database 10g beta program.
    Speakers: Håkan Arpfors
    Senior Software Architect
    IFS AB
    Bryn Llewellyn
    PL/SQL Product Manager
    Oracle Corporation
    Bryn Llewellyn is PL/SQL Product Manager in the Database and Application Server Technologies Development Group, at Oracle Corporation Headquarters. Bryn has worked in the software field for 25 years. He joined Oracle UK in 1990 at the European Development Center in the Oracle Designer team. He transferred to the Oracle Text Development team and from there moved into Consulting as EMEA’s Text specialist. He relocated to Redwood Shores in 1996 to join the Text Technical Marketing Group. He retains that responsibility, and a few years back his brief was extended to cover Product Management for PL/SQL.
    Charles Wetherell
    CMTS
    Oracle Corporation
    Charles Wetherell is a Consulting Member of the Technical Staff at
    Oracle and the leader of the team which has completely revised the
    optimization and code generation components of the PL/SQL compiler.
    Wetherell has a Ph.D. from Cornell and has published several wellknown
    technical articles and a book. He was the author of an XPL (an early
    systems programming language) compiler, the co-author of LR, a widely
    used LR(1) parser generator, the frontend and library manager for the
    Ardent vectorizing Fortran compiler, and the manager and chief
    architect of a complete validated Ada system for AT&T. Wetherell
    has worked at Bell Labs, Lucent, Ardent, Adobe, and Synopsys and
    taught at UC Davis and Princeton before coming to Oracle.
    Schedule Information
    Thu Sept 11 1:00 PM Moscone Room 304

Maybe you are looking for

  • DSC 8.6.1 wrong timestamps for logged data with Intel dual core

    Problem Description : Our LV/DCS 8.6.1 application uses shared variables to log data to Citadel. It is running on many similar computers at many companies just fine, but on one particular Intel Dual Core computer, the data in the Citadel db has stran

  • Overwrite CRM_Order Desc. with Para. from FBDSWP_ALERTS_SLF_MSG_SUBMIT

    Hello Colleagues, i have setup the ccms monitroing with an autoreaction Method in Solution Manger. Method: Serv_Desk_Mess_on_Alert with FB DSWP_ALERTS_SLF_MSG_SUBMIT as Paramter i have used Component, Destination, Keyuser everythings works fine for c

  • How to choose diffetent PO types in R/3 from a SC in Classic Scenario

    Hello everyone, I am working with SRM 5.0 in a classic scenario and I have a problem. I create a SC, then it is sent to sourcing cockpit where I assign it a vendor to create a PO, but I can't choose what kind of PO I want to create. In PPOMA_BB, the

  • Creating file in DMS

    hi all I have an question.  At our company we made a flex application for the SAP module EHS. The goal of this application is to  create a notification in SAP with flex. One of the parts of such a notification are files which belongs to a notificatio

  • Access 2013 Email Report ribbon button always disabled

    Access 2013 Email Report ribbon button is always disabled. This happens on one PC, All other installs are ok. Reinstalled Office and Access and problem continues. System is Win 8.1 Default email client is Outlook 2013. Any suggestions?