Fine Tuning Procedure

I am new to Oracle. I have written few stored procedures and one of the sp is taking lot of time to return values. Is there a way in oracle to find the bottle neck.
Your help will be appreciated.
PS

sorry, the previous posting was not complete.
use alter session set sql_trace=true;
That should work.
You'll get a trace file in your OS I think it is in the directory specified by background dump destination.
If you can't alter the session before you invoke the procedure, there is another way to trace a foreign session.
use dbms_system.set_sql_trace_in_session(SID,serial#,TRUE).
To identify the session use select SID,serial#,osuser from v$session where osuser='YOURUSERNAME';
That all seems to be a lot of work, but if yu tried it once, you'll find it simple. And iti is faster than analyse your application by hand.
Hope that helps
Detlev

Similar Messages

  • Tuning procedures

    hi all i have some procedures which are used to calculate the required data
    i want to fine tune them but really don kno how to do how can i find where my procedures take time i tried to study execution plan but couldn understand much
    can any one tell me where can i learn more about the techniques of fine tuning
    procedures
    also does putting all the procedures in a package affect much
    please help with some links and guidance

    Explain plans are not very useful for anyhing except SQL. So they won't really help with triggers. You can find bottlenecks in your code by using DBMS_PROFILER. Tim Hall has a useful introduction to this utility on his Oracle Base site (it also includes links to the relevant parts of the manual). Note that this utility works with procedures and functions, so you may need to take the code out of the trigger.
    Stuffing program units into a package may improve performance slightly, providing all the methods in the package are related. However this approach only minimises loads, it's unlikely to make the frequently used code run any faster over the course of a day.
    Cheers, APC

  • Customising the RAW fine tuning as default for importing. In Aperture 3

    RAW Fine Tuning.
    I use a Canon G11 PowerShot camera.
    I’m being unsuccessful customising the RAW fine tuning as default for importing new files, so each new RAW file imported come into Aperture 3 with the changes from the Apple default.
    All I want to do is: reduct the boost from 1.0 to 0.5 and Hue Boost from 1.0 to 0.5.
    I made the said changes by moving the sliders.
    Then from the cog wheel (in RAW fine tuning) click on save as preset ( give it a name )
    I now see it in the list , I click on it - click save as camera default - it now say camera default next to my custom settings.
    However when I import new RAW files into Aperture 3, it imports the file with the Apple settings not my custom settings that are marked with camera default.
    NB, I had not problem changing the above in Aperture 2 - I have done it before and I believe I have gone through the procedure correctly
    Can anyone please help
    Thanks Martin

    Hi Matthew
    What I'm doing is: setting the RAW fine tuning camera default ( to my custom settings) , so all new files being imported into Aperture 3 will take my custom settings as they are imported into Aperture 3.
    I did this will Aperture 2 without any trouble . now I have upgraded to Aperture 3 the RAW fine tuning camera default is Apples and I have to change it from Apples to my custom preset.
    It shows I have changed the RAW camera default to my custom settings in the drop down list but when I import files - they take the Apple preset not my custom settings ? ?
    Martin

  • To extend a clip I have `Show Fine Tuning controls' turned on in my iMovie 11 preferences, but the blue forward/backward buttons don't appear.  To get the orange handle bar, is there a hotkey?

    To extend a clip I have `Show Fine Tuning controls' turned on in my iMovie 11 preferences, but the blue forward/backward buttons don't appear.  To get the orange handle bar, is there a hotkey?

    That's a comment in the file. It has no effect at all.

  • Fixing Radio: Fine tuning songs (Hits, Variety or Discovery Mode)

    Our radio has always been weird, you never know what songs it plays, and it always REPEATS THE SAME GOD darn SONG over the past hour.
    It's time to fix it. 
    If you've tried, or at least clicked into an app of a competing service, this is how it looks like:
    You can kinda tune the station to WHAT YOU LIKE, for eg, Hits, Variety, or Discovery and the radio will adapt what you want to hear.
    Here's another example (A not very solid example though):
    As you may know, Echo Nest is now a Spotify company, anyway, this shows the radio where you can slide to whether artist only or discovery in general (This might not be a good example, as if I just wanted to listen to the artist, I would've just went into the artist page and click on Shuffle Play.)
    Here's another example:
    This is a relatively new music service, but if you've tried its radio, you wil find out that its really really spectacular. You can tell the service what is your mood and it plays songs based on that, but if that's not enough. It actually has brand new algorithms that is built just for this, I read somewhere that it even monitors your location, the songs you play in that location/event, the volume the song is playing and when you hit the radio mode, it will analyze all of this algorithms and play based on that.
    So the radio needs improvements in its really bad algorithms and a fine tuning option.
    PS: If you go the comments section of this idea, in page 2,  bought up a really good visual of a competing music service vs Spotify when using the radio, if you've time you should take a look and if possible share more of the problems that you face with Spotify Radio.

    "Improving Station" is a joke.  I have a station based on Laura Nyro.  I keep getting the same very popular Nyro songs (but even that rarely) and some other 60s, 70s, 80s female vocalists.  Nothing newer.  I also get a ton of stuff nothing like Nyro, including male vocalists and male bands.  How many times do I reject anything of Elvis Costello before you stop playing it?  Same for many other artists.  You really need to track that if someone has rejected every one of an artist, quit playing that artist. Or, better, provide as has been suggested elsewhere here, a button "reject artist."  I've nothing against Costello, or Lightfoot, or the Doobies, or Bread, or many of the artists you put forth on my Nyro station.  I just don't want anything besides lilting female vocalists on my Nyro station.  (As well as much more Nyro.) Your learning algorithms are a joke, song by song is useless-- I have to come running back to the computer to keep rejecting stuff, even though I've been trying to "improve" the station for weeks.

  • Small fine tuning is required in the calculation

    Hi Gurus,
       BI PM module for the report Schedule attainment filtered for one order.
    The result supposed to be Total job scheduled = 1, completed orders = 1 and No of orders completed on Schedule = 0. However, the report shows, Total job scheduled = 7, completed orders = 1 and No of orders completed on Schedule = 0.
       By this what happens is that total jobs scheduled become 930 for Plant = 2200, Planner Group = P01, Order Type = PM03 while Completed orders and Completed orders on Schedule is correct.
        ie Formulae in update routine IF( IS_INITIAL( /BIC/ZIBFDCH ), 1, 0 ).
        Please tell the small fine tuning in the calculation, points will be assigned.
    Regards,
    Kiran A

    Answer Finded

  • Configurable Code-list not Extendable in Fine-Tuning.

    Hi
    I am facing some problems while changing the values in Code-list while using fine tuning process in Configuration. I have created three code-lists and then being added to configuration using BAC.
    In this BAC I have created one business Topic and three separate business options. Each business option is linked with each bcc (business Configuration Set).
    Now when I go to and “Edit project scope” I am able to get the code list on my UI using extension fields and values are there too. But the problem I am facing is that in “Open Activity list” when I open the Business Options NOT all the options are opening properly.
    Although I have got some of them opening fine and let me make changes while others are showing errors.
    Any Advice Please.
    Many thanks in Advance.
    Regards
    Asad

    Yes i have regenerated now and still the same problem is there.
    Yes the flag has been selected in the BC SET.
    in Fine tuning there is slight difference in BOTH BC views.
    One with normal behavior only shows the code in code list while the one with Issues/Problems is showing code & Description in same CODE column while some Times it does show only code though?? 
    Any guess here?
    Regards
    Asad

  • Few Methods of fine tuning query

    I want to know few methods of fine tuning the query

    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96533/toc.htm

  • Fine-Tuned Control: Purchase Order

    Hello
    When I make : SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define message type for purchase order->Fine-Tuned Control: Purchase Order
    What means the  U=>Update print-dependent data
    Somebody could tell when I can use it, and tell me the impact of this.
    Thanck you very much for your help.

    Hi,
    If you select this indicator "Update print-dependent data" under Fine-Tuned Control option then in PO, if you click on "Print Preview" button then system will not show the pop-up screen (which contains all the print parameters, default printer, Logical destination, etc...). And system will consider the output type as default for print preview for which "Update print-dependent data" is marked.

  • Raw Fine Tuning 2.0 not available?

    I'm using the Trial version of Aperture 2.1.2 and tried editing FujiFilm FinePix S2 Pro raw images. For Raw Fine Tuning, only versions 1.0 and 1.1 could be selected (and thus sliders such as "Recovery" are unavailable). I did a Software Update (which installed Raw Converter 2.5), and I restarted my system. No apparent change: only 1.0 and 1.1 are the choices.
    Does this mean that Raw Fine Tuning 2.0 is not available for FinePix S2 Pro raw images?

    Perhaps...
    I can understand if Apple chooses not to support or to discontinue support for a particular image type, especially given the Fuji circumstances. And I appreciate the ability to do a 30-day free trial. I guess where I got a little irked is that I had to spend time troubleshooting a problem I thought should have been documented (it is not a bug; it was a decision that affects the availability of product features).
    Thanks for the replies, Brian.

  • Latest batch of RAW files has all the raw fine tuning options greyed out

    I shoot about 1000 images a week with my 40d and edit/organize all of them in Aperture... the latest batch (a pretty important batch at that) of 800 or so imported fine but does not allow me to use the 'Raw Fine Tuning' options as if they are JPGs. I can still go to the images i imported last week and the RAW fine tuning works fine, even some in the same album... any ideas?
    Aperture 1.5.6

    more informaion:
    today's images imported fine, so you can rule out the security patch.
    even more peculiar i exported some of the images, and imported the same masters back in and much to my suprise the RAW fine tuning works. I rebuilt the library hoping that would help but it didn't, I'm just going to go back through the library and re-tag and rate my picks from the shoot, but any idea on how to keep this from happening again? it has to be some wacky setting or something, I can export the broken image and the import it again and it works fine.
    any help would be appreciated
    mark

  • RAW Fine tuning

    The RAW Fine tuning options are not showing up in my adjustments hud. I have Aperture 1.5.6. I can't find a way to add this to my adjustments hud. How can I add this?

    What camera are you using? I don't think that Aperture supports raw fine tuning for every camera—only those with optimized support.
    Cheers,
    Andreas

  • Fine tuning with 3D roatation tool?

    Hi,
    I'm wondering if there is (and I feel there HAS to be) a way to fine tune movements with the 3D rotation tool. Using the mouse works to an extent, but just like nudging movements with the arrow keys, it's sometimes impossible to get the placement I want with mouse dragging. I'm pretty new to using these tools so maybe it's super obvious and I'm missing it?
    Thanks!

    Use the Motion Editor to do some great fine tuning. You can adjust each property separately and it will give you much better control.

  • Windows Operating system Fine tuning for Hyper-v 2012 role

    Hi Team,
    we are installling windows 2012 Hyper-v in GUI Mode in Datcenter Edition. i have 5 host and each carrying 128 GB of RAM with 600 GB of RAID harddisk.
    please let me know if we have any fine tuning guide for windows 2012 OD to host hyper-v role which can guide the Virtual/Page file memory, partion size and etc.
    Ravi

    Hi,
    Also you can refer the following KB it have a checklist about optimizing Hyper-V environment:
    Checklist: Optimizing Performance on Hyper-V
    http://msdn.microsoft.com/en-us/library/dd722835(v=bts.10).aspx
    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.

  • RAW Fine Tuning Engine with 5D mark II  - Aperture 3

    When comparing the raw fine tuning engine btw AP3 and AP2, I noticed that there are different...I have the feeling the settings on AP3 are too strong
    Anyone noticed the same ?
    Thanks
    Vadim

    Oh I see. Can't comment any further then since I don't own a 5D mk2.
    But FWIW my D700 files are not that much different.

Maybe you are looking for

  • Ipod reset utility

    My iPod Shuffle (2nd Gen) needs a reset. iTunes won't recognize it and gives me: "iTunes cannot recognize this iPod at this time. You must restore the iPod with iPod reset utility before it can be used with iTunes." So I downloaded the installer for

  • System Settings - Memory usage - Application

    In Memory Usage - Application, under System Settings, my slider is set to 100% and gives 2560 MB. I was wondering where this figure of 2560MB comes from, is that the max that FCE can use/access? I have 10Gb Ram on the system in total, why is FCE only

  • Business System doesn't exist in the SLD

    Hi,     Im trying to import XI content into the Integration directory. when i logged into Integration directory I clicked <i>Tools -> Import Configuration Objects</i>.     Im getting a dialog window saying "Business System <Business system name> does

  • Problem to invite participant with special e-mail adress

    Hello, I have a problem with Ical. I can't invite a special e-mail-adress like [email protected] When I send an e-mail with mac.mail at this adress I get the message: [email protected] ist keine gültige E-Mail-Adresse. Überprüfen Sie die E-Mail-Adres

  • Registry Settings used by itunes missing even after troubleshooting?

    Dell recently came out to replace a bad optical drive on my 9 month old desktop using Windows 7. Everything was working properly when this morning I tried to start itunes and I received the error message "The Registry Settings using by itunes drivers