Query Updation recovery in Oracle

Is there any way I can track changes made to the database timewise.
I modified a column value from front end by mistake. It actually toggles the column value in the table from 'Y' to 'N' or vice versa upon clicking it. Im not sure how many times I toggled.
I do see the value in the database with a modification timestamp which is captured in the same table with my userid.
I want to revert back the particular column value with original data. Is the updation values done in oracle database stored somewhere timewise?
Please let me know.

Thanks for the reply!!!
I tried DBLogminer in my test database by following the below url
http://www.oracle.com/technology/oramag/oracle/05-jul/o45dba.html
and Im able to see the past transactions...
I believe as per help docs the moment I end the session the turning on DBLogminer goes off...
What overhead it has on the database when turned on... Since we are kind of loading huge files from hard disk , is it a problem if we try to load very huge files...
will it leave a trace somewhere else that this kind of activity heppenned....
Please confirm...
PS: In my case the actual Oracle Server is in some other box...Still can I do the Logminer activity from a remote connection !!!

Similar Messages

  • Difference in select for update of - in Oracle Database 10g and 11g

    Hi, I found out that Oracle Database 10g and 11g treat the following PL/SQL block differently (I am using scott schema for convenience):
    DECLARE
      v_ename bonus.ename%TYPE;
    BEGIN
      SELECT b.ename
        INTO v_ename
        FROM bonus b
        JOIN emp e ON b.ename = e.ename
        JOIN dept d ON d.deptno = e.deptno
       WHERE b.ename = 'Scott'
         FOR UPDATE OF b.ename;
    END;
    /While in 10g (10.2) this code ends successfully (well NO_DATA_FOUND exception is raised but that is expected), in 11g (11.2) it raises exception "column ambiguously defined". And that is definitely not expected. It seems like it does not take into account table alias because I found out that when I change the column in FOR UPDATE OF e.empno (also does not work) to e.mgr (which is unique) it starts working. So is this some error in 11g? Any thoughts?
    Edited by: Libor Nenadál on 29.4.2010 21:46
    It seems that my question was answered here - http://stackoverflow.com/questions/2736426/difference-in-select-for-update-of-in-oracle-database-10g-and-11g

    The behaviour seems like it really is a bug and can be avoided using non-ANSI syntax. (It makes me wonder why Oracle maintains two query languages while dumb me thinks that this is just a preprocessor matter and query engine could be the same).

  • Writing an update statement in oracle forms 9i

    Hi ,
    I have a problem situation in which
    I am fetching values from a cursor and a recod group into two data block items text box and combo box respectively .
    Both the data is fetched from different tables .
    Now based on the selection from combo box I have to update the selected value in another table by writing an update statemet .
    I have created a button and on the trigger event of when button pressed I wrote a simple update statement but it's not working that way .
    Kindly help me how to write manual update statements in oracle forms 9i
    I can't used the update buil in of forms as I want to update in a table which is not mentioned in the property pallete of data block
    please help

    I just wrote a procedure
    PROCEDURE update_current IS
    BEGIN
    update table abc set xculumn= :block_name.item_name2 where ycolumn = :block_name.item_name1 ;
    commit;
    and I called the procedure from a when button pressed trigger
    it gave an error invalid identifier abc ( which is table name)
    pls help
    I am trying to do it with form_ddl(update_query)
    but here I am facing another problem
    I have update_query = 'update table abc set xculumn= ' || :block_name.item_name2 || 'where ycolumn = '||:block_name.item_name1
    now since xculumn and y column are varchar type so I suppose while preparing the query I have to concatenate single quotes ( ' ) at the start and end
    but i am facing problems in doing so
    please tell me an alternative way or how to concatenate single quotes in the above update_query variable

  • How to update column in Oracle SQL Developer?

    Hi everybody,
    How can I update table in Oracle SQL Developer like in PL/SQL Developer use:
    Select * from table for update;
    Thank you~

    Do you mean you want to edit the result grid?
    You can't edit the result grid of a query, but you can edit the data tab of a table.
    Click on the table in the object browser
    Click on the data tab
    Optionally filter the results using the filter field at the top
    Type into the data cells.
    Click on the commit button

  • Cannot locate policy manager query/update service

    Hi,
    I installed soa_server 11.1.1.4.0 on windows server 2003 machine, I got a weird issue while accessing the weblogic policy manager through em. I logged into em console, weblogic domain, domain, webservvice, policy throw this erro below
    "*Cannot locate policy manager query/update service. Policy manager service look up did not find a valid service, due to: Unable to connect to WS Policy Manager. <- oracle.wsm.policymanager.PolicyManagerException: WSM-02118 : The query service cannot be created. <- javax.naming.NameNotFoundException: While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved ''; remaining name 'QueryService#oracle/wsm/policymanager/ejb/IStringQueryServiceRemote'*"
    even my wls-m is running , I can access the http://host/wls-pm.
    Last three days I have spend for this issue but no clue.I disabled SSL, enable with SSL host validation false but also get this error.Please sort out this issue.
    Thanks
    Govindan

    Problem solved.
    Soln:
    Given ip address in the Listen Address field of weblogic Admin and SOA server. :)
    Thanks
    Govindan P

  • Not able to see ikm oracle incremental update and ikm oracle slowly changing dimensions under PHYSCIAL tab in odi 12c

    not able to see ikm oracle incremental update and ikm oracle slowly changing dimensions under PHYSCIAL tab in odi 12c
    But i'm able to see other IKM's please help me, how can i see them

    Nope, It has not been altered.
    COMPONENT NAME: LKM Oracle to Oracle (datapump)
    COMPONENT VERSION: 11.1.2.3
    AUTHOR: Oracle
    COMPATIBILITY: ODI 11.1.2 and above
    Description:
    - Loading Knowledge Module
    - Loads data from an Oracle Server to an Oracle Server using external tables in the datapump format.
    - This module is recommended when developing interfaces between two Oracle servers when DBLINK is not an option.
    - An External table definition is created on the source and target servers.
    - When using this module on a journalized source table, the Journaling table is first updated to flag the records consumed and then cleaned from these records at the end of the interface.

  • Query can run in Oracle 10g but very slow in 11g

    Hi,
    We've just migrated to Oracle 11g and we noticed that some of our view are very slow (it takes seconds in 10g and takes 30 minutes in 11g), and the tables are using the local table.
    Do any of you face the same issue?
    This is our query:
    SELECT
    A.wellbore
    ,a.depth center
    ,d.MD maxbc
    ,d.XDELT xbc
    ,d.YDELT ybc
    ,e.MD minac
    ,e.XDELT xac
    ,e.YDELT yac
    from
    table_A d,table_A e, table_B a
    where a.wellbore = d.WELLBORE (+)
    and a.wellbore = e.WELLBORE(+)
    and d.MD = (select max(MD) from table_A b where b.MD < a.depth and
    d.wellBORE = b.wellBORE)
    and e.md = (select min(md) from table_A c where c.MD > a.depth and
    e.wellBORE = c.wellBORE);

    Thanks I will move to the correct one..
    Rafi,
    Build the Indexes and it is still slow. I am querying from a view from another database, which is in 10g instances.
    Moved: Query can run in Oracle 10g but very slow in 11g
    Edited by: 924400 on Apr 1, 2012 6:03 PM
    Edited by: 924400 on Apr 1, 2012 6:26 PM

  • Which is better: Oracle incremental update (merge) or Oracle incremental update

    Hi All,
    We have big data load happening from Oracle RDBMS(source) to Oracle RDBMS(target). The data is huge (in billions) and new insertions, updates will happen. I would like to understand which among
    Oracle incremental update (merge) or Oracle incremental update is better and faster -  for first load and subsequent incremental updates, deletes? I request you all to provide valid reasons since I need to present the same to my client
    If at all Oracle incremental update (merge) is better, then why ODI needs to have Oracle incremental update IKM.
    I have seen some discussions on the same topic but I have not yet got a proper response with reasons and that is why I am posting the question again
    Thanks & Regards,
    Sijee Sadasivan

    Hi Sijee Sadasivan,
    IKM SQL Control Append could be faster for the initial load. You will therefore need another interface for the initial load.
    From my experience IKM Oracle Incremental Update (Merge) is faster than IKM Oracle Incremental Update for the incremental load, but I think the best thing to do is to try it on your environment. Nothing is better than a benchmark .
    IKM Oracle Incremental Update is useful for Oracle RDBMS < 9i, before this syntax was introduced.
    Regards,
    JeromeFr

  • A simple query in My SQL what is the similer query for that in Oracle ???

    hello friends
    In My Sql if i have 1000 records in a table and i want to get the records from 400 to 550 then it is posible by giving the following query
    Select * from Table a , table b where condition "List 400,550" gives the records from 400 to 550
    what is the coresponding query for this in oracle database
    any one help me pls
    mail me to [email protected]

    Genericly, if you want records N through M from a SELECT statement, there's a wonderful article on asktom.oracle.com
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:127412348064
    Justin

  • How to Implement KFF Range (Low and High) in query find form in oracle apps

    Hi,
    Please provide some sample script for using KFF range LOV (Low and High) in one of the query find form in Oracle apps R12.
    I need to customize one of the standard form and add this range functionality for that search form.
    Thanks,
    Prasanna

    Yuvaraaj,
    Your request is unique to the Oracle Enterprise Business Suite (EBS). Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
    Craig...

  • Incomplete recovery in Oracle 10g

    hello,
    I have been trying Incomplete recovery in oracle 10g. The steps i did were.
    1. Set the database in archivelog mode.
    2. shutdown immediate
    3. Take physical copies of control files, datafiles and redo files
    4. open the database.
    5. Insert three rows in test table and commit. (and note the time )
    6. shutdown abort
    7. copy the restored datafiles to the desired location
    8. startup mount
    9 recover database until time (the time noted in step 5)
    10. alter database open resetlogs
    After doing this, i still do not get the three records inserted in step 5.
    Can anyone suggest why this is so ? am i missing something. ?
    Thanx.
    Trupti

    Hello,
    Thank you for the prompt reply.
    I did what you suggested. Here are the output.
    16:17:52 SQL> select * from testing.test;
    NO
    1
    2
    3
    4
    17:09:26 SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    *** Here i took a backup of all files.
    17:10:16 SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 788224 bytes
    Variable Size 66058496 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    17:13:45 SQL> alter database open;
    Database altered.
    17:14:07 SQL> alter system switch logfile;
    System altered.
    17:14:17 SQL> select * from testing.test;
    NO
    1
    2
    3
    4
    17:14:25 SQL> insert into testing.test values(5);
    1 row created.
    17:14:40 SQL> insert into testing.test values(6);
    1 row created.
    17:14:43 SQL> insert into testing.test values(7);
    1 row created.
    17:14:45 SQL> commit;
    Commit complete.
    17:14:47 SQL> alter system switch logfile;
    System altered.
    17:14:50 SQL> insert into testing.test values(8);
    1 row created.
    17:14:55 SQL> insert into testing.test values(9);
    1 row created.
    17:14:57 SQL> insert into testing.test values(10);
    1 row created.
    17:15:00 SQL> commit;
    Commit complete.
    17:15:02 SQL> alter system switch logfile;
    System altered.
    17:15:04 SQL> shutdown abort;
    ORACLE instance shut down.
    *** Here i restored the datafiles
    17:15:15 SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 788224 bytes
    Variable Size 66058496 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    17:18:09 SQL> recover database until time '2004-12-05:17:14:45';
    ORA-00279: change 402561 generated at 12/05/2004 17:10:03 needed for thread 1
    ORA-00289: suggestion :
    G:\ORACLE10G\ORADATA\NEWTEST\ARCHIVE\ARC00002_0544119450.001
    ORA-00280: change 402561 for thread 1 is in sequence #2
    17:18:43 Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    Log applied.
    Media recovery complete.
    17:19:20 SQL>
    17:19:51 SQL> alter database open resetlogs;
    Database altered.
    17:20:33 SQL> select * from testing.test;
    NO
    1
    2
    3
    4

  • Regarding Query/Where box in oracle forms

    Hi,
    I have a query regarding query/where box in oracle.
    When I enter ":" in one of the field query box pops up and when I enter some query and press F12 to execute query.
    The OK button has to be pressed twice to retrieve the result.
    Can anyone please let me know why this is happening, instead of retreiving results at one go by pressing OK once.
    When does query box pos up? I have to avoid hitting OK button on query box twice.
    Thanks for your advice in advance.
    Thanks,
    KLC
    Edited by: user5411765 on Nov 22, 2010 10:44 PM

    Hi,
    Were you able to get around this problem? I am facing the same and need help! :(
    Regards,
    Arun

  • Query DB2 tables from oracle using normal view

    This is with regard to querying db2 tables using oracle views. The view is created using dblink. The querying is not an one time activity.querying will be done once in a day. Can i use normal view (will it work ) or should i use materialised view. will i be able to view the added records in db2 table using normal view?
    thanks,
    vinodh

    Vinodh2 wrote:
    This is with regard to querying db2 tables using oracle views. The view is created using dblink. The querying is not an one time activity.querying will be done once in a day. Can i use normal view (will it work ) or should i use materialised view. will i be able to view the added records in db2 table using normal view?How can the SQL select statement via a dblink not work for a view, but the same SQL select statement work for a materialised view?
    Do you think the database link or remote database care whether the select SQL that hits it, comes from a PL/SQL procedure, a view, a materialised view, a job or whatever else? It has no idea what/who is behind that select SQL - and nor does it care.
    As for the benefits of a view vs. a materialised view - that depends on the requirements for needing to use that foreign database's data in the local database.

  • Disaster recovery in Oracle BPEL

    Hi,
    For a disaster recovery scenario, how does Oracle BPEL support lost transactions? Is there any mechanisum which takes care of re-sending the lost transactions and checking for duplicates?
    As Oracle BPEL maintains state information, does Oracle BPEL take's care of lost transactions on server startup.
    Can anyone please, through some light on Disaster recovery in Oracle BPEL.
    Thanks and Regards
    Raj

    > I am confused. Option 3 will be restoring backup
    Yes - but what will you restore? Everything? If you're running on a cluster it's unlikely that both nodes will fail at the same time so there is still one node that can and will run the software, no?
    > and 4 will be sapinst. Isn't it? Are both options supported by SAP?
    Yes.
    > Is there a SAP standard documentation for building cluster from scratch and build SAP system from backup or sapinst for DR?
    The standard installation documentation cover a cluster installation.
    > I am sure there will be installation document if it is a fresh installation. But not sure if there is one for DR.
    If you have a cluster then you have a high availability already. If a node fails, you will "just" reinstall that node and put it back into the cluster.
    What kind of DR scenario are you thinking about?
    Markus

  • Database recovery and oracle errors!!

    Hi, all.
    I got the message that "Media Recovery is complete", but got some errors
    when applying archive log files. I was able to open database.
    I am just wondering why oracle gives us error message when applying archive
    logs in the process of recovery(for instance, ora-00279,ora-00289,ora-00280,and
    ora-00278)
    Thanks in advance.
    Best Regards.

    How was the media recovery carried out? Manual recovery of database would result in those message (not errors).
    [oracle@rhel4 ~]$ oerr ora 279
    00279, 00000, "change %s generated at %s needed for thread %s"
    // *Cause: The requested log is required to proceed with recovery.
    // *Action:  Please supply the requested log with "ALTER DATABASE RECOVER
    //           LOGFILE <file_name>" or cancel recovery with "ALTER DATABASE
    //           RECOVER CANCEL".
    [oracle@rhel4 ~]$ oerr ora 289
    00289, 00000, "suggestion : %s"
    // *Cause:  This message reports the next redo log filename that is needed,
    //          according to the initialization parameters LOG_ARCHIVE_DEST and
    //           LOG_ARCHIVE_FORMAT. This message assumes that LOG_ARCHIVE_DEST
    //           and LOG_ARCHIVE_FORMAT are the same now as when the required redo
    //          log file was archived.
    // *Action: Consider using this filename for the next log needed for recovery.
    [oracle@rhel4 ~]$ oerr ora 278
    00278, 00000, "log file '%s' no longer needed for this recovery"
    // *Cause:  The specified redo log file is no longer needed for the current
    //          recovery.
    // *Action: No action required. The archived redo log file may be removed
    //          from its current location to conserve disk space, if needed.
    //          However, the redo log file may still be required for another
    //          recovery session in the future.

Maybe you are looking for

  • How do I get to Flash Player Settings Manager?

    Why is it so difficult to get to Flash Player Settings Manager?  How can I get there to get rid of the windows that pop up everytime I try to watch a YouTube video which blocks the screen I'm trying to watch?

  • I need an urgent help for  Xquery tranformation failed on OSB.

    I have made an xq then imported it into my proxyService, but when I call my proxyService I get the following error. here is the response of my proxyService call. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Bo

  • Adobe Flash Player 11.7.700.169 Continously Crashes/Locks Up PC with Firefox & Windows 7

    I'm really tired of this.   If I go back to a prior version of Flash everything works fine.   Your new version locks up my pc, I get "Adobe Flash Player has crashed, reload the page" Why is this version such a horrible mess?  I have to open up Task M

  • Editing after extracting audio?

    Hi there, I am running iMovie HD, and have a question about editing. I extracted the audio from my video clip, and now I want to do some editing. However, whenever I make an edit to the video clip, the audio doesn't reflect the edit and immediately g

  • WebDynPro Component

    What is Cardinality in WebDynPro?