Forms 10g App. is slow: What is the official procedure to follow?

Hello Forms gurus. This question has been bugging me for some time. Here is the scenario.
We have a Telco application developed using Forms 10g.
A user complains that his form is slow.
We have access to the live DB (assume it is a 10g DB).
However, we cannot run the form in the live DB. We have no access to it. We only have access to the live DB.
What is the "procedure" to follow in a situation like this???
Is there an Oracle Recommended procedure to follow?
You inputs will be greatly appreciated.

Are you sure the database is the cause of your performance problems? Can you identify slow queries? The first thing you should investigate is *where* your problem relies. Ask your DBAs if they can tell you the bad performing queries or help you analyze if there are any. If the database behaves well then most certainly it isn't the culprit of your performance problem. Of course there are some other no-gos which might affect application performance (like slow-by-slow processing, or serializing, or what ever else). So you need to identify where the time is spent first.
So, according to the them, if a form is "slow", 99.99% it is caused by a slow query.  So, they expect us developers to know tuning stuff.
Erm...and who else should know it? Developers design the application, developers know how it should work, and therefore are the ones who should know how to tune it. And I'm not talking about looking into why the Hard disk responds slow kind of stuff but simple identifying sub-optimal code, or SQL tuning by looking at the execution plans, interpreting them and solving them by...oh, I don't know, rewriting the query, minimizing recursive SQL, and what ever else. DBAs on the other hand know next to nothing about your application. How should they know if a query plan is bad or not (except the query responds slow)? How should they know how to rewrite your query properly if they don't know what it's supposed to do? Don't write a query whatever way you like and expect them to understand it and tune it which might even imply changes on your underlying data model.
There are 2 scenarios:
(1.) We got e-mail from user saying form is slow. But he is not using the form now.
         -- Is there a way to find out slow queries that happened say few days ago? Are they stored somewhere?
(2.) User is currently logged on to the system and using the form.
        -- Can you find out an slow query happening right now??
1.) This would be AWR. As they have the final saying about the database then ask them to provide you a AWR report of a Time period where you had performance problems. If you don't have AWR then it'll be somehow difficult to analyze performance problems of the past. But on the other hand I wouldn't worry too much if you can constantly reproduce your problems as this would take us straight foreward to:
2.) That would be SQL Trace. Simply trace the session experiencing performance problems, and run tkprof on the tracefile. If you don't know how to do that and don't know how to interpret a query plan then you might ask your DBAs if they can assist you. If they insist that you must know that on your own maybe ask them to teach you. It is one thing to ask someone to do your job, but an entirely other thing to ask someone for help to do your job better and share some knowledge.
In the end it'll be easier to work *with* your DBAs to identify and solve performance problems and not working *against* them. You have knowledge about your application, about what data is stored where and why but might lack some basic knowledge about SQL Tuning. Your DBA on the other hand has no knowledge about your application but might have a better understanding of basic SQL tuning. IMHO the both of you would make a good couple to solve SQL performance problems as your knowledge combined should make it easy to resolve your problem.
cheers

Similar Messages

  • What is the official procedure to install a 10g-Client on SLES10

    Hi,
    we are having a server running SuSE SLES10 and we need to have it access a 10g database.
    We had a look at the certification-matrix and found that the combination
    SLES10/10g-Client is supported by Oracle.
    We know this now, but the installer obviously does not:
    snip
    # /home/oraclient/client/runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4,
    UnitedLinux-1.0, asianux-1 or asianux-2
    Failed <<<<
    Exiting Oracle Universal Installer, log for this session can be found at
    snip
    Although I found a way to circumvent the problem (I edited /etc/SuSE-release before installation, changed it back after inst.) - I am eager to know whether anyone
    can point me out any "official" Oracle-Page describing how to install.
    The installation guide does not help. I searched the forum and found you can
    start the installer with -nosysprereqs.
    But where can I find official information how to install? The problem is that I have to document everything I do, and this documentation is monitored closely, so I do not want to use any tricks that are NOT explained in a whitepaper or something similar. I
    have to show that what I did is supported.
    Any help welcome
    Arno

    You are right, installation guides (and corresponding check routines) are sometimes not up-to-date. Always check Release Notes for newer (and official) statements:
    http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15659/toc.htm#CJAFHGHG
    Werner

  • What is the correct procedure to follow after restoring a Mac from a Time Machine Backup?

    Hi all,
    I did a Time Machine backup of my entire system (Time Machine Backup 1) before bringing my Macbook Pro to the Apple Store to to have it tested.   After the TM backup I wiped the laptop leaving only the OS (Mountain Lion) on it so that I could determine whether the problems with my system were hardware or software related. The computer passed all tests.
    After bringing my Macbook home I did a fresh intall of all the software and everything worked fine.  At this point I did another Time Machine backup (in the same location as the previous backup) so that if I ever had problems with my system I could revert to this working backup (Time Machine Backup 2.0).  I used my laptop without issue and created a number of new documents.  I did not transfer the documents from the previous time machine backup (Time Machine Backup 1).  As time progressed I did regular Time Machine backups (backups 2.1 etc.) installed a few new pieces of software and started having system issues again. 
    At that point I did another Time Machine backup (in the same location as the previous backups) (Time Machine Backup 3) so that my new documents would be safe.  At this point I could see all of my TM backups in finder.  Then I used Command + R while booting up and restored my system from what I thought was the clean backup (Time Machine Backup 2).  In fact it the TM backup I used was not the correct backup (It was one of the backups between 2.0 and 3 and I needed to go back further).  I was concerned, at this point, because I did not (and still do not) know what type of effect restoring the system from an old Time Machine backup would have on the Time Machine structure going forward  I was unsure whether doing so and having an "old" system backed up might break the structure so I stopped Time Machine from running a new backup. 
    When I attempted to look for one of the older versions of the Time Machine backups I discovered that there were no longer any listings for TM backups in their previous location.  In fact, the only thing I could see was one line in the place where the multiple backups were previously.  I took my laptop and NAS (where the TM backups were stored) to the Apple Store and the "genius" said something about the TM backup being "parsed"?  He also described it as a "broken window" and he "sees the broken glass but has no idea how it broke".  He also said "neither he nor anyone at Apple would be able to assist me" and that I'd have to go to a data recovery place.
    Fortunately I did use a second drive to backup the original system (Backup 1) but I really don't want to lose the files created ater Backup 2 / prior to Backup 3.
    Does anyone know what happened / how I can get my Time Machine backups back without forking out tons of cash?
    thanks
    John
    OS ML 10.8.4, Macbook Pro Retina
    Synology DS412 (time machine backup to a file folder)

    I actually already checked Pondini's and didn't find the answer.  Any other suggestions?
    thanks

  • What is the proper procedure to backup to multiple external hard drives if one wishes to rotate drives such that you may store one in a fire safe?

    Description:  If I want to back up to two external hard drives using Time Machine, what is the proper procedure to follow such that I could keep one attached to Time Machine for daily backups, and one that I attach monthly such that I can back it up monthly, and then store it in a fire safe.  To do this, what are the exact steps to follow?
    Research in Progress:
    I selected the "?" icon in Time Machine which took me to "Mac Help - Time Machine Preferences" section.  I reviewed this section, including the "Select Backup Disk, Select Disk, Add or Remove Backup Disk."  It says, "If you haven’t set up Time Machine, click Select Backup Disk to set up a backup disk. Repeat the steps for each backup disk you want to set up."  I did add two backup disks.  It goes on to say "If you already set up Time Machine, your backup disks are listed, and information about each backup disk is shown. To select, add, or remove backup disks, click Select Disk or Add or Remove Backup Disk."  Well, what is lacking here is what happens when you "Remove" the backup disk.
    As I have read this section, it raises additional questions:
    What are some cautionary statements.
    What happens after you remove a backup disk?  Will Time Machine recognize it later?
    What is the proper procedure for removing and ejecting one of your external hard drive when you use it with Time Machine?  What happens if you don't "remove" a backup drive and instead just drag it to the "trash can, i.e. eject it" and later reconnect it.?

    Time Machine supports multiple backup drives including network area storage volumes (NAS) as well as physically-connected external backup drives.
    In , System Preferences, Time Machine, add the second drive by clicking Select Disk.
    All available connected drives including connected network drives are displayed.
    Select the additional drives, one at a time.
    Connected Network drives are displayed on the desktop only when actively being used by Time Machine for backup.
    When prompted, select 'use both' when adding the second drive.
    Then choose Select or Remove at the bottom of the list of available devices and network volumes to add additional drives.
    Time Machine then automatically rotates backups among the available designated devices and volumes.
    If the drive is physically not present, Time Machine skips to the next available backup drive.
    To DISMOUNT a drive to take it off-site, it is NOT necessary to remove it from the Time Machine preferences.
    When the drive is NOT in use, dismount it by Command+clicking that Drive icon on your desktop (or in Finder) and then "Eject".
    That's it.
    After 10 days with no backups to a given device, Time Machine does display a message and (as I recall) asks if you want to remove that drive from the rotation.
    You can never be too rich or have too many backups!

  • Update my app. What is the correct procedure for updating an app/folio?

    I designed a folio in Indesign CS6 and created an app of the folio in adobe dps and succesfully uploaded it to the app store. Now I want to update my app. What is the correct procedure for updating an app/folio?

    no, just update your content and recreate the Single Edition App. Your certificate should still be valid so there is not need to recreate these.
    ... your App ID absolutely need to be the exact same one you used for the first version if you want to make sure this is an update.

  • HT201209 If I have redeemed my my gift and the balance is updated in the App Store and I still can not down load apps...what could the issue be?  I keep getting this error message "Your Purchase Could Not Be Completed". Then it refers me to apple support.

    If I have redeemed my my gift and the balance is updated in the App Store and I still can not down load apps...what could the issue be?  I keep getting this error message "Your Purchase Could Not Be Completed". Then it refers me to apple support.

    If you haven't already contacted iTunes Support then you can do so via this link and ask them why the message is appearing (we are fellow users here on these forums, we won't know why) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • TS1702 Some apps have a "+" symbol on the "free" download button in the apps store. What does the "+" symbol indicate?

    Some apps have a "+" symbol on the "free" download button in the apps store. What does the "+" symbol indicate?

    Means a universal app - one designed to work on both the iPad and iPhone/iPod touch.

  • What are the different steps to follow in order to develop an application and deploy it into a PAC

    Hi,
    I developped a program on my computer but in order to deploy it in a PAC , I don't know what are the different steps to follow?
    What are the difference between a stand alone application and communication with server mode.
    Can the file which will be downloaded into the PAC be in a form othre than (.exe). 
    what does the deployment licence consist of??? is it a software? 
    if the file is .exe then how to maintain it?
    Thank you for all,
    Regards

    Hi!
       Since I'm familiar with FieldPoint PACs, I'll refer to that (but maybe it is similar for cRIO...).
       An embedded application (standalone), runs entirely and independently on the PAC, while if you're not doing this, you'll have your computer, with LabView, which is controlling the PAC.  In this mode, application is dowloaded in PAC's RAM, so when you reboot controller, application will be lost.  If you build an embedded application, you can provide for application to boot authomatically at boot, each time the PAC reboots.  These are some basic stuffs on embedded applications with LV.
        To deploy an application to a PAC, you need LabVIEW + Real-Time module. Without it, you can't build an embedded application on PACs.
        usually, the file dowloaded is an .exe, and some libraries.  What would you like to have, exactly? For example, I think you can buy a simple .exe, which is universal, which loads VIs dinamically, so you can download directly VIs, but I've never tried this way....
       Deployment license, I think, refer to PCs, id est, when you use a PC or PXI as embedded target, in PACs, you have it bundled (it seems to me) whit the PAC you buy, so you don't have to buy an extra license for every PAC you ship with your application.  Otherwise, if you develop a Real-Time application for a PC, you will ship PC + OS licensed + Real-Time extension licensed, but this is not your case, since you'll use PACs.
       The maintain problem... I've already faced with! Simply, for my needs it was enough to make an application which loads configuration files, depending on different task the controller has to do. If you have to dowload a completely new version of VI.... it's better to deploy new application from LV.  But maybe you can bypass this problem with dinamic VIs loading...
        Let me know if this help.... Have a nice day!
    graziano

  • What is the best procedure to update from Leopard (or Snow Leopard) to Mavericks?

    The pacient:
    Macbook Pro A1278
    Running 10.5.8 -- but have an Update DVD to 10.6 (Snow Leopard)
    Got slower in start-up
    Very slow in power-off (takes lot of time on shut-down!)
    What is the BEST procedure to update it from Leopard to Mavericks?
    A) update & clean
    Backup to Time Machine (in Leopard)
    Update from 10.5.8 to 10.6 (Snow Leopard)
    Update 10.6 to 10.6.8
    Donwnload and Update to Maverics
    Do any kind of clean to increase speed in start-up / shut-down - Any suggestions?
    or
    B) fresh install & update & recover Time Machine
    Backup to Time Machine
    Reinstall a fresh 10.5.8 (Leopard) - should increase speed in start-up / shut-down ??
    Update from 10.5.8 to 10.6 (Snow Leopard)
    Update 10.6 to 10.6.8
    Donwnload and Update to Maverics
    Recover users data & config from Time Machine
    I am thrilled to heard your advices!!
    PS. Aditional suggestions to make a faster boot / power-down , before or after updating are very welcome ;!)

    Go to  Menu > About this Mac > and tell us Version, Processor & Memory specs on your Mac. Also available hard disk space, by choosing your Macintosh HD and "Get Info" (cmd-i)
    If you're having issues now with slow sratup and shutdown, it's probably a third party item. If it is, then it may limited to your user account. If that's the case and you do a clean install, then migrate you will wind up migrating it right back.
    The first thing to check would be to boot into your Guest account and test, or try starting in Safe Mode and see if the problem still occurs?
    Restart holding the "shift" key.
    (Expect it to take longer to start this way because it runs a directory check first.)
    If this works look in System Preferences > Users & Groups > Login items and delete any third party login items.
    Also look in /Library/Startup Items. Nothing is put in that folder by default, so anything in there is yours. Then log out and back in or restart and test.
    If the problem is sorted, be sure to make a new backup before proceeding. Since the problem is sorted and you have a backup without the offending items, then there's no reason not to use the simple upgrade method you outlined in A. With the exception of "cleaning". The only cleaning your Mac should need is with a soft cloth. Stay away from so-called cleaning/optomizing utilities.

  • What is the correct procedure to connect and collect events from IPS through SDEE

    What is the correct procedure to connect and collect events from IPS through SDEE?
    We are a 3rd party application, that needs to collect and analyze the IPS events for a client.
    Currently the approach we are following is
    1) get a SubscriptionId using the URL below
    https://IP_Of_IPS/cgi-bin/sdee-server?action=open&events=evIdsAlert&force=yes
    This gets us a subscriptionId which is used in step 2
    2) Collect events from the url below
    https://IP_Of_IPS/cgi-bin/sdee-server?confirm=yes&action=get&subscriptionId=sub-sample&startTime=1362699903575432000
    a few more notes here are
    - starttime is current time in nanoseconds
    the peculiar problem here is that, even though we specify todays date, SDEE returns us the events from mid Feb (today is march 7)
    we did try a few combinations, but are out of ideas.
    any help or direction would be appreciated

    This is more an application issue than an IPS issue.
    Have you compared your app against other apps [IME]?

  • How many times can Windows 7 be syspreped, what is the official Answer?

    Hey everyone, can somebody out there give me the straight answer on this?  What is the official number windows 7 can be syspreped?  I am looking to build my reference images, but every time I do this I have to 150+ updates each time.  Can
    I get way with just updating the reference image every time?  I have heard there is a Max number of times you can do this before you have to rebuild.  
    We are running WIndows 7 Enterprise with KMS.
    Also will this apply to 8.1?
    Thanks

    Hi,
    Sysprep limitations are due to the windows activation process.
    There is no limit to the number of times that the Sysprep command can run on a computer. However, the clock for Windows Product Activation begins its countdown the first time Windows starts. You can use the sysprep /generalize command to reset Windows Product
    Activation a maximum of three times. After the third time that you run the sysprep /generalize command, the clock can no longer be reset.
    Assuming you are using a KMS: We recommend that KMS clients use the sysprep /generalize command where the value of the SkipRearm setting is equal to 1. After capturing this image, use the sysprep /generalize command, where the value of the SkipRearm setting
    is equal to 0.
    Karen Hu
    TechNet Community Support

  • Once I receive my Network Access Code(N.A.C.) for iphone 5 what are the next steps I follow to unlock my phone from vodafone to use on another network???

    Once I recieve my Network Access Code(NAC) for my iPhone 5, what are the next steps I follow to unlock it from vodafone to use on another network???
    I have my other nano sim ready and waiting to port my number to it, but im just waiting on vodafone to email me the NAC code, which i checked up that I was eligible for!!!

    Ok many thanks for telling me this BUT 1 last thing, once vodafone get back to me then is it just a matter of plugging my iphone into itunes and letting it sync? Like will a message be displayed or anything on screen letting me know or confirming that the phone has been unlocked...???

  • What is the correct procedure for upgrading to aperture 3.4

    I am working in South Sudan and am shortly going to be in a place where I can download all the updates. The last time I did an update was around 2 weeks ago.
    I presume that there will be updates for Mountain Lion, iPhoto and Aperture, plus a whole pile of iOS updates. From the support questions I see that there is a number of people having problems.
    I presume that the first thing to do will be to rebuild the library of aperture.
    What is the correct procedure after that?

    If I do an upgrade through AppStore, and find it does not work, do I uninstall first by removing to trash? What do you mean by revert to an earlier version, and which previous version of Aperture should I use.
    Neville,
    So you did buy Aperture from the AppStore?
    Then move the Aperture application to the Trash, but do not empty it, just in case
    Sign into the AppStore and reinstall. In this case you do not need to revert to an earlier version. If the AppStore installer does not find an Aperture in your Applications folder, it will have to make a full install, and no incompatible frameworks should remain, as is the problem with the partial upgrades right now.
    Yes, I have a bootable clone,
    And have you checked, if you really can boot from your clone? Just being very cautious.
    Do you use facebook? Some posters are having problems, even after reinstalling, if the want to publish to Facebook. Post back, if you encounter that problem.
    Good Luck
    Léonie

  • HT4623 Trying to install iOS 6 via itunes. Whats the proper procedure to follow?

    Trying to install iOS 6 with iTunes, whats the proper procedure to follow?

    Connect device to computer. Open iTunes. Select your iPhone under the Devices heading then click on the Summary tab in iTunes' main window. Click on the Update Software button.

  • What is the charging procedure for european travel do I need to use a transformer or just an adapter?

    what is the charging procedure for european travel? do  need to use a converter or just an adapter?

    The only thing would be an adapter, for example World Travel Adapter Kit from the Apple Store.
    The power supply will accept the 240V input in Europe.

Maybe you are looking for

  • Music Not Purchased from iTunes Not Synching

    My iPhone 5 no longer syncs any tracks that I did not purchase directly from iTunes (such as those I uploaded from CDs.) The albums show up on my phone, but when I attempt to play the songs they refuse to start and a red stop sign appears next to the

  • How to install Firefox for Mac on an external USB 3.0 drive and run Firefox portable?

    I recently acquired a new MacBook Pro 10.9 Mavericks laptop and, I would like to to install Firefox for Mac on a Mac-compatible external USB 3.0 HD, and import my 16MB of legacy bookmarks from a PC-compatible USB 2.0 HD and, run Firefox as a portable

  • Nokia Lumia 810 and 820 launch in India

    Can you tell me when Nokia Lumia 810 and/or 820 will be launched in India. I am really in need to change my existing mobile and just waiting for these two. Thanks! Solved! Go to Solution.

  • Default Open With won't change

    I am using ThinkFree Office as an alternative to Microsoft. It works off the same file formats as MS Office and therefore adds the xls extension to its spreadsheets, etc. etc. I tried changing the default application using file->get info-> open with

  • How technically Tutorial 1

    Hello Friends,    I am new to ABAP web dynpro. I have done the toturial one and its work fine. I just pasted the coding from the tutorial in the method WDDOINIT. navigate from <CONTEXT> to <SFLIGHT> via lead selection NODE_SFLIGHT = WD_CONTEXT->GET_C