How to identify the time required to run a package

Hi all

Is the method without TKPROFF to find the time to run a package that calls a procedure.

for the examples

Lets say I run a packaage to SQLplus window

SQL > Execute my_pack.bal_proc;

(It took some time may be 4 hrs according to my watch).

At this point if I want to find the time by a sql command that after running the package, which was the time.

can someone help me find a query which tell what was the time required to run a package.

Thanks n rgds
Saaz

Before execution:
SET TIMING ON

Then run your procedure. For example:

SQL> SET TIMING ON

SQL> Execute my_pack.bal_proc;

PL/SQL procedure successfully completed.

Elapsed: 00:00:00.00

Miguel

Tags: Database

Similar Questions

  • How to reduce the time required for INCLUSION

    Hello

    I have a vision SV which holds about 33 000 records, but when I try to insert the number of records in a table SV_T, taking huge amount of time that is 2 to 3 hours.

    What could be the reason, please provide your feedback.

    Also, I use the remote application for these operations.

    >

    Hello Chris and welcome to the forums.

    I have a vision SV which holds about 33 000 records, but when I try to insert these
    number of records in a table SV_T, taking huge amount of time that is 2 to 3 hours.

    What could be the reason, please provide your feedback.

    Also, I use the remote application for these operations.

    This is a technical question and you should go here and there [url https://forums.oracle.com/forums/forum.jspa?forumID=75] ask here.

    Note the name of this group in particular - in particular the bit in brackets.
    Forum: Suggestions and comments from the Community *(Do Not Post Product-Related Questions Here) *.

    Please also take the time to read the FAQ of the Group and the message by BluShadow
    at the top of the list of positions in the group SQL and PL/SQL .

    Help us help you.

    HTH,

    Paul...

    BTW, please close the thread here.

  • C: drive is running out of space, even if I moved everything I could to the E: drive. How to identify the "space Eater"?

    I moved all my data to the other disk. I was installing new programs on the other disk. Yet, the space on drive C: (37 GB) keeps becoming 'used '. Free space now is 2%. How to identify the "space Monster" which takes more and more the training?

    37GB is size sorry for C:.  My minimum recommendation for everything that came out at the time of and after Windows Vista is 60 GB.

    JDiskReport
    http://www.jgoodies.com/freeware/JDiskReport/index.html

  • How iterate/identify the screens of the application stack

    Hi all

    1. work on the version of BB storm (9500/9530 Simulator) is v4.7.0.75
    2 opportunity BB JDE 4.7

    3. the request is:

    In my application I have screens showns one based on the click number, how can I display no matter which screen every time I required.i tell how fetch/identify the battery and display.

    Thanks in advance

    Ratna

    I donno what are your exact needs...

    If you want to load screens on selcting a menuitem from the GUI go to create menuItem.

    In the case depends on certain conditions of your application then just use

    try
      {
           UiApplication.getUiApplication().pushScreen(TestScreen);
      }
    
    catch(Exception e)
    {
    // PUSH screen fails because the screen was already pushed.
    // remove the screens from top of the required screen.
    while(UiApplication.getUiApplication().getActiveScreen() != TestScreen)
    
      {
         UiApplication.getUiApplication().popScreen();
      }
    }
    
  • How to pass the time slot to the dashboard in URL parameters

    Hi all

    Does anyone have example on how to spend the time slot to the dashboard in URL parameters?

    That's what I tried. Normally, the dashboard has timeRange as a required context, I deleted and added "startTime" and "end" like required context, so that I can spend 2 timestamps in URL, and then I created a 'extra context' called "timeRange", which calls a WCF function to create a CustomTimeRange, it works pretty well. But the problem is if I have exploration down this dashboard to a different dashboard, the slot not transmitted properly. So I guess, I was not the right way. Does anyone have an example?

    Thank you

    Xiaoning

    1 re: timeRange not spent in drilldown pages

    Please confirm that you have defined one or more entries in context "Required". If you do not, please add a (like "hostName") and re - test. It work?

    2. with 'nologin' user URL redirects to the login screen

    Yes, what is expected. With nologin user, you should always use the form http://foglight_fms:80/console/foglight_ext?viewId=system:mywcfmodule.1?hostName=myhost of the URL rather than the

    form of http://foglight_fms:80/console/page/System:mywcfmodule.1?hostname=myhost .

    It would be great if you could post a brief description of your design dashboard once you have this work. That sounds like something that the other members of the Foglight community would be very interested!

    Kind regards

    Brian Wheeldon

  • How to identify the primary Parent of a shared node?

    We have a property that is set to Local defined, inherit,

    Suppose the 'Color' property and currently is the behavior in DRM

    Parent A - blue

    Child 1 - blue (inherited from Parent)

    Child 2 - color blue (inherited from Parent)

    Child 3-color blue (inherited from Parent)

    Parent B - Red

    Child 3 ~ part 1 - red color (inherited from Parent B)

    Child 4-color red (inherited from Parent B)

    Children 5 - red color (inherited from Parent B)

    The customer has improved the requirement so that in the case of shared members 'color' is inherited from the primary parent like the example below.

    Parent B - Red

    Child 3 ~ action1 - blue (inherited from "Primary" Parent A)

    Child 4-color red (inherited from Parent B)

    Children 5 - red color (inherited from Parent B)

    I guess I'm going to need a new property like 'Primary colors' and I need to write a formula to calculate the color of base on the primary parent.  However, I do not know how to identify the "main Parent" a shared node we use version 11.1.1.2 N-Tier

    I'm looking for suggestions on how to calculate the value of the property you want.

    Any help will be greatly appreciated.

    Hello

    You can create a new property derived like u said and use instead of the property defined in your exports or anywhere where you have to refer to the color. The property set can be used just to take the user input.

    The new derived property should be a logic like that-

    If (PropValue (Core.SharedFlag_MDM),

    NodePropValue (PropValue (Core.PrimaryName_MDM), Custom.Colour)

    PropValue (Custom.Colour))

    Now, 11.1.1.2 I lost the memory of how the properties are referred to as - if they are just used with their names or namespaces is mentioned (Core. , custom.). You can change the formula accordingly to view properties

    Thus, if SharedFlag_MDM is True, then it will take the value of the property to its primary node, which is inherited from the primary parent and if the shared flag is False then it is just a varValeurProp on the node itself.

    I hope that answers you.

    Thank you

    Denzz

  • How to calculate the time to SELECT

    I want to know how to calculate the time taken by the SELECT query.

    For example: I run a select statement in TOAD (oracle version 9i) who takes 40 seconds to run, but in the output window, it displays few records. It says "list 1 of 500 records, more records exist". This table has total 20 million records.

    Now my question is: have you my SELECT query took 40 seconds? or it took 40 seconds to SELECT 500 records.

    If it took 40 seconds to SELECT 500 records then how to calculate the total amount?

    Any help would be much appreciated.

    To avoid the exit which is probably not really need you can make

    begin
      for c in (select * from xy /*your query */)
      loop
        null;
      end loop;
    end;
    /
    

    This gives an estimate of the time to recover all the lines.

  • How to change the time local ODI?

    Every time when I run a package, execution time is two hours less than my computer, why? and how to change this problem.

    Thank you.

    Published by: user11037968 on 15-Apr-2009 01:10

    Hello

    If it's very confidential, please add the line in the file odiparams.bat/sh ;)

    Set ODI_ADDITIONAL_JAVA_OPTIONS = ""-Duser.timezone = Asia/Calcutta ""

    Asia/Calcutta will recover in time for the time zone of the India. So get your corresponding zone and set it.

    Thank you
    G

  • How to set the time that my screen stays on?

    How to set the time that my screen lights up.  I have an iPod Touch 6?

    Settings > general > auto-lock

  • How to set the time between slides in a slideshow (iPhoto, el capitan)

    How to set the time to say - 5 seconds or 20 seconds - between slide show photos in iPhoto. I use el capitan.

    See the Settings button at the bottom right of the toolbar (at the bottom of the slide show). Click on it and you have a small window with two tabes, refers to all the slides, the other to the selected slide. You can make your choice

  • On Apple Watch, how to change the time when traveling to a different country, like London or Singapore?

    For Apple Watch, can someone please show me how to change the time on my watch when I travel to another country, like London or Singapore? Thank you.

    Hello

    When traveling to a different time zone, it is not necessary to manually change the time on Apple Watch.

    After turning off the flight on each of your iPhone and Apple Watch, the time on your watch can be updated automatically to reflect the local time.

    If it is not the case, try restarting your watch:

    -To switch off your watch: press and hold the button side until you see the cursor off the power; slide it to turn off.

    -To reactivate: press and hold the side button until you see the Apple logo.

  • How to view the "timer" current user time

    Hello

    How to display the "timer" right now?

    Currently I have in my program using timer, how to display the current time left on the timer to warn the user the time left on the timer?

    The number of timer upward or the countdown?

    using TimerCB

    a Council does

    Thank you

    Ben

    I'm not aware of the possibility of obtaining the hour up to what a timer callback will be called, then I would say a different approach:

    If, say, you want some action to happen every 10 minutes, but I would like to update the user interface of every second indicating the remaining time I would set the timer to 1 s interval. In the reminder of the timer, I would use a setting that is incremented each time the callback is called; If this value reaches 60 x 10 I reset the parameter and call the function to get the job done. In all other cases, you can simply view 600 - setting (in seconds) than the rest of the time.

    An alternative may be to use two counters, one for the action, called every 10 minutes, and one for the update of the UI, called say every second...

  • How can identify the real space in my SGPT123 Tablet?

    Hello

    How can identify the real space in my Xperia Tablet? I can see only 10.0 GB, if suppose has 16 GB, where's the rest?

    A space is medical, the Android operating system and recovery Partition.

  • cannot update Windows XP (KB2345886). What is the time required to download "fix It."

    I downloaded the fix to resolve the problem. It is said that difficulty it will not work with our runtime. Q - What is the time required for an alternative for the update above. Thank you

    Hi TorahHavurah,

    For two updates install, have you tried to download directly to install.  You can go here for KB2718704 and you can go here for KB2345886.

    For the .NET error, I suggest to try for the .NET Framework cleanup tool to see if that helps.

    I hope this helps!

  • How to prolong the time that deleted files stay for me to see

    How to prolong the time that deleted files stay for me to see

    Original title: files deleted

    How to prolong the time that deleted files stay for me to see

    Hello

    You ask about the trash?

    Files remain in the Recycle Bin until you manually clear the location or you or someone else, manages the disk cleanup.

    If you do not ask the trash, please provide details.

    Don

Maybe you are looking for