DO's & DONT's for a better application performance

I am very new to tuning. What are the sql & pl/sql do's and dont's and best sql & pl/sql practices for a better application performance?
I was told by somebody to check explain plan for tuning db & sql statements. But i am bit confused by seeing the explain and don't know from where i have start and what i have take into consideration from explain plan to improve application preformance?
Can somebody help me in this regard?

> I am very new to tuning.
Good. Not having to tune means that the code is performing as it should.
And this is THE MOST IMPORTANT CONSIDERATION.
Do not write and design code that needs to be tuned and twisted and modded in order to perform. Write and design code with the core requirements of that code being:
- performance
- scalability
- flexibility
- maintainability
Good design = good code = good performance
No amount of tuning can turn bad code and a bad design into a well performing and scalable system. Which is why I dislike the concept of "tuning code". Start with a good and solid design. In other words, tune that before the code.
> What are the sql & pl/sql do's and dont's and best sql & pl/sql practices
for a better application performance?
The 1st basic rule is actually quite simple.
The "data layer" rule: Maximize SQL. Minimize PL/SQL.
Do not do in PL/SQL what SQL is very capable of doing. Fact. No other language is faster and better than SQL at crunching data in the Oracle RDBMS.
The 2nd basic rule is a logical extension of the 1st.
The "application layer" rule. Maximize PL/SQL. Minimize Java/C++/C#/Delphi/VB/etc.
Do not do in a 3rd party language what PL/SQL is extremely capable of doing. Fact. No 3rd party language is as capable as crunching data in the Oracle RDBMS as PL/SQL.
Stick to these two fundamental rules and your Oracle application will have a solid foundation for being a well performing and very scalable solution.

Similar Messages

  • Better audio performance

    Does anyone know of a pci e or external option for getting better audio performance on a consumer level?
    I have software; I'm searching for hardware options.
    I realize its not an iTunes question, but figured ya'll might have some ideas.
    Thanks

    A new audio interface won't help.
    You should start by getting an external 7200 RPM Firewire drive to put your audio on. That right there will help, especially with higher track counts.
    Secondly, get more RAM. 768 of RAM is borderline for Logic. I always recommend at least 1 gig. Go ahead and max out that Powerbook to 2 gig of RAM, if you can.
    All that to say, an Intel mac would be a huge improvement over the Powerbook. And if you do go that route, still get an external FW drive for audio, and as much RAM as you can afford.

  • Sharepoint Application Performance

    Hi ,
    we have 2 WEF and 2 App Servers in our SharePoint farm, but  First time application loading is taking  45s to 60s .
    Please let me know how I need to improve my Application Performance. 
    Following things I did for Improve my application performance ,but I never got success.
    1. Warmup scripts
    2. Shutdown distribute cache (we are not using social activities)
    Thanks,
    Amar
    Amar

    Hi Amar,
    I understand you encountered the slow loading SharePoint site. I'd recommend an article for Common troubleshooting steps Performance issue \ Web Site slow:
    http://social.technet.microsoft.com/wiki/contents/articles/26685.common-troubleshooting-step-sharepoint-2013-sharepoint-2010-and-sharepoint-2007-performance-issue-web-site-slow.aspx
    Please check your environment per the article and let me know if you need more assistance.
    In addition, here is the warmup scripts should work, you could also have a try:
    https://gallery.technet.microsoft.com/office/SharePoint-2007-2010-or-d1884b4b
    https://spbestwarmup.codeplex.com/
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • What are the better load/performance testing tools available for Flex Application with BlazeDS RO?

    In my application is designed with Flex3, ActionScript3, BlazeDS Remote Objects.
    Just i tried with OPENSTA but i cant do the dynamic parameterization in their generated scripts because the response of the calls is binary values and also we cant get the response using with SCL language.
    While testing with OPENSTA with HttpService, i can do the dynamic parameterization and got the response.
    can give the information about the below questions
    whether we can do dynamic parameterization with OPENSTA for Flex Remote objects?
    and  what are the better load/performance tools available for Flex Remote Objects?

    Your approach is fine, depending on how many and what type of CFCs you are talking about. If they are "singletons" - that is, only one instance of each CFC is needed to be in memory and can be reused/shared from multiple parts of your application - caching them in the application scope is common.  Just make sure they are thread safe ("var" or local.* all your method variables).
    You might consider taking advantage of a dependency injection framework, such as DI/1 (part of the FW/1 MVC framework), ColdSpring, or WireBox (a module of the ColdBox platform that can be used independently).  They have mechanisms for handling and caching singletons.  Then you wouldn't have to go to the application scope to get your CFC instances.
    -Carl V.

  • I dont know the username and password for this dba application

    Hi,
    I dont know the username and password for this dba application. I installed the rmp file in /usr/lib. I will appreciate it if someone can sollve my prroblem.
    Thank you.
    'Dapo

    Hi,
    I dont know the username and password for this dba application. I installed the rmp file in /usr/lib. I will appreciate it if someone can sollve my prroblem.
    Thank you.
    'Dapo

  • Deploying reports for a WPF application

    hi,
    we should create and deploy reports for a WPF application. The app is developed in VS 2013, following the MVVM pattern and using Oracle DB.
    We are newbie with this matter, so we are searching the best approach to accomplish the job. Our goal would be detach reports from the deployment package and store them to a server folder, so that users can run them by editing something like:
    http://myserver/myapp/reports/[reportname]
    The issue we are experiencing is that reports seem to be launch from the user's computer, and need a Oracle Client installed on each client computer to load data, while the application works with no Oracle Client installed. We tried both Crystal Reports
    and Report Viewer, and installed an Oracle Client on the report server; but we could not get them to work. we also tried to install ReportViewer Reporting Service, but we dont know how it works. notice that company policies forbid installing Oracle Client
    in the client computers.
    Can anybody give us some hint on what is the correct approach to solve our problem? thanks

    Hi,
    ClickOnce deployment allows you to publish Windows-based applications for simplified installation.
    For how to create Report , You'd better consult following forum:
    #Report Viewer
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=vsreportcontrols
    Oracle and Crystal Reports is third party software,I recommended to consult the software provider directly, I think they can give more precise troubleshooting.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Using Team Foundation Server 2013 for Embedded windows application development

    Can I use Team Foundation Server 2013 to develop an application for an Embedded Board with WEC7 or WEC2013? Does it have all the features of the ultimate edition? For example, can I debug the application when it is running on the embedded board?

    Hi Davidlsar,
    If the source code of your project is created and managed by Visual Studio or Eclipse, then you can work with TFS 2013 since you can connect to team project in TFS via Team Explorer and then do the management. If you want to develop an application with a
    client machine which OS is WEC2013, you have to confirm whether you can install Visual Studio and use corresponding features on WEC2013.
    For the debugging problem, you might open a new thread in embedded forums for a better response. Thanks for your understanding.
    Best regards, 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Usage of SAP Event Management as backend for custom mobile applications

    Hi,
    I'm am looking for an appropriate implementation approach for custom mobile applications as complement for warehouse processes with SAP Extended Warehouse Management.
    Possible scenarios:
    i) Goods issue - loading process
    There are requirements like capturing of various data about the vehicle and load per RF handheld computer. The goal is to trace and archive them for analysis and reporting purposes.
    ii) Goods receipt -production process
    The production supply and goods receipt from production are realized in SAP EWM. The request is to collect data about the production process for quality reasons by use of RF devices.
    You can picture oneself the additional mobile data entry activities during the various processes as predefined question catalogues with answer options.
    The frontend - the additional mobile transactions can be realized with the EWM-Radio-Frequency-Framework, too. But I feel confindent that there is a better way to track, trace, store, analyse, report and archiv of the collected data to Y-TABLES.
    Would you recommend to use SAP Event Management for this purpose to complement the SAP EWM processes?
    The existing requirements as described above is in my understanding only a little fraction of the capabilities of SAP Event Management. The data collection and evaluation process is local within the warehouse. At first there is not requested any automatic system behaviour to particular events...
    There are a lot material and information about SAP Event Management. But I havent found an easy getting started for my simple business scenario to enhance the EWM processes with the EM capabilities. How I could realize a question/anwer catalogue with the EM tools?
    Thanks in advance!
    Best regards,
    Laura

    Hello Laura,
    principally the process would fit for EM. But EWM is not integrated up to now to EM i.e. you would have to do the connection from EWM to EM by your own.
    How to generally connect an application to EM is described here:
    service.sap.com/scm
    -> Event Managament
    -> Technical Information
    -> Connect SAP objects to SAP EM
    Best regards,
    Steffen

  • Looking for a good application to use with my printer so i can print my own photo calanders and invitations?, looking for a good application to use with my printer so i can print my own photo calanders and invitations?

    looking for a good application so i can print photo calanders and invitations at home?

    Hello, i'm using same version of iphoto as you unless you have upgraded.  i am looking to do the same with printing my photo cards to sell at an art tour.  i have made photo cards by using an 8 1/2 by 11 glossy photo paper or matte photo paper.  printing each side separately.  then folding it either horizontally or vertically depending on how  i have designed the card...i'm looking to do a better job and am looking for it to look more professional.  is there special blank card paper to make it look more professional.  many thanks for your reply.

  • Office Web Apps - how to disable office web apps features for one web application

    ENV: Sharepoint 2010 farm with office web apps + fast search
    I have the requirement for one web application to open all its documents in client applications - I can enable feature "OpenInClient". This web application uses team site template and other web application also uses team site template. ( feature
    stapling ruled out)  Now I can run powershell cmdlet to enable this feature on all the currently existing site collections. But the requirement is to enable this feature for all the future site collections. This web applications has 60 k site collections
    and atleast more than 10 site collections get created each day and they dont like the option to run a powershell script each day to activate this solution.
    Is there any other way to by default activate new site collections on this WA to open in client applications by default (can we disable this office webapps features only on one web app)?
    VM

    I have learnt from this forum that it is not possible to turn off Office web apps on single web application. The line of control lies at farm level and then at site collection.
    Disable
    Office Web Apps on web application
    VM

  • Error ERR-1002 Unable to find item ID for item "" in application "11501"

    Hi All,
    I am new to Apex, still a beginner. Please need your help on this.
    We recently upgraded to Apex 4.1 from Apex 3.0. The database version is 10.2.0.4.
    I am getting this below error.
    Error ERR-1002 Unable to find item ID for item "" in application "11501".
    Unexpected error, unable to find item name at application or page level.
    This error specifically occurs when two sessions are opened from the same browser, and the same page is accessesed. This was not occuring before in 3.0.
    Thanks,
    Sarvesh

    Hi,
    i have the exact same problem and situation. (but i dont use Oracle Apps, only APEX).
    Migrated from APEX 2.2 to APEX 4.1
    Application is (unfortunately) used and opened in Internet Explorer with more than one session/tabs by users.
    In APEX2.2 this was working, in APEX4.1 i get the following error:
    Error ERR-1002 Unable to find item ID for item "" in application "111".
    Unexpected error, unable to find item name at application or page level.
    Technical Info (only visible for developers):
    is_internal_error: true
    apex_error_code: WWV_FLOW.FIND_ITEM_ID_ERR
    component.type: APEX_APPLICATION_AUTH
    component.id: 29961616743801399
    component.name: CUSTOM_LDAP
    error_backtrace:
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x1893e7410 676 package body APEX_040100.WWV_FLOW_ERROR
    0x1893e7410 1008 package body APEX_040100.WWV_FLOW_ERROR
    0x147cb1b58 742 package body APEX_040100.WWV_FLOW
    0x147cb1b58 4729 package body APEX_040100.WWV_FLOW
    0x147cb1b58 7094 package body APEX_040100.WWV_FLOW
    0x18a3e9208 247 procedure APEX_040100.F
    0x18ab6c258 31 anonymous block
    So i thought this is an issue with the authentication scheme (that was migrated, too). I dropped it and recreated it, but same problem.
    When i look to the URL after the re-login, it is:
    https://<server>/f?p=111:3:1139701000375375::::,4753713078141275:
    The strange thing is the part of ",4753713078141275:"
    What is APEX doing here?
    => i figured out that this is a Page Item ID. I have the hidden item P3_REPORT_TYPE which interal ID is 4753713078141275.
    I use the hidden item to conditionally display some regions on the page.
    Or is the problem before the comma, the "NULL" value ",47..." ?
    Can anyone help me or explain what is the problem here to get a solution?
    Thanks and regards,
    Matthias
    Edited by: matze on 24.05.2012 10:05
    Edited by: matze on 24.05.2012 10:30

  • Dont want to download webstart application onto desktop

    Hi all,
    I dont want my webstart application to be downloaded on desktop or you can say i dont want shortcut of this application on my machine.
    I want to restrict opening of this application from shortcut. I want it can only be opened using explorer.
    Thanks in advance

    Hi,
    Thanks for your reply, i didnt understood your last line "Either way a user could create a shortcut on their desktop to the JNLP file (even if it is on the web). "
    This is my JNLP. Tell me what else i have to do to stop creating shortcut on desktop. I dont want to shortcut creation automatically.
    or if shortcut appears then i dont want application to run from that shortcut.
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
    codebase="http://10.112.133.205/test"
    href=""
    >
    <information>
    <title>abc</title>
    <vendor>xyz</vendor>
    <homepage href="http://10.112.133.205/test" />
    <description>test</description>
    <icon href="images/logo.gif"/>
    <shortcut online="false">
    <desktop/>
    <menu/>
    </shortcut>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4+" />
    <jar href="test.jar"/>
    </resources>
    <application-desc
    main-class="SysConfig" name="SysConfig" >
    </application-desc>
    </jnlp>

  • Listing logical database for a given application component

    hi
    which function module will return the logical database for a given application component from the SAP hierarchy.
    Example:
    Input- application component- LO
    output- MSM, etc.,
    Thank you.
    your time and answers will be compensated with points.

    Why dont you use two selects to get the required information#
    TAble <b>APADEVC</b>
    Here you will get the link from Application Component to Package
    Application Class - Packet
    Package           - Devclass
    Then if you go into Table <b>TADIR</b>
    and give the following input
    PGMID = R3TR
    OBJECT = LDBA
    DEVCLASS = package name
    you will get all the Logical Databases for that Application Component.
    Here obj_name will be the Name of the LDB's
    Message was edited by:
            Dominic Pappaly

  • Silverlight for Symbian (beta) now available

    For those interested...directly from Microsoft - http://silverlight.net/getstarted/devices/symbian/
    "Silverlight for Symbian - Beta
    Silverlight, a cross-browser, cross-platform implementation of the .NET Framework for building media experiences and rich interactive applications for the Web on desktop computers, is also available for Nokia S60 5th Edition devices such as Nokia 5800 XpressMusic, Nokia N97 and Nokia N97 Mini."
    Lumia 920, Lumia 800
    Nokia N8-00 (NAM, Product Code: 059C8T6), Symbian Belle, Type RM-596, 111.030.0609
    Nokia 5800 XpressMusic (NAM, Product Code: 0577454) Software v51.2.007, Type RM-428

    What is a rational to develop applications with Silverlight for Symabian, that is so much rare media distribution platform?

  • [svn] 3882: Target Flash player 10 for the team application.

    Revision: 3882
    Author: [email protected]
    Date: 2008-10-24 13:16:42 -0700 (Fri, 24 Oct 2008)
    Log Message:
    Target Flash player 10 for the team application.
    QA: No
    Doc:No
    Check-in tests: pass
    Modified Paths:
    blazeds/trunk/apps/team/WEB-INF/flex/flex-config.xml

    By "running fine", flashplayer 10.1 32-bit linux library may require some "massaging" to actually get it working.
    E.G. on Debian Lenny 64-bit using 32-bit firefox 3.6.8 it requires at least these Lenny 32-bit emulation packages:
        ia32-libs
        ia32-libs-gtk
    (this has been pretty well established for a while)
    *Plus* you'lll have to grab the following libraries from a 32-bit Lenny system:
    :/usr/local/firefox-3.6.8_i386$ ls -l *curl* *idn*
    lrwxrwxrwx 1 root root     19 2010-06-24 14:57 libcurl-gnutls.so.3 -> libcurl-gnutls.so.4
    lrwxrwxrwx 1 root root     23 2010-06-24 14:57 libcurl-gnutls.so.4 -> libcurl-gnutls.so.4.1.0
    -rw-r--r-- 1 root root 233992 2009-08-17 19:41 libcurl-gnutls.so.4.1.0
    lrwxrwxrwx 1 root root     12 2010-06-07 10:22 libcurl.so.3 -> libcurl.so.4
    lrwxrwxrwx 1 root root     16 2010-06-07 10:22 libcurl.so.4 -> libcurl.so.4.1.0
    -rw-r--r-- 1 root root 271524 2010-03-26 23:27 libcurl.so.4.1.0
    -rw-r--r-- 1 root root    801 2008-06-06 21:29 libidn.la
    lrwxrwxrwx 1 root root     17 2010-02-26 07:01 libidn.so.11 -> libidn.so.11.5.37
    -rw-r--r-- 1 root root 200280 2008-06-06 21:29 libidn.so.11.5.37
    and plop them in the top level firefox install directory to get it working.  Otherwise you only see messages like
        "Adobe Flash Player error: could not load cURL library"
    (Not terribly helpful)
    This is in contrast to the 10.0 beta 64-bit flashplayer lib that worked fabulously (i had no issues with it ever, which can't be said of the 32-bit one).
    I wonder just how difficult it would have been to fix it for the latest exploits, as they'd done for the 10.x beta 64-bit linux flashplayer previously for security issues?
    This failure by the industry to fully support 64-bit applications is getting pretty pathetic by this point.
    --stephen

Maybe you are looking for

  • Activating ODS errors

    Please tell me how to correct the error 'Invalid source system name ZBPS222 entered' and 'Error when creating the export DataSource and dependent Objects' while activating ODS.

  • How do I get rid of "other" storage

    How do I get rid of "other" storage or why is there so much dedicated to it? PLEASE HELP! I have an iPod touch 32Gb 4th generation with: - 19Gb of music - 2Gb of TV Shows - 3Gb of Apps - 3.3Gb of "Other" Here is the troubleshooting attempted: - Not s

  • Query in Crystal report 2008

    Hi all! In crystal report 2008, can we create a manual query. How to use it! Thanks!

  • Servlet that never stops...

    Hi, Is possible to do a threaded servlet that never finishes to response? something like a servlet that, when called, connect to a database and send the results of a query to client, update the database and try the query again ... like: while(true) r

  • Sending arguments to shell script from Java program

    Hi, I am invoking a shell script within a Java program by runtime command.But I need to pass a variable to the shell script from the Java program!!! Please help me!!! Thanks!!!