Find deleted information from user_jobs in Oracle 10g

Hello All,
I had scheduled a job in oracle 10g to run only once using dbms_jobs.
I wanted to find out how long the job took ( total_time) and what SQL it was running ( user_job.what) but the information about the job seem to get deleted from user_jobs once the job is completed.
Is there any other table/ view I can use to find these information?
Also, will it be possible to query the user_job as of previous time when the data was there? if yes, please also let me know what privilidges and setting is required. Currently, I just have basic developer priviledge.
Many thanks in advance for any help.

Information about how long a job took and what SQL it was running is not stored anywhere when you use DBMS_JOB. Once of the nice things about using DBMS_SCHEDULER rather than DBMS_JOB for job scheduling is that DBMS_SCHEDULER automatically logs timing information.
How long ago do you want to look at the data in USER_JOBS? If you are just trying to look back an hour or two ago, you may be able to use a flashback query. How far back you can go depends on your UNDO_RETENTION setting, the size of your UNDO tablespace, and the amount of UNDO that is generated by your system. The theoretical maximum you could flashback is 5 days, realistically, not many production databases can flashback more than a few hours unless someone has specifically identified the need to do longer-term flashback queries. The default UNDO_RETENTION is only 15 minutes. Plus, you're not guaranteed that you'll be able to flashback (that can be changed, but it's a pretty dangerous change because it will cause the database to stop if you run out of UNDO space).
Justin

Similar Messages

  • How to Find the Current Instance Id in Oracle 10g

    Hi,
    how to find the current instance id in oracle 10g studio,
    I have the below code :
    if (InstanceScreenFlow.processInstance.id.id.indexOf(text : ins.id) < 0) {
    /// do something
    it is saying that "'processInstance' is not a function"
    Thanks,
    Brijesh Kumar Singh.

    Why not just pass in the "id" predefined variable into your screenflow? Once you do that you'll be able to refer to it as "id.id" anywhere inside your screenflow.
    Dan

  • How do i add or delete information from an existing pdf document?

    How do I add or delete information from an existing pdf document??

    The free Reader has no editing capabilities.

  • How to find delete message from iphone

    how to find delete message from iphone?

    I am afraid that I don't think there is a way to do this.

  • Licensed version and free download from OTN of Oracle 10g DB

    I had a doubt with any difference with the licensed version and free download from OTN of Oracle 10g DB. We had downloaded a free version of oracle 10g
    database from OTN and are using it in our live environment. It seems to be working fine. We are trying to get a licensed copy of Oracle 10g DB also but that may take sometime. So, my doubt is whether the free download from OTN should not create any problems in our live environment.
    I hope, my question is clear.
    Please, help in solving the doubt.
    regards

    Hello,
    There is no difference whether you download from OTN or get so called licensed copy of oracle software. It's free to download and free to use you are using for personal eduction purpose, but if you are using for commercial purpose then you should contact oracle sales for pricing but you can continue with the same software. See following link for certification on different platform
    http://www.oracle.com/technology/support/metalink/index.html
    Regards

  • How do I delete information from my Christmas card label list?

    How do I delete information from my Christmas card LABEL list? I have tried and tried.

    First, be aware that this isn't an area where I have much knowledge or experience -- so you may get a better answer from someone else here.
    Preview is usually used for PDF and pictures to view documents or photos and while it has some capabilities to "mark up" those documents it isn't meant to work like a word processor to modify them. PDF is Portable Document Format and is primarily used to send a document to someone in a way that they can read it on their computer without having a particular program (that you might have but that they might not have), but not have the ability to change that document.
    I have Christmas labels that were created via Avery (their online site) and they are also in PDF format and are also not editable to my knowledge. If I need to change any of them this year I will go back to the Avery program and create a new batch from the saved source address list. How were your labels originally created? You may have to go back to that point and create another document.

  • Migrating database from PostgreSql to Oracle 10g

    Hi
    can anybody help me by providing steps to migrating database from PostgreSql to Oracle 10g. its very urgent requirement. so please let me know if anyone know about this setps.
    thanks in advance.
    jayesh
    cignex technology pvt ltd

    NPD wrote:
    Hi Guys,
    Can one migrate database from sql2005 to Oracle.
    Thanx.You can use [Oracle Migration Tool |http://www.oracle.com/technology/tech/migration/workbench/index.html]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • How to the find the Delete records/Statement used in Oracle 10g database?

    Hi all,
    I am Using Oracle 10g Database release 2 on Windows 2003 Server Enterprise Edition... Last week One of my user has deleted important records from my database,i need to find who did this... is there any way to find out ...Please Advice me ....One More thing i have not enabled the Auditing features in My database .....
    Thank You
    Shan

    Rajesh Lathwal wrote:
    Use log miner ..
    Regards
    RajeshEven with that, if he wants to know WHO, he will have to have previously enabled extended logging ....

  • Where can I find the deployed EJB files in Oracle 10g AS(904)

    Hello All,
    Where can I find the deployed ejb files, stubs and skels in the Oracle 10g (904)
    When I try to run my ejb application I m getting following exception:
    com.evermind.server.rmi.OrionRemoteException: Error (de-)serializing object: org.apache.log4j.Logger
    I am not sure what is causing this error. I am not using any logging in my EJB. But the logging framework is configured in the application server.
    Your input would be a great help to me
    Thank you

    Thanks Carty,
    I am not creating Connection from EJB. I have a POJO called DBManager that looks for the DB Connection and return that to either EJB or other POJO that requests for Connection.
    I am having a private method that get the connection from the DBManager because while writing UnitTest cases I can mockup getting Connection as my Unit test case will be a POJO again..
    I have a question here regarding making DBManager as Singleton class. In my current project, I have configured my database in the application server as getting the connection by lookup for datasource through JNDI. It internally maintains all logical connection and always have one physical connection. In such scenario how implementing singleton will be beneficial?
    Thank you for answering all my questions.

  • When I sync, it deletes information from my iphone (pictures, notes, etc).  How can I back this information up before syncing?

    I haven't synced in a long while, because last time it deleted all my pictures, contacts, and apps.  It replaced it all with old information from itunes,  Now, my phones memory is low... Is there a way to backup my iphone without syncing?

    This exact thing is happening to me as well. For some reason every time I delete the duplicate contacts from yahoo and then sync, they get duplicated again. Someone please help...

  • Porting data from Oracle8i to XML and from XML  to Oracle 10g

    Hai
    I have a client database (using oracle 8i) and a server database (oracle 10g).
    Due to lack of leased line connectivity i want to port these offline data from 8i to 10g
    using a modem(dial up connection).Is there is any way to port data from 8i to XML
    and from XML to 10g.
    thanks in advance
    dejies

    Thanks Nicolas,
    As per documentation, it seems to be difficult for export/import from Oracle8i to 10g. Is that any way to achieve this? I have to append the newly imported data with old or exisiting data into Oracle10g.
    Regards
    Nikhil

  • How to delete the recyclebin data  in oracle 10g

    i create one table.then i drop the that table.this table will be kept in recyclebin in oracle10g .how to remove table permanentley in oracle 10g.
    i used drop table table name and select * from tab;it will come two tables like
    BIN$kLM/ilgxTUil64ZsNG0l7A==$0.
    how to drop table permanentley.please give me steps.

    Hello;
    Use the PURGE statement to remove a table or index from your recycle bin and release all of the space associated with the object, or to remove the entire recycle bin, or to remove part of all of a dropped tablespace from the recycle bin.
    Remove a File From Your Recycle Bin: Example
    The following statement removes the table test from the recycle bin. If more than one version of test resides in the recycle bin, Oracle Database removes the version that has been there the longest:
    PURGE TABLE test;
    To determine system-generated name of the table you want removed from your recycle bin, issue a SELECT statement on your recycle bin. Using that object name, you can remove the table by issuing a statement similar to the following statement. (The system-generated name will differ from the one shown in the example.)
    PURGE TABLE RB$$33750$TABLE$0;
    Remove the Contents of Your Recycle Bin: Example
    To remove the entire contents of your recycle bin, issue the following statement:
    PURGE RECYCLEBIN;

  • Importing from 8 to oracle 10g

    how can i export oracle 8 data to oracle 10g

    Hi,
    There is two ways to do it.
    1) export from oracle 8 database and import in to oracle10g database
    2) export oracle 8 data from oracle 10g database by using tns alias and import in to the oracle 10g database.
    example: form oracle 10g database
         (tnsalias= for connect to oracle 8 from oracle 10g)
         exp system/XXXX@<tnsalias> file=xyz.dmp log=xyz.log ......
    Alex

  • Migration from Oracle9i to Oracle 10g

    Hi All,
    Is anyone aware of exact differences between Oracle 9i and 10G?
    Can some one point me to any URL where I can find exact list of difference between Oracle 9i and 10G?
    Thanks in advance.
    Regards
    Ninad K

    Hi,
    There are so many differences.
    You can start to have a look to the doc: Oracle® Database New Features Guide 10g Release 2 (10.2)
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm
    I hope it helps you.
    Regards
    Mireille

  • Problems with OPMN from Companion CD (Oracle 10g R2 x86_64 RHEL4)

    I have installed Oracle 10g DB R2 64bit on RHEL4 x86_64 (AMD64) and HTTP-Server from Companion CD
    All works.
    But after running opmn appears problems:
    1. The system message to syslog: "ip_conntrack: table full, dropping packet"
    2. 'netstat -a' displays me thousands TCP-session on localhost to port 6100 in TIME_WAIT state
    And network services on my host more died than alive...
    If I increase ip_conntrack kernel parameter, then network state alive. But the problem with TCP-sessions is not resolved.
    Any ideas?
    Thanks, and sory for my english :-)
    P.S. I have RHEL4 without update 1, but with new kernel and patched binutils. Update of RHEL can resolve this problem?

    Thank you!
    The problem described in Metalink Doc-ID Note : 284602.1 is my case!
    But this document applies to Oracle Net Services - Version: 10.1.0.2 to 10.1.0.3.
    I have Version 10.2.0.1.0 and the problem apears again (with some symptoms are differ).

Maybe you are looking for