DBMS_JOB timing

Is there a way to detrmine how long the last run of a DBMS_JOB took to complete (short of creating a timing table)? The DBA_JOBS view has total_time, but that is cummulative.
Thank you.

Yes, as you have correctly identified it, DBA_JOBS only shows the cumulative runtime.
The only way to get the runtime for each individual run of a job is to modify the job to write it's own start and end times to a log table.
If the job is an MV refresh job, you could encapsulate it into a plsql block and then submit the plsql block to dbms_job.submit, removing the original refresh job.

Similar Messages

  • UTL_HTTP & ORA-12535: TNS:operation timed out

    Hi ,
    I have written the following piece of code to validate if the Web Service is accessible using UTL_HTTP. If I schedule this procedure from Unix (as a cron job) OR try the modified version through Oracle Portal
    I get intermittent Timeout errors (Exception - -12535-ORA-12535: TNS:operation timed out).
    However if I schedule the same package as a dbms_job it always seems to work fine.
    Does anyone have any idea as to what/where the problem could be?
    create or replace procedure abc
    as
    v_ret varchar2(4000);
    begin
    SELECT UTL_HTTP.Request('https://some_external_url', NULL,'correct_wallet_path', 'correct_wallet_password') into v_ret FROM dual;
    end;
    Edited by: ricky90897 on Oct 9, 2008 5:37 AM

    It looks like you won't be able to test web service calls on apex.oracle.com. see this WebService on apex.oracle.com
    Edited by: tfa on Mar 18, 2013 9:59 AM

  • Open and edit animated .gif while preserving frame timing

    CS4 Premium Design Edition, Win XP
    I was disappointed with the removal of Image Ready from CS3 because although some of the functionality was placed into Photoshop 10, there was no way to open and edit an existing animated .gif while preserving the timing of each individual frame. I was told on the PS forum at the time that I really needed to use Fireworks. I resented that, because I was very happy with Image Ready and I didn't want to have to learn a new application just to gain functionality that had been included in previous versions of PS/IM.
    I've now got CS4 Premium Design Edition which of course includs Fireworks... and here's what Help has to say on the subject of imported .gifs.
    "Note: When you import an animated GIF, the state delay setting defaults to 0.07 seconds. If necessary, use the States panel to restore the original timing."
    This is no use to me. What if I don't know the individual frame timings? What if there are 200 frames with varying timings?
    Simple question: which current Adobe product is capable of importing a .gif while retaining the frame timings? If anyone knows, or if I've misunderstood the nature of the Fireworks Help quote above, I'd really appreciate some input here. Thanks :)
    Not so simple question: why was an excellent gif-editing application thrown out to have its functionality partially replaced by a bunch of scripts and half-effective workarounds cooked up by desperate users ("import a gif by using the video import and typing *.* into the filename box..")? It's a fair question I think.
    Mark

    Hi Bob, that's not glib at all, it's a reasonable question.
    I uninstalled it along with everything else when I installed CS3, in the reasonable expectation that whatever replaced IR would be at least equal in functionality.
    Perhaps I should just dig out CS2 and install IM from there, but I have some serious reservations about doing so, because I don't know if/how a partial install of CS2 will impact upon my installation of CS4, and I'm not confident of getting support.
    I am also curious to know if/why Adobe actually removed basic functionality without replicating or replacing it in their other software. I really want to know: which recent, currently supported Adobe product
    should I be using in order to regain this functionality? Or do Adobe no longer produce a geniuinely comprehensive .gif-editing application?
    Mark

  • Animated GIF ignoring frame timing

    I am trying to create simple animated GIFs with a few layers
    of text that simply fade in and fade out in sequence. My initial
    attempt worked perfectly. Most frames use the default 7/100's of a
    second delay as they fade. A few frames were manually set to much
    longer delays so that the text pauses, before fading out to be
    replaced by the next text.
    When I reopened the file, to adjust the background color, and
    then re-saved it, the GIF now plays straight through, ignoring the
    timing of each frame. Nothing I do now can get it to pause on the
    appropriate frames. I've tried cutting the symbols out and pasting
    them into a new file, removing the animation from the symbols and
    reapplying it, etc.
    Any ideas, anyone?
    Thanks in advance.

    None, None.

  • Question on Animated GIF Timing

    I have a weather-type animated GIF, and believe me, it is not
    my choice or
    idea, but anyway I need to get this working.
    Here it is:
    http://www.sendto.org/temp/weather-cvia.gif.
    In this animation, all the frames are set to 100 but the
    timing is not
    smooth. No idea why. When I change frame 2 to 50, the timing
    seems to me
    to be closer to even, but it makes no sense to cut the time
    on frame 2 to
    have all frames display for equal time. Is anyone else seeing
    this?
    The source file is here:
    http://www.sendto.org/temp/weather-cvia.png
    Many thanks,
    Tony

    Hi Anthony:
    Are you testing the playback in a browser? The FW playback -
    at one time
    anyway - was not a reliable method for previewing.
    Have you checked to make sure there are not several frames
    identical to
    frame 2 in the animation? That too would give the impression
    that frame
    2 is staying up longer.
    Jim Babbage - .:Community MX:. & .:Adobe Community
    Expert:.
    Extending Knowledge, Daily
    http://www.communityMX.com/
    CommunityMX - Free Resources:
    http://www.communitymx.com/free.cfm
    .:Adobe Community Expert for Fireworks:.
    news://forums.macromedia.com/macromedia.fireworks
    news://forums.macromedia.com/macromedia.dreamweaver
    Anthony Bollinger wrote:
    > "Linda Rathgeber **Adobe Community Expert - Fireworks**"
    <[email protected]>
    > wrote in message
    news:[email protected]...
    >> The lower the number, the faster and smoother the
    animation. It needs more
    >> frames to make it really smooth.
    >
    > Linda! Thanks for the reply!
    >
    > I sort of get what you are saying . . . but I guess I
    don't understand why
    > the numbers for each frame don't work. I don't have the
    "raw materials" to
    > supply frames in between the existing ones, although I
    might be able to work
    > up something. But let me make sure we are connecting.
    >
    > I think you are saying the animation takes "jumps" --
    that is fine as far as
    > what is needed. The whole problem is those jumps are not
    even, although I
    > have given fireworks identical numbers for each frame.
    We slowed the
    > animation down so that it would not be so annoying (it
    was originally set to
    > somewhere around 10 per frame and I changed it to 50,
    then 100).
    >
    > The whole problem with this animation is that frame 2
    displays for *longer*
    > than the other frames, even though I have told it to
    display just as long in
    > the PNG file. This must be a bug with either the
    exported GIF, the display
    > engine, or FW. Looks like the best way to fix it is to
    change the frame 2
    > value to 50, which is just a hack. I wondered if anyone
    has encountered
    > this before. There is nothing wrong with the PNG file,
    so this has to be a
    > bug.
    >
    > Thanks!
    > Tony
    >
    >

  • Troubleshoting help needed:  My iMac keeps crashing and restarting with a report detail: "spinlock application timed out"  What can I do to fix this?timed out"

    Troubleshooting help needed:  My iMac keeps crashing and restarting with a notice: "Spinlock application timed out"  What can I do?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • Microsoft Office can't find your license for this application - multiple copies of Office 2013 x32 failing to start, Software Protection Service timing out

    We're experiencing a growing problem with our users in several different domains running in to Microsoft Office 2013 x32 'activation' issues.  We use KMS for licensing, which works properly, but some of the machines (~20-30 out of 1000+) sporadically
    throw the following error:
    'Microsoft Office can't find your license for this application.  Microsoft Office will now exit.'
    We know it's not an issue with the licenses per se, since they work on and off and we can force KMS activation correctly / talk to the KMS servers.
    It appears to be an issue with the Software Protection service not starting properly.  In Event Viewer, we see the following:
    'Software protection service failed to start due to the following error- the service did not respond in a timely fashion.
    Event 7000'
    This is occurring on a variety of machines in a variety of environments, all fully patched with the latest Office updates.  It's inconsistent, and the 'manually restart the Software Protection Service' solution is not viable as it's occurring on many
    different workstations.  Office repairs have also been unsuccessful.  
    Has anyone else come across this? Or have any idea why the Software Protection Service might be sporadically failing?  Maybe an Office update in the last 2-3 months?
    Thanks for any info.

    We're experiencing a growing problem with our users in several different domains running in to Microsoft Office 2013 x32 'activation' issues.  We use KMS for licensing, which works properly, but some of the machines (~20-30 out of 1000+) sporadically
    throw the following error:
    'Microsoft Office can't find your license for this application.  Microsoft Office will now exit.'
    We know it's not an issue with the licenses per se, since they work on and off and we can force KMS activation correctly / talk to the KMS servers.
    It appears to be an issue with the Software Protection service not starting properly.  In Event Viewer, we see the following:
    'Software protection service failed to start due to the following error- the service did not respond in a timely fashion.
    Event 7000'
    This is occurring on a variety of machines in a variety of environments, all fully patched with the latest Office updates.  It's inconsistent, and the 'manually restart the Software Protection Service' solution is not viable as it's occurring on many
    different workstations.  Office repairs have also been unsuccessful.  
    Has anyone else come across this? Or have any idea why the Software Protection Service might be sporadically failing?  Maybe an Office update in the last 2-3 months?
    Thanks for any info.

  • Request timed out.- Error while opening a item in Blog

    Hi,
       We have a blog in our share point portal which was running properly before few days.
    We get Request Timed out error while opening an item in the blog. The list contains about        
       3500 items
    [HttpException (0x80004005): Request timed out.]
    We were able to create a new item but not able to view the item.
    When we check the server SQLSERVR.EXE takes more than 90% of the CPU Usage.
    Please let me know how to resolve this issue.
    Thanks,
    Vanitha

    Hi,
    According to your description, Please check the RAM allocated to your SQL server. MOSS server needs 2GB RAM
    to preform well. SQL requires 2GB RAM for optimum performance.
    Messages like this are mainly due to lack of RAM Allocation.
    Best Regards
    David Hu

  • TNS-12535 Operation timed out

    Hi
    I am working on IBM AIX, Oracle 10.2.0.4 version.
    Here I got the TNS-12535 error while running a report at particular time. (i.e 8:30 PM to 10:00 PM PST). But aftter this particular time it runs good.
    There is no errors found in alert log file. The below is the error found in the sqlnet.log file.
    Please help me to resolve this...
    Time: 18-FEB-2011 17:05:53
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 78
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=host_name)(PORT=1521))
    nt OS err code: 0
    Thanks

    Hi,
    Nothing to investigate at the application side, there is everything to investigate at the network side.
    Check the below points.
    - is there any firewall in play
    - is there any Network Address Translation into play
    - have the correct ports been opened in the firewall
    - is Oracle using random return ports (by default Oracle always uses 2 tcp/ip ports, the first one fixed, and configured in tnsnames.ora, the actual communication takes place on a radom port. If that is a problem at your site you need to fix that)
    - You need to run netstat -r to identify which ports are actually used.
    - Pavan kumar N

  • Timed commands- Align LOs in the front-end (SBX, WBX, CBX)

    Hi,
    I read in this manual http://files.ettus.com/uhd_docs/manual/html/sync.html  that utilizing timed commands can ensure that phase offset between multiple front-end are remained constant after each re-tune. This is an Ettus official documents, I wonder if we can do this for multiple NI USRP 2930 as well or not ?
    since the software of NI is labview and I don't know where should we enter these commands.
    Thank you
    Bahareh

    Hi Bahareh,
    You may have more luck if you add your post to the RF Measurement Devices forums:
    http://forums.ni.com/t5/RF-Measurement-Devices/bd-p/290
    Applications Engineer
    National Instruments

  • I cannot acess some of my emails. Thunderbird keeps saying "connection to SMTP server (email adress) timed out. What does that mean? What do I do please?

    I purchased 2 new email, adresses a few weeks ago. Both were fine but a few days ago I was stopped sending and stopped receiving emails on the one. The message comes up on my screen "connection to SMTP server (followed by my email adress) timed out. That does not mean a thing to me. What should I do please?

    Thankyou.
    I had been asked by ICANN some days ago to do something but I thought it was a scam so ignored it. Most other users I have spoken to have never heard of ICANN or been asked to 'register' with them or whatever. Anyway, post writing to you I have now 'registered' with them . When I now click on my incoming email adress it just says "failed to connect to server" but why it fails I do not know.

  • My e-mails are not sending. "connection to SMTP server timed out." How do I get this working?

    As of yesterday, I am receiving e-mails fine; however, unable to send. Everytime I try to send an e-mail, I get "Sending of message failed. The message could not be sent because the connection to SMTP server (my mail address) timed out. Try again or contact your network administrator.
    I received help from lunarpages (they host my domain); however, they were unable to resolve the issue. They suggested something is blocking IP, or need to update Thunderbird, or there's a firewall there...
    Help!!!
    My clients are waiting for responses to e-mails!
    Thank you.

    To diagnose problems with Thunderbird, try one of the following:
    *Restart Thunderbird with add-ons disabled (Thunderbird Safe Mode). On the Help menu, click on "Restart with Add-ons Disabled". If Thunderbird works like normal, there is an Add-on or Theme interfering with normal operations. You will need to re-enable add-ons one at a time until you locate the offender.
    *Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • Every time i try to logg on to my apple iD i get the message that tells me who says: "Your sessieon has timed out. Try again. " How can I fix this?

    I get the message" Your time has timed out" when i try to log on my apple id. Can you please help me?

    I get the message" Your time has timed out" when i try to log on my apple id. Can you please help me?

  • Is There a Way to Pop Up a Message for a Timed Period?

    Is there a way to temporarily throw up a pop up message then have it automatically cancel out on its own so the user is informed of a message without having to actually respond to it?
    The idea is that I would "like" to be able to throw up a message to a user when they select and enter something into field A that they then must enter something in field B (which is dependent on a non-empty field in field A and ONLY then).  It's my work around to informing the user that they have effectively made field B required after entering something in field A.
    If there isn't a way to throw up a timed message like this, are there other options/ideas?
    Note:  Ideally, I simply wanted to be able to add a bunch of Javascript on the click event of a submit button in which I would validate all fields that need some validation of some sort (rather than have a series of pop ups occurring every time a field is clicked or changed).  In other words a one time validation for all fields on one event which would then prevent the button from doing a formSubmit() if any validation failed.
    If you can tell me in what type of object and what event I could do the above, that would work too.  In fact, I think I'll have to do this anyway and I've tried a lot of different permutations of implementing this to no avail (i.e. a regular button, a submit button, an e-mail button on the click, change, mouseup, mouseup, etc. events).  But I appear to be doing something wrong because nothing I have tried is working (it appears as if none of the JS is triggering at all based on a simple app.alert not triggering).
    MJS

    I guess timed message is on the wish list
    However in all my forms I use following scenario to validate all data entry at one time and then submit...
    I use regular button and add code in Click event
    JS example.....
    var errorFlag = 0;
    var errorMsg = "";
    if (validation expression 1) {
         //true/pass
         //no need to change following values
         errorFlag = errorFlag;
         errorMsg = errorMsg;
    }else {
        //false/fail
       //set the flag and message accordingly
        errorFlag = errorFlag + 1;
        errorMsg = errorMsg + "validation message1" + "\n"; //\n for new line with in the message
    if (validation expression 2) {
         //true/pass
         //no need to change following values
         errorFlag = errorFlag;
         errorMsg = errorMsg;
    }else {
        //false/fail
       //set the flag and message accordingly
        errorFlag = errorFlag + 1;
        errorMsg = errorMsg + "validation message2" + "\n"; //\n for new line with in the message
    //finally
    if (errorFlag > 0) {
        //>0 indicates there are one or more errors
        xfa.host.message(""+errorMsg);//display all messages at one time
        exit; //now since there are validation errors you can stop processing further and exit the event
    //add submit code......here....

  • Timed loop and CPU usage

    Platform is WIN_XP Pro and machine is a P4 at 2.5Ghz with 512 Mb ram.
    LV7.1 + PCI 6229
    I am using  50ms Timed loop for running a state machine inside it
    and also a  whole lot of other things like reading / writing
    DAQMx  functions;  file I/O functions and such. As the
    project involves a  main and sub-panlel set up local variables
    could not be elimnated fully and there should be something like 150 of
    them. But not all are accessed always - maybe about 15 of them at any
    given time depending on the SM staus.
    Problem :
    Once started the "Finished late"  indication  is off and
    the  actual timing  alternates between 49 to 52 ms. The CPU
    usage is around 25%.
    But as time goes by,  the system gets unstable : After 15 minutes
    or so, the Finished Late indication is always ON and the CPU usage is
    gradually tending towards or exceeds 100%. 
    Obviously the machine control timing now gets affected and things slow
    down badly. Closing the application ands restarting repeats the above
    cycle.
    I am at a loss  to understand what is happening ?  WIll
    breaking down the single Timed Loop to multiple ones help  ? WIll
    that be an efficient way of parallel threading ?
    I can post the code but its quite large and will do it as a last resort.
    thanks
    Raghunathan
    Raghunathan
    LV2012 to Automate Hydraulic Test rigs.

    Hello,
    It sounds like an interesting problem.  It would be worth some experimentation to figure out what's going wrong - attempting to decouple major "pieces" of the code would be helpful.  For example, you could try breaking your code into multiple loops if that makes sense in your architecture, but perhaps you could even eliminate all but one of the loops to begin with, and see if you can correlate the problem to the code in just one of your loops.
    Another concern is that you mention using many local variables.  Variable read operations cause new buffer allocations, so if you're passing arrays around that way, you could be hitting a problem of forcing your machine to perform many allocations and deallocations of memory.  As arrays grow, this can be a bigger and bigger problem.  You can use other techniques for passing data around your block diagram, such as dataflow if possible (just simple wires), or queues where dataflow can't dicatate program flow completely.
    Hopefully looking into your code with the above considerations will lead you in the right direction.  In your case, removing code so that you can identify which elements are causing the problem should help significantly.
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

Maybe you are looking for

  • How to set up email on N86?

    I've tried several accounts, and no matter what I try the Nokia email setup gets stuck on "contacting email server". I would have thought it would work at least for gmail. The automated process doesn't let me put in any of the settings manually. God

  • Creation of components on page load

    Hi All, My question stems from the answers I received in these forum posts: - http://forum.java.sun.com/thread.jspa?threadID=5262963 (how to dynamically add components to a specific position in the page) - http://forum.java.sun.com/thread.jspa?forumI

  • Importing buttons

    The problem is that whanever i import a button from the library-when i attempt to change its text/label this applies for all the buttons imported in the document. I want each imported button to have its own text. Despite, in the relevant pop-up windo

  • Loading two movies & loading entire current movie

    well, having a bit of problems with figuring out my preloader :/. Iv been able to figure out how to load a single external movie with a dynamic preloader graphic that tracks percent and stuff, but i have not been able to figure out how to load multip

  • Bill Wise Opening Balance

    Hai, I need to enter the Bill wise opening Balance of the customer/Vendor. Please let me know how this can be done regards Suresh S