How to start checking the bottle necks in PL/SQL for benchmarking?

How to start checking the bottle necks in PL/SQL for benchmarking? Can anbody post me the instructions to start tuning the Oracle PL/SQL code..
Thanks & Regards,
VJ

you can use DBMS_PROFILER to do this. This built in package is very well documented:
http://www.oracle.com/pls/db102/ranked?word=dbms_profiler&remark=federated_search
Depending on your IDE, you could get a visual representation of the profile. Something like:
http://technology.amis.nl/blog/2327/dbms_profiler-report-for-sql-developer

Similar Messages

  • How do I check the oracle client version?

    Hi All,
         How do I check the oracle client version installed from the OS level. I do know my database version I need to check which client is being used. Is there a table where this information is stored.
    Thanks
    Shabna

    disp+work.exe -V will tell you which OCI version was used during compiling and linking.
    Oracle uses release independent DLL Names (Unix people would say Shared Libraries) and therefore the SAP Kernel will dynamically load any Oracle Client Version found in the standard DLL Load Path during startup.
    If you have more versions installed on your computer and you are not shure which one is loaded you can use Process Explorer (freeware, see www.sysinternals.com) to find out which one is loaded. If they belong to an Oracle_home (up to release 9.2) refere to Oracle Universal Installers Inventory information in order to find out which exact version is used.
    If an Oracle10 Instant Client is used, there is no corresponding Oracle_Home. In this case you can use Windows Explorer (right click on the  DLL -for example oci.dll), select properties, the Version Tab and File Version).
    But unfortunately Oracle is not updating the File Version every time they are patching something.
    An SAP ABAP Server Integrated Resource is the version information disp+work.exe -V is listing (evquivalent to SM51 - Release Information).
    <b>Datenbank Client Library : OCI_10201_SHARE (10.2.0.2.0)</b>
    OCI_10201_SHARE is telling us the compile/link environment, the number in brackets (only available starting with Oracle10) tells us the the result of an Oracle Client GetVersion call. Unfortunately this one does also not reflect the installed Minipatch version up to now.
    Here are some results on 10.2.0.2 Windows X86_64:
    SM51: Datenbank Client Library : OCI_10201_SHARE (10.2.0.2.0)
    Explorer (OCI.DLL located in the same directory as disp+work.exe):
       10.2.0.2.0 Patch2
    Explorer (oraociicus10.dll - the instant client implementation, this version is the one actual since mini patch 10.2.0.2.5 and it was definitely changed in 10.2.0.2.5):
       OraOCIICUS10.dll - 10.2.0.1.0
       oracore10.dll - 10.2.0.1.0 Production
       oranls10.dll - 10.2.0.1.0 Production
       orasnls10.dll - 10.2.0.1.0 Production
       oraunls10.dll - 10.2.0.1.0 Production
       oravsn10.dll - 10.2.0.1.0 Production
       oracommon10.dll - 10.2.0.1.0 Patch1
       orageneric10.dll - 10.2.0.2.0 Patch2
       oraclient10.dll - 10.2.0.2.0 Patch2
       orapls10.dll - 10.2.0.1.0 Patch1
       orasql10.dll - 10.2.0.1.0 Production
       oraxml10.dll - 10.1.0.2.0
       orahasgen10.dll - 10.2.0.1.0 Production
       oraocrutl10.dll - 10.2.0.1.0 Production
       oraocr10.dll - 10.2.0.1.0 Production
       oraocrb10.dll - 10.2.0.1.0 Production
       oranbeq10.dll - 10.2.0.1.0 Production
       orantcp10.dll - 10.2.0.1.0 Production
    oracommon10.dll from the rdbms server does report 10.2.0.2.0 Patch5 at the same time. compare it with the version information of oracommon10.dll included in oraociicus10.dll. Both patches are included in the same patchset (10.2.0.2.5).
    there are two possible conclusions about this:
    1. the version infomation is not very reliable.
    2. the Oracle Patch and Build environment is not very reliable
    Peter

  • When i try to add DownloadHelper it comes up with unexpected installation error review the error console log for more details - 203, how to it check the log and how do i fix this problem?

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    When i tried to install DownloadHelper this happened Firefox could not install the file at
    https://addons.mozilla.org/en-US/firefox/downloads/latest/3006/addon-3006-latest.xpi?src=addondetail
    because: Unexpected installation error
    Review the Error Console log for more details.
    -203
    , how do i check the log and how do i resolve this problem? thank you
    == This happened
    ==
    Just once or twice
    == today
    ==
    == Troubleshooting information
    ==
    Application Basics
    Name
    Firefox
    Version
    3.6.3
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Ask Toolbar for Firefox
    2.1.0.5
    true
    AVG Safe Search
    9.0.0.783
    true
    {3f963a5b-e555-4543-90e2-c3908898db71}
    Java Console
    6.0.17
    true
    Microsoft .NET Framework Assistant
    1.1
    true
    {20a82645-c095-46ed-80e3-08825760534b}
    BitDefender Antiphishing Toolbar
    2.0
    true
    [email protected]
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar
    0
    browser.places.smartBookmarksVersion
    2
    browser.startup.homepage_override.mstone
    rv:1.9.2.3
    extensions.lastAppVersion
    3.6.3
    general.useragent.extra.microsoftdotnet
    (.NET CLR 3.5.30729)
    network.cookie.prefsMigrated
    true
    places.last_vacuum
    1276351876
    print.print_printer
    HP Photosmart D5300 series
    print.printer_HP_Photosmart_D5300_series.print_bgcolor
    false
    print.printer_HP_Photosmart_D5300_series.print_bgimages
    false
    print.printer_HP_Photosmart_D5300_series.print_command
    print.printer_HP_Photosmart_D5300_series.print_downloadfonts
    false
    print.printer_HP_Photosmart_D5300_series.print_edge_bottom
    0
    print.printer_HP_Photosmart_D5300_series.print_edge_left
    0
    print.printer_HP_Photosmart_D5300_series.print_edge_right
    0
    print.printer_HP_Photosmart_D5300_series.print_edge_top
    0
    print.printer_HP_Photosmart_D5300_series.print_evenpages
    true
    print.printer_HP_Photosmart_D5300_series.print_footercenter
    print.printer_HP_Photosmart_D5300_series.print_footerleft
    &PT
    print.printer_HP_Photosmart_D5300_series.print_footerright
    &D
    print.printer_HP_Photosmart_D5300_series.print_headercenter
    print.printer_HP_Photosmart_D5300_series.print_headerleft
    &T
    print.printer_HP_Photosmart_D5300_series.print_headerright
    &U
    print.printer_HP_Photosmart_D5300_series.print_in_color
    true
    print.printer_HP_Photosmart_D5300_series.print_margin_bottom
    0.5
    print.printer_HP_Photosmart_D5300_series.print_margin_left
    0.5
    print.printer_HP_Photosmart_D5300_series.print_margin_right
    0.5
    print.printer_HP_Photosmart_D5300_series.print_margin_top
    0.5
    print.printer_HP_Photosmart_D5300_series.print_oddpages
    true
    print.printer_HP_Photosmart_D5300_series.print_orientation
    0
    print.printer_HP_Photosmart_D5300_series.print_pagedelay
    500
    print.printer_HP_Photosmart_D5300_series.print_paper_data
    9
    print.printer_HP_Photosmart_D5300_series.print_paper_height
    11.00
    print.printer_HP_Photosmart_D5300_series.print_paper_size_type
    0
    print.printer_HP_Photosmart_D5300_series.print_paper_size_unit
    1
    print.printer_HP_Photosmart_D5300_series.print_paper_width
    8.50
    print.printer_HP_Photosmart_D5300_series.print_reversed
    false
    print.printer_HP_Photosmart_D5300_series.print_scaling
    1.00
    print.printer_HP_Photosmart_D5300_series.print_shrink_to_fit
    true
    print.printer_HP_Photosmart_D5300_series.print_to_file
    false
    print.printer_HP_Photosmart_D5300_series.print_unwriteable_margin_bottom
    0
    print.printer_HP_Photosmart_D5300_series.print_unwriteable_margin_left
    0
    print.printer_HP_Photosmart_D5300_series.print_unwriteable_margin_right
    0
    print.printer_HP_Photosmart_D5300_series.print_unwriteable_margin_top
    0
    privacy.sanitize.migrateFx3Prefs
    true
    security.warn_viewing_mixed
    false
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows Vista
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-npdivxplayerplugin
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *6.0.12.732
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *Shockwave Flash 10.0 r45
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *iTunes Detector Plug-in
    *DivX Web Player version 2.0.0.254
    *GEPlugin
    *4.0.50524.0
    *Office Live Update v1.4
    *NPWLPG
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *RealPlayer(tm) HTML5VideoShim Plug-In
    *Google Update
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers

    Mark Leary:
    As TXGuy posted above:
    See:
    https://support.mozilla.com/en-US/kb/Unexpected+installation+error+-203+when+installing+add-ons
    http://kb.mozillazine.org/Unable_to_install_themes_or_extensions_-_Firefox#Unexpected_installation_error_-203
    Also see:
    http://support.mozilla.com/en-US/kb/Profiles#How_to_find_your_profile
    http://kb.mozillazine.org/Show_hidden_files_and_folders

  • IP Job in BW finished, but how can I check the IDoc receive status in BW ?

    Hi,experts
    After I execute a Infopackage with loading more than 200000 records data, the infopackage monitor show me yellow light, 186020 from 200000 records. this infomation still show me till now, seaval hours,it looks pause here.
    And I check the request in the R/3, the Job has finished. as you know it means the R/3 push the IDoc already finished.
    and how can I do now ? or how can I check the IDoc receive status in BW side?

    Hi,
    I too had the same problem, i executed the following to solve the proble, may be this will help you:
    1) Go to T-code SM58 and select TRFC and press F6,
    2) For manual push of I-Docs, GO to T-COde BD87 select perticular idoc and see the status if it is not executed properly then do the manual push by pressing Execute option,
    Thanks,

  • I have two email accounts. It is only letting me check one. How can I check the other?

    I registered two different email accounts on my iPad mini. It's only letting me check one. How can I check the other one too?

    Congratuations on your new iPad!
    Since your device is so new, I can state categorically that this an issue with configuration. Delete the account that doesn't work, and enter the information anew.
    If you're still having problems, check that your email address and password are correct, and if possible, verify it by checking your ISP's settings.

  • How can i check the office web app server(wac client) is calling custom WOPI host?

    I am getting an error when I testing my wopi host(which is the same as
    example) with Office Web app server "Sorry, there was a problem and we can't open this document.  If this happens again, try opening the document in Microsoft Word."
    1-how can find the log files of this error?
    2-how can i check the office web app server(wac client) is calling my WOPI host?
    I am not sure about cumunication between owa to wopi host. I actually dont know how to implement checkfile and getfile functions to wopi host for waiting for call back from owa client.
    Note:I am sure that office web app server is configured true. Because i test it with sharepoint 2013 and editing and viewing is working well.

    Hi,
    According to your post, my understanding is that
    CheckFileInfo is how the WOPI application gets information about the file and the permissions a user has on the file. It should have a URL that looks like this:
    HTTP://server/<...>/wopi*/files/<id>?access_token=<token>
    While CheckFileInfo provides information about a file, GetFile returns the file itself. It should have a URL that looks like this:
    HTTP://server/<...>/wopi*/files/<id>/contents?access_token=<token>
    There is a great article for your reference.
    http://blogs.msdn.com/b/officedevdocs/archive/2013/03/20/introducing-wopi.aspx
    You can also refer to the following article which is about building an Office Web Apps(OWA) WOPI Host.
    http://blogs.msdn.com/b/scicoria/archive/2013/07/22/building-an-office-web-apps-owa-wopi-host.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • HT201209 How do I check the balance on my iTunes gift card

    How do I check the balance on my iTunes gift card

    Redeem it
    The balance in your account will show in itunes store.

  • How can I check the date of purchase for my MacBook Pro?

    I need to fill out a claim in order to get OS X Mountain Lion and I need the date of purchase. I have tried putting in the serial code under check your service and support coverage but it just gave me a vague statement thatit was purchased mid 2012. Could someone please tell me how I can check the date of purchase?

    Well, correction, just checked mine...
    Tells you exipry date of warranty, simply take 1 year off of this or 3 if you have AppleCare.
    There is your purchase date.

  • How do I check the Specs on my Macbook pro ?

    How do I check the Specs on my Macbook pro to make sure i have what i ordered? THe last time I wanted the SATA 7200rpm but they sent me the 5400. How do I see this on my mac? can't seem to find it.

    Here is something i copied from another forum site that could answer your question-
    Look in your "System Profiler", you can find it using Spotlight or looking for it in the Utilities folder, which is in your Applications folder.
    This will give you the model number, which you will then have to find online (probably using Google) to find out what speed that particular model number is.
    Then again, someone might have an easier answer.
    "That's exactly what I did. My MacBook Pro has a Seagate Momentus ST9160823AS Drive in it. Running that model number, it shows a 7200 RPM speed."

  • How can I check the expiration date of a Certificate Keychain from terminal?

    Hello, I am writing a bash script to alert me when my corporate certificates are about to expire. How can I check the expiration date of a certificate in keychain? I'm running Mac OS 10.6.8 on a newer MacBook pro with full admin rights.
    Specifically I will be checking three certs: a Root Authority, Issuing Authority, and a user cert (Identity).
    I was exploring the Security and Openssl command line tools. But I can't seem to get the info I need.
    Any recommendations would be appreciated.
    Thank you!

    Anyone?

  • How can I check the specs with a broken LCD?

    A friend just gave me an ibook, but the LCD does not come on. How can I check the specs of the computer?
    I tried hooking it up to an external monitor, but I believe I need to setup the prefs to show on the external (I.E. the external was just black, but the computer was on).
    Any ideas here?
    All I know about the computer is that it's a white ibook with dual USB ports, firewire, and eithernet port on the side.
    Thanks in advance.
    -brown
    Message was edited by: Ryan Brown2

    The specs for the iBook should be on the label with the serial number.
    http://support.apple.com/kb/TA27282?viewlocale=en_US
    What does it say there?

  • How can i check the duplicate NPD project name?

    Dear all,
    I would like to know on how i can check the duplicate NPD's project name? I found that some NPD's project is initiate serveral time with the same or semilar name from user name. Supposing the project name was "Smart Pilot". I always found that project may type differently such as "Smart PILOT","smart pilot" or even "Smart Pilots". Supposing i would like to validate all of these name before save by using validation framework, or custom validation. Is it possible?
    Supposing it was possible, can you please guiding me on how?
    Thank you so much in advance for all of the answer.
    Phaithoon W.

    So here is some example code for a quick validator. Note that this uses a hard coded English error message, rather than a translation. If you want to use translations instead, look at some of the examples in the ReferenceImplementations\Validation\SourceCode\ReferenceValidation folder in the Extensibility Pack, and review the Validation Training as well (in the ReferenceImplementations\Validation\Documentation folder).
    Note that the provided code is for demonstration purposes only and is not supported by Oracle.
    The classes:
    using System;
    using System.Data;
    using System.Xml;
    using Xeno.Data.NPD;
    using Xeno.Prodika.Application;
    using Xeno.Prodika.Services;
    using Xeno.Prodika.Validation;
    using Xeno.Prodika.Validation.Validators;
    namespace Oracle.Agile.PlmProcess.Validation
        public class NPDUniqueProjectNameValidatorFactory : XmlConfigValidatorFactoryBase
            protected override IValidator Create_Internal(XmlNode configNode)
                return new NPDUniqueProjectNameValidator();
        public class NPDUniqueProjectNameValidator : BaseValidator
            private const string sql = @"select 1 as dup from NPDPROJECTML where UPPER(title) = UPPER ('{0}') and FKPROJECT <> '{1}' and LANGID = {2}";
            public override bool Validate(IValidationContext ctx)
                var project = ctx.ValidationTarget as INPDProjectDO;
                bool hasDuplicate = false;
                string sqlToExecute = String.Format(sql, project.ProjectML.Title, project.PKID, UserService.UserContext.User.PreferredLanguage);
                using (IDataReader reader = AppPlatformHelper.DataManager.newQuery().execute(sqlToExecute))
                    if (reader.Read())
                        hasDuplicate = true;
                if (hasDuplicate)
                    ctx.AddError(String.Format("A project already exists with the name '{0}'.", project.ProjectML.Title));
                return hasDuplicate;
            private IUserService UserService
                get { return AppPlatformHelper.ServiceManager.GetServiceByType<IUserService>(); }
    Next, add the following to the ValidationSettings.xml file in config\Extensions:
    1. add the validator factory, with a reference name in the config:
    <ValidatorFactories>
            <!-- Custom  Validator Factory declaration goes here -->       
            <add key="NPD_CheckProjectNameForDuplicate" value="Class:Oracle.Agile.PlmProcess.Validation.NPDUniqueProjectNameValidatorFactory,ReferenceValidation" />
    </ValidatorFactories>
    2. Add a rule for NPD project Save event:
    <rule type="3202">
                <condition event="save">
                    <if type="NPD_CheckProjectNameForDuplicate" require="true" report="true" />
                </condition>
    </rule>
    Compile the reference example into a dll, and add that dll into web\npd\bin
    When you try to save a project with a duplicate name, it should now give you the error message.

  • HT5878 how to check the detail of font being used for reading the file received by an email

    I received word file as an attachment with email on my iphone. I want to check the detail on font being used for reading the word file received as attachment in an email.
    Thanks

    You don't need to copy the cert out of your configuration. OpenSSL has an "s_client" subcommand which can open an SSL connection and verify the cert for you. It even knows how to do STARTTLS. Something like this ought to do it:
    openssl s_client -starttls smtp -CAfile /path/to/ca/file -connect your.ironport:25
    The /path/to/ca/file is necessary to provide openssl with a cache of root CA certs. You could use -CApath instead of -CAfile if you have a hashed directory of root CA certs instead of a single file containing them all.
    You can also point this at your partner's SMTP server as well.

  • How can I check the version of the rdf file?

    Dear all:
    How can I check the version of the rdf file? such like CEXRECRE.rdf .
    my environment is : oracle 11.5.9
    platform : Linux red hat 4.0
    Regards
    Terry

    Terry,
    Use "adident" or "strings -a" commands -- See (Note: 125922.1 - How To Find Oracle Application File Versions) for details.
    Thanks,
    Hussein

  • How can I check the version of Oracle in Linux?

    Dear all :
    How can I check the version of Oracle in Linux ?
    Regards
    Terry

    Hi terry;
    How can I check the version of Oracle in Linux ?You mean your db version or something else? If you mean you want to control your version issue is:
    source env file as oramgr
    sqlplus "/as sysdba"
    when u login sqlplus it will give u something as below:
    SQL*Plus: Release 10.2.0.4.0 - Production on
    Regard
    Helios

Maybe you are looking for

  • How to combine several files into one?

    How to combine several pdf files into one?

  • Getting error while using BAPI  'BAPI_GOODSMVT_CREATE'

    Hi, I am using the BAPI 'BAPI_GOODSMVT_CREATE' in program for goods issue i.e code 03.I am providing all details. the quatity is in KG and i am also providing ISO code i.e KGM but still getting error that Deficit of BA Unrestricted-use 32,900 KG .wha

  • Please help with transparancy fade.

    Hello, I have a script that I am using but cannot figure out how to make the bottom reflection fade to transparancy. The image on the left is what comes out from the script & the image on the right shows how I want the reflection to fade into transpa

  • SAP Portal 7.31 - Fiori integration

    Dear All, We are planning to configure Portal –Fiori. Portal is totally with BI reports. Should we need to do any SSO for Fiori ?? Current Portal level is 7.31 SP20. There are many docs in detailed on only particular area  but I didn't see any step b

  • "hidden controls" dots are not showing

    The three dots that make the hidden controls available are not visible. Any ideas how to get them to show? I want to view a movie one frame at a time. According to the Help file: Some of the controls available on the Controller are normally hidden. T