Plsql_code_type changed

what are the implication of changing the plsql_code_type parameter on the already compiled programs?
I am using latest oracle 11g

845910 wrote:
what are the implication of changing the plsql_code_type parameter on the already compiled programs?
I am using latest oracle 11gwhen all else fails READ THE FINE MANUAL!
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams159.htm
"When the value of this parameter is changed, it has no effect on PL/SQL library units that have already been compiled. The value of this parameter is stored persistently with each library unit."
Handle:      845910
Status Level:      Newbie
Registered:      Mar 20, 2011
Total Posts:      27
Total Questions:      8 (7 unresolved)
so many questions & so few answers!
How SAD!
Edited by: sb92075 on Sep 29, 2011 12:43 PM

Similar Messages

  • PLSQL_COMPILER_FLAGS and PLSQL_CODE_TYPE

    Why is the sql developer using plsql_compiler_flags parameter instead of plsql_code_type parameter for the debugger since the former has been deprecated?

    Hi Ranit,
    Changing to NATIVE compilation only affects PLSQL code, it wont improve performance for SQL.
    You can usually speed up PL/SQL units by compiling them into native code (processor-dependent system code), which is stored in the SYSTEM tablespace.You can natively compile any PL/SQL unit of any type, including those that Oracle Database supplies. Natively compiled program units work in all server environments, including shared server configuration (formerly called "multithreaded server") and Oracle Real Application Clusters (Oracle RAC). On most platforms, PL/SQL native compilation requires no special set-up or maintenance. On some platforms, the DBA might want to do some optional configuration.
    Without native compilation, the PL/SQL statements in a PL/SQL unit are compiled into an intermediate form, system code, which is stored in the catalog and interpreted at run time.
    With PL/SQL native compilation, the PL/SQL statements in a PL/SQL unit are compiled into native code and stored in the catalog. The native code need not be interpreted at run time, so it runs faster
    Because native compilation applies only to PL/SQL statements, a PL/SQL unit that uses only SQL statements might not run faster when natively compiled, but it does run at least as fast as the corresponding interpreted code. The compiled code and the interpreted code make the same library calls, so their action is the same.
    Hope it clears your doubts.

  • Plsql_code_type NATIVE and DEBUG true??

    Hi,
    In the documentation i've read that we can use pl/sql debugging tools for program units compiled for interpreted mode (but NOT for those compiled for native mode).
    Then, if i have:
    alter session set plsql_code_type=native
    alter package my_pkg compile DEBUGWhy can i specify DEBUG? Because it is compiled in native mode, and in native mode we cannot use debugging, isn't it? The last statement shouldn't have cause an error?
    Thanks

    Roger,
    When I says alter session set plsql_code_type=native; it means all subsequent automatic recompilations of that library unit will use native (machine code) compilation. Ok.
    After that I says, alter package my_pkg compile DEBUG; it means I am going to compile the package with DEBUG option and DEBUG option says compiler to compile and generate the code for debugger. Here debugger will read the compiled code in native compilation.
    There is no error, simply you are going to provide the native compiled code to debugger.
    Here one more parameter plays big role :
    PLSQL_DEBUG
    PLSQL_DEBUG specifies whether or not PL/SQL library units will be compiled for debugging.
    Values:
    true - PL/SQL library units will be compiled for debugging
    false - PL/SQL library units will be compiled for normal execution
    When PLSQL_DEBUG is set to true, PL/SQL library units are always compiled INTERPRETED in order to be debuggable.
    When the value of this parameter is changed, it has no effect on PL/SQL library units that have already been compiled. The value of this parameter is stored persistently with each library unit.
    Regards
    Girish Sharma

  • Plsql_code_type native

    For those of you that have set plsql_code_type to native, I have a few questions:
    - Why did you set the parameter
    - Was there a noticeable change in performance
    - Did you have any issues as a result of the change

    There are some reported issues on MOS website.
    R12 Ora-04030 When Recompiling The Package Xla_00200_aad_s_000010_pkg [ID 435212.1]
    wfntfqup.sql Throws ORA-00600: internal error code, arguments: [17090] [ID 1307613.1]
    Workflow Notification Agent Listeners Fail with unhandled user-defined exception ORA-06512: at "APPS.WF_EVENT" [ID 1066568.1]
    11.5.10: Oracle iStore Order: Cannot Add Items to Cart Error: "ORA-06508: PL/SQL: Could Not Find Program Unit Being called in Package IBE_Quote_Save_pvt" [ID 565920.1]
    Workflow Deferred Agent Listener Cannot be Started After Upgrading to RDBMS 11g [ID 1072604.1]
    Thanks,
    Hussein

  • Plsql_code_type

    Hi,
    I am upgrading oracle applications from 11.5.10.2 (10.2.0.5) to R12.1.1 on linux 32 Bit
    Now i am applying 6678700.drv from $AU_TOP.
    In the Upgrade guide chapter 3, Point 4 it says upgrade init.ora with upgrade parameters.
    As i am on 11.5.10.2 with 10.2.0.5 db, before going to R12.1.1. Should i set plsql_code_type = native (Currently it is interpreted).
    I have already run bde_cbo_chk.sql it says recommeded is INTERPRETED,But this is checking against 11.5.10.2.
    So what should be plsql_code_type set???
    (In my last project i have set it to native and no issues, just want to know what should i set).
    (I thinks i have asked this question before also, but now when i search it is not showing in search results.)
    Thanks
    Edited by: user11970143 on Jul 31, 2011 4:40 AM

    Hi,
    I found the answer from the blogs
    http://monishsb.wordpress.com/2010/02/17/changing-parameter-plsql_code_type-from-interpreted-to-native/
    http://oracleappstechnology.blogspot.com/2007/11/plsql-native-compilation-in-apps-11i.html
    We can set plsql_code_type = native to increase performance, so does not matter.
    Thanks

  • PLSQL_CODE_TYPE parameter

    Hi,
    is there any performance degradation happen if I set PLSQL_CODE_TYPE=NATIVE. if yes then what are the things I should consider before changing this parameter.
    Thanks

    Read this document
    http://docs.oracle.com/cd/B19306_01/appdev.102/b14261/tuning.htm#i48528
    http://docs.oracle.com/cd/B14117_01/server.101/b10755/initparams158.htm

  • Plsql_code_type (native or INTERPRETED).

    We recently moved from 10.1.0.4 to 10.2.03 and when we try and create a procedure we are receiving the below error.
    PLS-00923: Visual Studio not found::Could not open registry key HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\VISUALSTUDIO\7.1\SETUP:No error
    Should I change the spfile file paramter plsql_code_type to INTERPRETED

    Depends what you actually require as to how you fix it.
    Setting it to the default INTERPRETED rather than NATIVE will get rid of the error, but do you need you code to be natively compiled? If so then you'll need to sort out the installation of the C compiler (in your case from Visual Studio) which is required to compile the code to it's native form.

  • BADI for changing fields during Creation of BP in CRM

    Hello to everyone,
      I need to find a BADI (or other way) to default several fields during BP creation in CRM (4.0 SR1 SP9). The fields I will like to set are TAX TYPE, TAX NUMBER, TAX CATEGORY, etc.. I have found the BADI BUPA_TAX_UPDATE but i dont see any suitable parameters (structures) to changes these fields. Please advice and thanks in advance.

    Hi
    If you use function BUPA_NUMBERS_GET then your BP number will already be buffered and you can avoid a DB read. It may also be that the BP is not in the DB yet anyway.
    You can only pass one GUID in at a time - loop through IT_CHANGED_INSTANCES into a variable of type BU_PARTNER_GUID and pass that into the function as input parameter IV_PARTNER_GUID.
    Cheers
    Dom

  • How to restrict manual changing of free goods in sales order

    Hi ,
    Goodmorning ,
    We have some requirement : In sales order free goods quantity determination by system  should not be allowed to change manually , where can we do this ?
    Looking for your inputs
    Thanks and regards
    Venkat

    As per SAP Standard, when the main Item quantity is changed, the Free Goods are redetermined. In this case any manual changes to Free Goods Quantities are lost.
    But your requirement is for restricting the Chages of the Quantity of Free Goods Correct?
    I believe there is no SAP standard solution for this. You will have to apply a User Exit, which will check the Item category of each LIne item & if it is free goods (TANN) then changes are not permitted.
    Hope this helps.
    Thanks,
    Jignesh Mehta

  • Sy-tabix value has changed...

    Hi Gurus,
    I  am using a code like dis...this is not the actual code m using instad m sendin u a sample program so that u can understand the problem
    There is a selecvtion for Customer.
    sort itab by kunnr.
    loop at itab.
    on change of itab-kunnr.
    wkunnr = itab-kunnr.
      read table zitab with key kunnr = itab-kunnr.
    endon.
    if itab-kunnr = wkunnr.
    wdmbtr = wdmbtr + itab-dmbtr.
    endif.
    at end of kunnr.
    ftab-kunnr = wkunnr.
    ftab-dmbtr = wdmbtr.
    append ftab.
    endat.
    endloop.
    Now my problem is that  AT END OF Kunnr is working fine for the first customer or say for single customer but when there are multiple customers  AT END OF kunnr is triggring for each entry.......
    In debug MOdei can see that as soon as read table  syntax is used the tabix value is changed....
    So Can anyone suggest what is the solution....
    Regards,
    Raman

    This is the Declaration
    DATA:  BEGIN OF ITAB OCCURS 0,
                      KUNNR      LIKE BSID-KUNNR,
                      BELNR      LIKE BSID-BELNR,
                      BUKRS      LIKE BSID-BUKRS,
                      GJAHR      LIKE BSID-GJAHR,
                      BUZEI      LIKE BSID-BUZEI,
                      SHKZG      LIKE BSID-SHKZG,
                      VALUT      LIKE BSID-ZFBDT,
                      SGTXT(70)  TYPE  C,
                      ZFBDT      LIKE BSID-ZFBDT,
                      ZBD1T       TYPE BSID-ZBD1T,
           ZBD2T       TYPE BSID-ZBD2T,
           ZBD3T       TYPE BSID-ZBD3T,
           REBZG       TYPE BSID-REBZG,
           NETDT       TYPE BSID-BUDAT,
                      ZUONR      LIKE BSID-ZUONR,
                       BLART      LIKE BSID-BLART,
                      DMBTR      LIKE BSID-DMBTR,
                      SPART       TYPE VBRK-SPART,
                      DAY    TYPE RFPOSX-VERZN,
                      FLAG TYPE C,
                      CITY        TYPE KNA1-ORT01,
           NAME1       TYPE LFA1-NAME1,
                     CR_DR1(4)  TYPE C,
                      PSWSL      LIKE BSID-PSWSL,
                      ZTERM      LIKE BSID-ZTERM,
                      VBELN      LIKE BSID-VBELN,
                      UMSKZ      LIKE BSID-UMSKZ,
                      KLIMK      LIKE KNKK-KLIMK,
                      VTEXT      LIKE TVZBT-VTEXT,
                      ADV        LIKE BSID-DMBTR,
                      REBZT       TYPE BSID-REBZT,
                      XBLNR      LIKE BSID-XBLNR,
                      VTEXT1(70) TYPE  C,
                       FKLIMK    LIKE KNKK-KLIMK,
                      ABC(4)     TYPE C,
                    AGRO(4)        TYPE C,
                      BIO(4)        TYPE C,
                      SKFOR      LIKE KNKK-SKFOR,
                      SSOBL      LIKE KNKK-SSOBL,
                      CTLPC      LIKE KNKK-CTLPC,
                      OEIKW      LIKE S066-OEIKW,
                      OLIKW      LIKE S067-OLIKW,
                      OFAKW      LIKE S067-OFAKW,
                     NAME1      LIKE LFA1-NAME1,
                      BUDAT      LIKE BKPF-BUDAT,
                      D_DMBTR    LIKE BSID-DMBTR,
                      S_DMBTR    LIKE BSID-DMBTR,
                      VORGN      LIKE BSEG-VORGN,
                      WERKS      LIKE BSEG-WERKS,
                      NAMESO     LIKE KNA1-NAME1,
                      NAMEAM     LIKE KNA1-NAME1,
                      NAMERM     LIKE KNA1-NAME1,
                       NAMEDR     LIKE KNA1-NAME1,
       END OF ITAB.

  • ANY SY-INDEX REFLECT CHANGES WHEN CONTROL BREAK STATEMENT PROCESS

    Dear Guru's,
                     I have a requirement where i have to move the values to variable when control break (AT END OF) process. So i want to move the values according to the end of Vendor so for that  i want to know is there any sy-index available which reflects changes when Control break (AT end of) process.
    LIKE Sy-subrc = 0 when select statement fetches record or sy-tabix is like counter for loop.
    Hope to get reply soon.
    Regards,
    Himanshu Rangappa

    Hi,
    There is no system Fields for it.
    But your requirement can be done with 'AT NEW' and 'AT END' statement.
    Refer this sample example,
    loop at otab.
        at new module.
          move otab-module to otab2-module.
        ENDAT.
          at END OF effort.
          sum.               "Do your calculations here
          move otab-count to otab2-count.
          append otab2.
        endat.
      endloop.

  • How to change SSO Partner Application Login_url and Logout_url

    As part of a deployment in a different data centre, we needed to change the domain name of an application using SSO for authentication. We have gone through the process of re-registering the SSO server but this does not update the domain name
    By using diagnostic tools from Oracle we have discovered that the file 'osso.conf' in $ORACLE_HOME/Apache/Apache/conf/osso contains incorrect entries for login_url and logout_url.
    These settings are of the form:
    login_url=http://www.ourolddomain.com/pls/orasso/orasso.wwsso_app_admin.ls_login
    logout_url=http://www.ourolddomain.com/pls/orasso/orasso.wwsso_app_admin.ls_logout
    Please can anyone tell me how these settings can be changed.

    Hi,
    [Solved] SSO fails to show success page you can find some information on re registering mod_osso.
    Hope it helps.

  • Battery , time , signal strength bar is not getting displayed in home screen , these will be displayed only when i click on any app. Can u let me know the setting change ?

    Battery , time , signal strength bar is not getting displayed in home screen , these will be displayed only when i click on any app. Can u let me know the setting change ?

    Did you check the Zoom setting?
    Have you tried a reset (reboot)? Hold HOME and SLEEP until an Apple logo appears.
    If it isn't Zoom and a reboot doesn't help try Settings/General/Reset - Reset all settings

  • Email address change--how does this affect laptop and nook?

    I use my Adobe ID only to authorize my laptop and Nook.  I need to change my email address which seems easy on the FAQs, but how do I then reauthorize my laptop and Nook?  And, if I do this, are all my existing library books unreadable since they were downloaded by what the Nook thinks is a different user?  I'm almost sure I won't be able to return any books in ADE on my laptop, but I can live with that if I can still read the books on the Nook.
    Thanks in advance.

    The sync process with iTunes transfers the email account settings (for your chosen accounts via your iPhone sync preferences) from the Mail application on your Mac to the iPhone's email application.
    The iPhone is running OS X and the iPhone's email client can be considered a mobile version of the Mail application.

  • I cannot change from grid view to list view when i contol click on the downloads folder on the dock am i doing something wrong? if so how do i change the ?view in the dock

    when i contol click on the downloads icon in the dock i get the gris view . I thought if you control click, you are able to change the view to fan or list. am I doing something wrong.? Icheck to make sure the contol key is working by doing a screenshot and it works there. What am I doing wrong?

    Needs to be a Stack ?

Maybe you are looking for