How to find How long dba jobs ran?

How would I know how long the dba jobs ran.I am not sure about dba_jobs.total_time.
Is there any way or data dictionary to find the how long the dba jobs ran.

Hi,
You can use info from DBA_SCHEDULER_JOBS and for Current Running DBA_SCHEDULER_RUNNING_JOBS
If you created a job uinsg dbms_job Dba_Jobs and Dba_Jobs_Running
- Pavan Kumar N
Edited by: Pavan Kumar on Sep 22, 2008 9:05 PM

Similar Messages

  • How to know how long the dba jobs ran?

    How would I know how long the dba jobs ran.I am not sure about dba_jobs.total_time.Is there any way or data dictionary to find the how long the dba jobs ran?

    Hi,
    Oracle recommends use of dbms_scheduler rather than dbms_job on 10g or higher.
    If you do switch to dbms_scheduler, run duration for all job runs is available in the all_scheduler_job_run_details view and the run duration of the last job run is available from the all_scheduler_jobs views.
    This is one of the several benefits to switching to dbms_scheduler.
    Hope this helps,
    Ravi.

  • How to determine how long dbms_job jobs take to execute?

    I have a number of dbms_Jobs (snapshot refresh jobs created automatically by creating the refresh groups) and I'm required to determine how long the jobs are running to verify some timelines. I was hoping it would be as easy as recording the last_date and next_date frequently and when there are changes, use the delta to determine (since the jobs are supposed to be scheduled from the completion of the previous job) but this doesn't appear to be working. I created a simple job that just sleeps for 15 seconds with an interval of 5 minutes, and (next_date - last_date) is always 5 minutes. What I would have expected was
    Job starts at 00:00:00 (last_date)
    Runs for 15 seconds, ends at 00:00:15
    Scheduled out 5 minutes: 00:05:15 (next_date)
    In that example next_date - last_date would be 5:15, and knowing the interval was 5 minutes I could determine it ran for 15 seconds.
    In practice though the current next_date becomes the next last_date (as if the interval is being calculated when the job starts, not completes), so it always shows 5 minutes which is just the interval.
    Short of not using the default jobs, and just submitting my own to do the refresh where I add some logic to record the duration, is there a good way to get this information? I'm using 10.2.0.4.
    Thanks

    Did you check out the TOTAL_TIME column of the DBA_JOBS view?
    :p

  • What dictionary to see how long a job has run??

    Hi, all.
    I would like to check how long a job has run.
    dba_scheduler_job_run_details.LOG_DATE - dba_scheduler_job_run_details.ACTUAL_DATE
    = the time a job has run.
    Is this right?
    Thanks and Regards.

    Dear Chandra.
    Thanks for your reply.
    Have a good night.
    Best Regards.

  • DBA jobs...Advise plz

    Hi All ,
    I am struggling to find Jr Oracle DBA jobs in the current market . I have done my Masters here in US but I haven't been successful in finding a Jr Oracle DBA job here . I have around 1 yr of experience as a DBA . Can you please guide me into finding a suitable DBA job .
    Advise is honestly appreciated.
    Thanks!!!!!!!!

    I agree with Helio Dias' suggestion to seek out helping some non-profit organizations, but of course, that won't pay back your student loan or pay your rent.
    You may consider applying yourself to the various staffing agencies (job shops). They have a myriad of job opportunities, and many of them specifically looking for Jr. DBAs. I know at our company, I personally had a posting for a Jr. DBA which we eventually filled through a staffing agency.
    I don't see where you are from, but in our area, some of the more commonly known agencies are: TechUSA, TEAM, TAC, AeroTek, Maxim Group, NRI (Network Resources Inc.), SAIC, and countless others. Do a google search on staffing agencies <your town>.
    Many of the jobs are temporary, but many of them are temp-to-perm. And don't discount the temporary jobs because you will learn a lot and gain a lot of diversified experience from them.
    Good luck.
    Ji Li

  • Remote oracle dba jobs (work from home)

    looking for url to find remote oracle dba job in USA?

    looking for url to find remote oracle dba job in USA?http://www.google.com

  • How to get that dba job

    Hi All,
    I am a dba rookie holding an OCA. Due to my limited experience I am finding it very difficult to get that job. A lot of the junior dba jobs posted on job sites are fake. How can I offer my services to employers directly? It has been a very long time since I am sitting at home, going through oracle documentation and playing with the databases I have at home.
    Please help me.

    I am definitely no career counselor so this might be meaningful as career advice from the guy with the squeegee at the stop light. There are a lot of answers to your question and this just my "pointer." (Basically the "foot in the door" trick.)
    Are you limiting your search entirely to jobs posted as DBA jobs? You may want to look for other positions you are qualified for in the companies you are interested in. Even if means entering the company below (entry-level) where you feel you should be. If you have experience and a degree in a related field you might search in that area first. In some companies positions like Business Analyst get you direct exposure to the people and experience you need for your resume. Or you might look for something along internship, contract, or temporary lines to get you in.

  • How To Get Oracle fresher Dba jobs in a company

    How to get oracle dba job in a company . Not a single company consider the fresher for dba. Then how can they get experience without start.

    877854 wrote:
    How to get oracle dba job in a company . Not a single company consider the fresher for dba. Then how can they get experience without start.There're a lot of companies who searchs for Junior DBA who knows the essentials of database administration. It's not easy to find them, but you need to submit your CV with recruitment companies
    Kamran Agayev A.
    Oracle ACE
    My Oracle Video Tutorials - http://kamranagayev.com/oracle-video-tutorials/
    My ebook - http://kamranagayev.com/2011/10/19/step-by-step-oracle-installation-all-in-one-e-book/

  • How long has the current SPID/Agent Job been running

    I have a SQL Agent Job that has 15 steps. Each step executes the same CLEANUP sproc against a database. STEP1 executes CLEANUP against DB1, STEP2 executes CLEANUP against DB2, etc. These 15 databases all have the exact same schema (that was the design
    decision - not going to change).  The job can run for days. I want to have a MAXMINUTESTORUN configuration (probably set to 4 hours) that the sprocs will check and when that is exceeded the sprocs will nicely terminate and then pick up  again
    the next time. I want to be able to ask in the sproc, how long has the spid/agent job been running. How is the best way to do this?

    Well, the idea for that, 
    the clean up always runs first on the database it never before and then it will run against the database that has oldest 'Lastrun". you can change this logic if you need.
    Using the demo scripts above, try this ...after the scheduling the job.
    1. run the job once..it will run the procedure for testA
    2.check the output of select * from msdb.dbo.cleanupjob
    3. run the job again..it will run the procedure for testB(the reason it picks this is because the cleanup procedure never ran for database testb)
    4.check the output of select * from msdb.dbo.cleanupjob
    5. run the job again..it will run the procedure for testA(the reason it picks this is because the cleanup procedure ran for database testb atleast once and 
    will the pick the  oldest "last run " database)
    6.check the output of select * from msdb.dbo.cleanupjob
    you can also ,,replace this block
    select top 1 @a= databasename from
    (select top 1 1 source,databasename from cleanupjob
    where (lastrun is null)
    union
    select top 1 2 source,databasename from cleanupjob
    where (lastrun in (select min(lastrun) from cleanupjob where lastrun is not null))
    order by source) A
    with 
    select top 1 @a=databasename from msdb.dbo.cleanupjob where isnull(lastrun,'19000101') in (select min(isnull(lastrun,'19000101')) from msdb.dbo.cleanupjob)
    order by id
    Hope it Helps!!

  • How to research a long running job from 3 days ago

    Re: How to research a long running job from 3 days ago
    Client called to say that a job that normally runs for 6 hours ran for 18 hours on 11/01. 11/01 was a Saturday, and end of month. The long running job writes to a log and I can from the log that that the problem started right around 10:43am. Every step
    before 10:43 was taking the normal amount of time. Then at 10:43 a step that takes seconds hung for 12 hours. After 12 hours the step finished and the job completed successfully.
    I looked at the SQL Log, Event Log, Job History (for all jobs). What else can I look at to try and resolve an issue that happened on 11/01/2014?

    It does execute an SSIS package.
    Personally I feel this as kind of bug in SSIS package but I am not expert in SSIS so I would move it to SSIS forum. Please update your question giving complete information what SSIS package does.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • How can I transfer files from one external HD (WD My Passport) to another external HD (Seagate Backup Plus)?  WD drive was improperly ejected and Finder no longer recognizes it.  Tried fixing with Disk Utility but failed.

    How can I transfer files from one external HD (WD My Passport 2T) to another external HD (Seagate Backup Plus 2T)?  WD drive was improperly ejected (although we did tell it to eject) and now Finder no longer recognizes it.   Using MacBook Pro and I just upgraded to Yosemite before this happened. Was told at Apple Store to use Disk Utility to repartition, but it failed.  It says to backup files and restore.  But how do I backup files?  Or would appreciate any other suggestions to repair drive.

    You may drag & drop between external hds. 
    Should you run into trouble.
    Take the exernal drive appart.  Take out the harddrive.  Try reading the data via a usb adapter. Put a household finan on the hd.
    http://www.cablewholesale.com/products/usb-firewire/usb-2.0-products/product-40u   2-01000.php?utm_source=Nextag&utm_medium=cpc&zmam=54972865&zmas=1&zmac=4&zmap=4 4 77

  • How long should I let Safe Mode startup run? I keep getting the "disk0s2 i/o error" message and I'm just not sure when to give up and try a different method. I already ran disk utility in Recovery Mode and it said there were no repairs needed.

    How long should I let Safe Mode startup run? I keep getting the "disk0s2 i/o error" message and I'm just not sure when to give up and try a different method. I already ran disk utility in Recovery Mode and it said there were no repairs needed but it still kept getting stuck on the apple loading screen.

    You have limited opportunity to attempt to create a backup of your created files.
    That is what the SafeBoot or safemode appears to allow you -- at the moment.
    Since the hard disk drive exhibits signs of failure or other major issues, plan
    on a replacement in the near future. You may be able to get the computer to
    start up in a regular full OS X (not safe mode) but consider its hours are limited.
    An externally enclosed hard disk drive (with own power supply, not relying on
    Mac ports to run it) is a good basic means of which to use a disk utility to make
    a copy or a Clone of the current OS X. This may help retrieve an archive that
    could be used along with a Time Machine backup, to restore your Mac once you
    get a new hard drive installed inside.
    Good luck & happy computing!

  • Freaking OUT!! I have a desktop (IMac) and my IPhoto library is gone! Events gone, albums gone, faces gone!!! I can't even find the folder for IPhoto Library under Pictures under my hardrive. I have no idea how long it's been this way!

    Ok so here's what has happened. I got on the Mac to open IPhoto. It opened, but no files PERIOD! No albums, events, photos, faces. They were all empty. I had TONS of albums and photos. I have no clue how long it's been this way, probably a couple of weeks since I've been on it. Ac couple of things come to mind that might have caused or had something to do with...IPhone 4 had to be restored and a back-up and upgrade occurred. Also, I deleted files off my camera while connected. Not sure the culprit, but VERY UPSET! I have never set up Time Machine and have no other back up. I downloaded and purchased File Salvage but I have to get an external hard drive before it will do it. I put the application install CD in last night thinking that if I reinstalled it would help but then I got scared and shut Mac down half way through. I couldn't even find the file IPhoto Library. When I open IPhoto it say IPhoto 9 but when I "get more info" it says IPhoto 8.1.2 or something like that. Please HELP!!

    Try an All Images Search:
    In the Finder:
    Command - f
    Kind: Images
    Size: Greater than 300kb (This is to avoid all the thumbnails, icons and so on.)
    Set it to search the Mac.
    As to why? The most likely answer is user error, I'm afriad. It does point up the importantce of always having a back up.
    Regards
    TD

  • How long does it take to get approval from iTunes Connect and how do I find out if they are working on it?

    How long does it take to get approval from iTunes Connect and how do I find out if they are even working on it? I'm not really sure if my application was even delivered - from the links in IBA. Any suggestions how one might push the right buttons at Apple?
    Also went around in a big circle trying to get beyond the confusion of not having the right Apple ID when I've had it a long time. Confusion abounds and learning this forum also takes a new degree of patience. Humbling to say the least :-)
    Anyone been there done that?

    [email protected]
    [email protected]
    …support phone number call +1 (877) 206-2092.
    Global Phone Support
    We have expanded English-language publisher phone support. To make contacting the iBookstore support even easier, new local phone numbers are now available for Australia, France, Germany, Italy, Netherlands, Spain, and the U.K. Support is available Monday to Friday, from 7 a.m. to 5 p.m. (PT).
    Country
    Phone Number
    Australia
    1300 307 504
    Note that this is a low tariff number.
    France
    0805 540 117
    Germany
    0800 664 5307
    Italy
    800 915 902
    Netherlands
    0800 0201 578
    Spain
    900 812 687
    U.K.
    0800 975 0615
    U.S.
    +1 (877) 206-2092
    Toll-free from U.S. and Canada.

  • Re:How to determine the long running jobs in a patch

    Hi ,
    How to determine the long running jobs in a patch .
    Regards

    Hi,
    Check the below MY ORACLE SUPPORT note:
    Note.252422.1 .... Check Completed Long Running Jobs In Oracle Apps.
    Best regards,
    Rafi

Maybe you are looking for

  • When I open mail I get a list of the messages received but when I click on a message it does not displaying the main window. I have 2 different mail accounts

    Just bought a new MacMini(my first Apple PC) and when I open mail I get the brief details of mail received but whe I click on the message to read the details I get a "loading" sign but the message is not displayed. Any help for a Dumbo would be appre

  • Urgent Help. How to send the email in HTML format in Version 4.6c

    Hi,   Please help me how to send a mail in HTML format with logo and specified format. Is it possible to send the SAPscript or Smartform in HTML format to external mail address.  The logo and the format is very important in this e-mail.   quick respo

  • Time Machine in a remote location

    Hi I have no idea if this even possibly, but here goes. I have a Timemachine set up on a NAS connected to my Apple base station. That's all working well (at least since 10.5.5). However, I'm just a little concerned that should my house be broken into

  • Error Message 564

    Hello Expert, We have sechduled a background job but it got cancelled  and getting ERROR_MESSAGE 564 .(Attached screen shot) and it is showing formally incorrect selection table transferred(Attached Screen shot). recently we have upgrated EHP6. Pleas

  • Mail search woefully incomplete

    I search for mail from someone, in this case, Humphrey.  It returns one email. I do the exact same search on my iPhone, and it returns the dozens of emails that should have been found on my iPad. This makes the search function in Mail essentially wor