How can I get the elapse time for execution of a Query for a session

Hi ,
How can I get the elapse time for execution of a Query for a session?
Example - I have a report based on the procedure ,when the user execute that it takes say 3 min. to return rows.
Is there any possible way to capture this session info. for this particular execution of query along with it's execution elapse time?
Thanks in advance.

Hi
You can use the dbms_utility.get_time tool (gives binary_integer type value).
1/ Initialize you time and date of beginning :
v_beginTime := dbms_utility.get_time ;
2/ Run you procedure...
3/ Get end-time with :
v_endTime := dbms_utility.get_time ;
4/ Thus, calculate elapsed time by difference :
v_elapsTime := v_endTime - v_beginTime ;
This will give you time elapsed in of 100th of seconds...
Then you can format you result to give correct print time.
Hope it will help you.
AL

Similar Messages

  • How can I get the Elapsed Time express to output in milliseconds?

    I am trying to get the Elapsed Time express to output in milliseconds or in seconds to three decimal places. I am pretty new at this.
    Thanks in advance!

    I'm not sure I understand your question. The output of the Elapsed Time Express VI is a DBL. It's already a floating point number. The default format for a numeric indicator is 6 digits of precision. You can change this in the properties for the indicator.
    To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
    Attachments:
    Example_VI.png ‏4 KB

  • How can I get the Date & Time to appear on my final project in iMovie11?

    I am using iMovie 11 and have imported video from a Canon Vixia-HF21 camera. The EXIF data is imported along with the video but when I produce the final product, the date and time do not appear.  How can I get the Date  & Time data to appear on the final product?

    There is a date and time Title you can use. If I recall correctly, it displays date plus hours and minutes, but not seconds.

  • How can i get the executing time of a IMAQ function.function could be IMAQ acquire IMAQ acquire.

    how can i get the executing time of a IMAQ function.function could be IMAQ acquire IMAQ acquire.

    Hello,
    This question was answered under a different category, here is the link:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=5065000000050000004EBA0000&HTHREAD=000047694&UCATEGORY_0=_15_&UCATEGORY_S=0
    Regards
    Russell B.
    National Instruments
    Applications Engineering
    Engineering Team Leader
    G Systems, www.gsystems.com
    Certified LabVIEW Architect
    Certified Professional Instructor

  • How can i get the System Time from the other host

    I want to get the System Time from the other host in the LAN,How can I get the Time using Java.
    Such as I am in WIN 2000 and I have a Unix host in LAN, I want to get unix host System time, How can I do it.

    Open a socket to port 13 and read a string with the time.
    -or-
    Open a socket to port 27 and read 4 bytes that are a network order timestamp
    Assuming that your UNIX machine has those services running, most do

  • How can i get the video if I go on tv5 news for the moment it doesn't work!

    How can I get the video if I go on tv5 news? for the moment it doesn't work!

    thank you very much, I am sorry but I don't know what all this is!! I am a new apple user ... comming from PC ! I go on internet to view the news and the video doesn't appear so I suppose, like on my computer that there is something that I have to download to make it work!

  • How can I display the elapsed time of the course using Advanced Actions in Captivate?

    I have a Captivate course which is approximately 35 minutes in length. On each slide I would like to display to the user, the current elapsed time.
    EXAMPLE:
    25/35 minutes complete
    The 35 would remain static, so I have been working with the elapsed time system variable in CP: elapsed:$$cpInfoElapsedTimeMS$$
    I can't seem to get the variable to properly display the elapsed time in minutes, rather than miliseconds. Attached is a screen shot of my advanced action.
    Can anyone provide guidence regarding how I should structure this differntly?

    I talked about that Timer widget in that blog post and pointed to another one:
    http://blog.lilybiri.com/timer-widget-to-stress-your-learners
    If you are on CP7, you'll have this widget also as an interaction, which means it is compatible with HTML5 output. Amd there is also an hourglass interaction, with similar functionality but... did not blog about that one
    PS: Check Gallery\Widgets to find all widgets. Default path is set to Interactions

  • How can I see the elapsed time on imported video?

    I'm trying to make a video in iMovie 11'.  I would like to be able to view the elapsing time of the song I imported so I can match video footage with audio.  With the older version of iMovie, I could see a time clock on the bottom of the video I was importing, so I could match the mouth to the lyrics. 
    In the older iMovie version, the entire audio would play when only part of the clips had been imported by me.  Now with this version, the song stops playing when the clips stop.  So partial completion of the video, doesn't allow a full time clock of the total song to allow me to match the voice on the audio with the film of someone singing.
    In short, I can't find the running time clock for the video player in the project library.
    Can you help me with thsi?  The help menu has not anweered my questions.
    Thanks.
    Dave Demoise

    I agree with Bengt W. There are many reasons, even in a simple movie, to want to know the timing of things. This is a surprisingly frustrating product. For want of timing information, you are requiring your users to pay $300?
    In my situation, I took some video of a show (with the performers permission) with an iPad and an iPod.  All I want to do is make a movie with one video as the main position with a series of cutaway clips from the other. It is incredibly frustrating to do this without knowing where you are within each clip.
    When helpful and capable forum participants like we have here have to spend time explaining how best to make do with a product, it's a clear indication of a fault with the product. Now, I either have to spend extra time in iMovie making due with this crippled interface, or I have to spend time looking for an alternative product.
    Consider this a feature request!

  • How can I get the rotation information of my wrists in Kinect for Windows v2 ?

    Hi,all
    Assuming we make human wrist as the coordinate origin point of a three-dimensional space Cartesian coordinate, then when moving the wrist freely, what is the wrist rotation information in the coordinate system? Can kinect V2 describe it just like the degree
    of roll, pitch and yaw in Face Basics demo given in the V2 SDK Browser?
    Based on Kinect Studio 2.0 on 3D View model, it gives a vector arrow at each joint in real time, when I move, the direction of arrows changes correspondingly. So I think this may help me to get the information I want.  
    Here are my questions:
    1. Could I use Kinect V2 SDK to detect and output this information directly? If not, any suggestion to use the data which SDK output to get rotation information?    
    2. If the Q1 answer is yes, what is the accuracy of the sensor about the degree of roll, pitch and yaw on wrist?
    3. I have read Kinect V2 SDK documentation about the body class, the JointOrientations property description says that "the joint orientations of the body", what I want to know is the joint orientation based on
    what frame of reference? The specific value of body.JointOrientations looks what kind of data?
    Any advise or guidance would be greatly
    appreciated. 

    Thanks Carmine. It's really helps. But I still have some questions to ask.
    As you said "a quaternion value, where the
    Y component rotation is around the direction vector from the parent",and you also said "The
    orientation value is ...not the rotation from the parent",my English is poor so I am a little bit confused. 
    About the accuracy, What is the level of accuracy under ideal conditions?
    And in what circumstance
    that "value could be 180 rotated" thing could happen?
    Thank you for your time

  • How can I get the current time in Xcelsius?

    I'm reading in an XML feed containing dates/times, and I'd like to do a calculation to see how old it is -- but I can't seem to access the current time in Xcelsius (=now() doesn't work -- it only calculates once, when the model is loaded).
    I can get around that (a bit awkwardly) with a timer, but I'd also like to know what the user's current time zone is... Any ideas?

    Hi,
    Maybe you could use a web service to return the required information - you can feed the timezone to the web service.
    Have a look at this:
    http://www.earthtools.org/webservices.htm#timezone
    http://markitup.com/WebServices/TimeZones.asmx?op=CurrentDateTime
    Best regards,
    Jacob

  • How can I get the run time of a method?

    I click a button "draw" to invoke a method such as draw many shades.
    It hangs a long time.
    I want to get the information of how long it spent.
    How can I do it?
    I'm new guy, more detailed please .
    one example would be much better
    ThankS all :)

    Try JAMon. It is much more flexible than currentTimeMillis() and easier to use.
    import com.jamonapi.*;
    drawShape()
    Monitor mon=MonitorFactory.start();
      ..code being timed...
    System.out.println(mon.stop());// prints time in ms.
    }steve - http://www.jamonapi.com - a fast, free, simple performance tuning API.

  • How can I see the elapsed time in an imovie project

    I am submitting a video for my national board teaching portfolio, and I need to reference certain things in the video at a certain time. How do I identify the time of a particular frame?

    I agree with Bengt W. There are many reasons, even in a simple movie, to want to know the timing of things. This is a surprisingly frustrating product. For want of timing information, you are requiring your users to pay $300?
    In my situation, I took some video of a show (with the performers permission) with an iPad and an iPod.  All I want to do is make a movie with one video as the main position with a series of cutaway clips from the other. It is incredibly frustrating to do this without knowing where you are within each clip.
    When helpful and capable forum participants like we have here have to spend time explaining how best to make do with a product, it's a clear indication of a fault with the product. Now, I either have to spend extra time in iMovie making due with this crippled interface, or I have to spend time looking for an alternative product.
    Consider this a feature request!

  • How can I get the logoff time of each db user from system view?

    I can get the logon_date from gv$session.
    Now,I want to get the logoff_date from some view or table.
    I know that I will get it with trigger.
    But,I am not will to user trigger for it.
    Who can tell me which view or table will show the info?

    But,I am not will to user trigger for it.Are you saying you are not willing to fire a trigger to gather this information?
    I don't know of a table, if one exists, someone will know.
    I say until you find a table, just write a SYSTEM TRIGGER on LOGOUT and place this information in your own table.
    Eric

  • HT3819 my kids got new ipads and I set up an apple id for each; how can I get the songs and apps we have already purchased for them from my apple id onto their new devices

    I understand that home sharing requires all devices to have the same apple id to access music, apps, books, etc.
    However, is there a way for my kids to share songs on separate apple ids so we don't have to buy 3 copies of the same song for our family?

    Turn on computer.
    Open itunes.
    Connect a device.
    Select what you want to sync.
    Sync
    Repeat for the otehr device

  • I purchased a magazine using the Zinio app which I'd recently downloaded on to a recently purchased iPad. I received an error message at the time (can't recall the details) but have since been invoiced for the $8.99. How can I get the Magazine I purchased

    I purchased a magazine using the Zinio app which I'd recently downloaded on to a recently purchased iPad. I received an error message at the time (can't recall the details) but have since been invoiced for the $8.99. How can I get the Magazine I purchased?

    FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
    For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
    Phone: 800-275-2273 How to reach a live person: Press 0 four times
    Hours of Operation: Mon-Fri: 9am-5pm ET
    Email: [email protected]
    How to report an issue with Your iTunes Store purchase
    http://support.apple.com/kb/HT1933
    How to Get a Refund from the App Store
    http://gizmodo.com/5886683/how-to-get-a-refund-from-the-app-store
    Canceling a Digital Subscription
    http://gadgetwise.blogs.nytimes.com/2011/10/14/qa-canceling-a-digital-subscripti on/
     Cheers, Tom

Maybe you are looking for

  • Internal table in user exit

    Hi, I am using user exit "MV45AFZZ" - Sales order, I have declaired one internal table in userexit_save_document_prepare and storing some data in it. FORM userexit_save_document_prepare. ENDFORM. I wish to use the data from internal table declared in

  • Flash Player for HTC Wildfire S

    Hi Please can any one at adobe help, & answer a question regarding Flash Player. I have HTC Wildfire S, I can play flash content from most browsers, but i would dearly love to use the bbciplayer, but cant as it requires I have adobe flash player. I h

  • FB60 fast entery

    Hi all In TC: FB60  fast entery here profit center field can be copy and paste is possible Thanks Bhaskar

  • Want to change picture dates

    I recently bought a new camera but foolishly did not set the date/time. I have now set this function but alot of my photo's dates are off. I want to change the date/time, but I don't think I want to do a "batch date change" because I want all the dat

  • How to amend PlaceMultipagePDF.jsx?

    Hi all I've found this script very useful, but there is one thing that is causing me an issue. I'm generally placing A4 pdfs into an A4 sheet. The script automatically places the pdf on the page with x, y axis of 0. I've been able to amend this measu