Flashback questions - particularly flashback table

Hi,
Oracle 10GR2
The docs state that flashback must be turned on in order to enable the functionality. Subsequently, a flashback logfile is started where designated. Now, for flashback table the docs also state that data comes from the UNDO iin order to restore. My first question is: What is kept in the flashback log and how does it fit in (given that the restore is done via UNDO)? The docs also state that if a flashback database is done that you should perform a resetlogs, but nothing is specified with respect to after a flashback table is done. I could see why you wouldn't want to but still wonder about the table that was flashed back and if it is in a vulnerable state.
I'm also interested in understanding the significance of flashback retention time vs undo_retention.
I guess I see some overlap here between the UNDO and FLASHBACK and want to understand the difference.
Thanks

Know that Flashback logs are not the only thing
stored in Flashback Recovery Area. Archived redo logs
and RMAN backups are also stored and they are used
for Flashback Table, Flashback Drop, Flashback
Versions Query, and Flashback Transaction Query
features.Hmm....this is news to me. Are you are sure about this????? Archived logs, backups are stored in the FRA, but it doesn't mean that they are used for Flashback table, Flashback drop, and FBQ or FTQ....
So yes, I would say, you need flashback on to
flashback a table.Again, NO, this is not required. You may like to review the facts associated with these technologies once again.
Thanks
Chandra

Similar Messages

  • How to backup flashback data archive enabled tables -oracle 11g?

    1) Whether the flashback data archive can be backed up using the following options in oracle? Any pointer from the documentation would be much appreciated.
         RMAN
         Data pump
    2) How to move the flashback data archive table from one database to another? The reason why I am asking this question is that the history data for flashback data archive table is managed by undo tablespace. In this case, if I simply export the flashback data archive enabled tables to another database, will I able to view the history information?
    Regards,
    Richard

    Hi Morgan,
    Thanks for your response. Our intention is that to configure the total recall feature in the reporting instance for historical data view. Let's say , we are mining the changed data from the OLTP instance to reporting instance via logical standby. In this case, the history data will be maintained in the reporting instance?
    Regards,
    Richard

  • Reduce flashback log - disable flashback for a table

    Hi,
    We have a table which we use only for logging. This information is not essential but there is a lot (given our scale of data :p ) of data (5.000.000 by day)
    So we have put the table in nologging (reduce redo => archived),
    the insert are /*+ append*/ (reduce undo)
    Now, we want to reduce the flashback logs?
    Is there a way to disable flashback for a given table ?
    thanks
    Nicolas

    Hi,
    first i would use:
    alter table tablename nologging;
    So you won't generate a lot of redo.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm#CJAHHIBI
    I'm not sure you can disable flashback at table level.
    You can do that on tbs level.
    Hope this helped..
    Bye
    Acr

  • 10g Flashback questions

    I was wondering if someone could answer these questions about "Flashback" in Oracle 10g?
    Is "Flashback On" required if we are going to have a standby database?
    If "Flashback Off" is set for a database what effect does "Flashback On" have when you create a tablespace?

    We changed the way you work with Struts a little in this version - making it simpler through the Visual Struts Page Flow Modeler.
    You create actions directly on the editor (drag and drop from the componenet palette).
    And you create FormBeans in the structure window.
    (there is a simple tutorial as part of the JDeveloper Reviewer Guide).
    Have a look at the Struts demos on this page:
    http://otn.oracle.com/products/jdev/viewlets/viewlet.html

  • Can I use flashback database to flashback a pluggable database?

    Hi All,
    I created a container database and then created a pluggable database.
    In the pluggable 12.1 datbase, I loaded the user data.
    I performed the below
    sqlplus / as sysdba;
    create restore point CLEAN_DB guarantee flashback database;
    And I performed the transactions on the pdb.
    Now my intention is to restore to the restore point CLEAN_DB as created from the above step.
    If I perform the below, will it restore my pdb to the initial state?
    flashback database to restore point CLEAN_DB;
    Regards,
    Kamal.

    Hi,
    You cannot use FLASHBACK DATABASE for pluggable database.
    Flashback query/versions queryis UNDO based and work in PDB’s
    Flashback transaction query/flashback transactionis UNDO and REDO based and work in PDB’s
    Flashback data archiveUNDO gernerated archives
    Flashback table
    before drop –> Rename segment name of recylebin, which is based on UNDO, work in PDB’s
    flashback table to –> is UNDO based, work in PDB’s
    Flashback databasedoesn’t work in PDB’s:
    RMAN> flashback pluggable database prmdb01 to time "to_date('23:00 20-11-2013','hh24:mi dd-mm-yyyy')";
    Starting flashback at 25-NOV-13
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of flashback command at 11/20/2013 23:00:00
    RMAN-05108: Command is not supported for pluggable database
    Regards
    Mahir M. Quluzade
    p.s. Command exists but not supporting, may be next release come support.

  • Question on using table types in methods

    Hi
       I have a simple question involving passing table types in method
    I want to pass an internal table by reference - to a method and within the method populate the internal table (t1) using a select * into the internal table and then sort t1 by f1 and f2. t1 is an internal table based on a ABAP dictionary table ( at1 )
    Question is : If I use a generic type TABLE declaration , it does not allow sort operation specifically by fields. If I use type at1 as in
    the METHODS M1 exporting t1 type at1statement, syntax error is - t1 is not an internal table.
    How do I achieve the above using the method implementation ?
    Sample code that I try
    CLASS C1 DEFINITION
    PUBLIC SECTION
    METHODS M1 exporting t1 type table
    ENDMETHOD
    ENDCLASS
    CLASS C1 IMPLEMENTATION
    METHOD M1
    select * from at1 into t1.
    sort t1 field f1 f2
    ENDCLASS

    You should define a TABLE TYPE based upon the data dictionary type (at1) either in the data dictionary using SE11 or in the TYPES section of the class.
    Then define the parameter of this new type.
    Cheers
    Graham Robbo

  • Answers pointing to a Particular Fact table only

    Hi All
    I have an issue. Actually i have some attribute dimension tables which are connected to many fact tables and are used in different subject area. Previously it was working fine as subject areas were using the fact table available in tht subject area. But now when i am not using any fact table to show result rather taking only dimension to see result it is throwing one error telling tht for X fact table there is no mapping for the corresponding dimension table. But the pity is tht i vent used tht fact table atall in tht subject area. Now its throwing the same error for many Subject area which ve the same dimension table. And another thing is tht when i am changing the combination means sequence of columns in request its nt showing view display error but for a particular combination sequence in all subject area its throwing the error by pointing to a Pariculat fact table showing no mapping is ther.

    Hi,
    I think you have to check your (Business) Model again. Do you get warnings when you run a concistency check?
    You could force a Subject Area to us a particular Fact Table by defining an implicit fact column on your Subject Area.
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

  • Query list on particular customer table

    Dear gurus
    I want to know queries(or inforset) which are used by particular customer table.
    Do you have any idea?
    I thought that I can know via SE11's "where-used list" function,
    but it seems that query is not included in this function.
    BR
    Y.Kaneko

    Dear Alex
    >Hi, you mean InfoSet which use customer table?
    >If so go to SQ02 and you'll see in DataSourse column
    I know that I can see the datasource on SQ02,
    but on SQ02, I can see only one table.
    If two table are joined in one infoset, I cannt see.
    So, if there is any way that I can see multiple table name on SQ02,
    that is ok for me.
    BR
    Y.Kaneko

  • Question about Update Tables

    Hello Gurus,
    I have a question about "update table" entries. I read somewhere that an entry in update table  is done at the time of the OLTP transaction. Is this correct? If so, does this happen on a V1 update or V2 update? Please clarify. Similarly, an entry in the "extraction queue" (incase you are using "queued delta" will happen on V1 update. I just want to get a clarification on both these methods. Any help in this matter is highly appreciated.
    Thanks,
    Sreekanth

    Hi
    update tables are temporary table that are refreshed by v3 job.update table is like buffer, it gets filled after updation of application table and statistical table through v1 v2 update .  we can bypass this process by delta methods.
    M Kalpana

  • Question on Flashback Table

    If you flashback a table that has associated foreign key constraints with other tables, will Oracle flaskback all associated tables as well or will it give an error?

    The foreign key constraints in another table won't flashback.
    There are two situations:
    1) drop a child table. and when doing flashback the constraint is gone.
    2) drop a parent table (with cascade cosntraint) and the referential integrity is gone with doing flashback. However, the child table will be retrieved from recyclebin
    Regards,
    Amir

  • Flashback query to view table transactions

    I am on 11g DB and have a requirement to view a set of tables transactional events that occurred every 5-10 minutes. The events for each table must be viewed in the order they occurred. From there a may need to write that information to another table. I was looking to use the flashback quey feature (as I see it is enabled on my DB) to do this. What is the best way to do this with flashback query and are there any performance considerations to consider querying the flashback tables on a regular interval?
    Thanks
    Edited by: bobmagan on Feb 6, 2013 4:43 AM

    Hi,
    refer ,
    http://www.oracle-developer.net/display.php?id=320
    Simply , you can use below query to get records as of desired TS from any table of the database, However oldest timestamp that you can query depends on your UNDO retention
    SELECT count(1) FROM <table_name> AS OF TIMESTAMP to_timestamp('13-MAY-11 19:00:00','DD-MON-YY HH24:MI:SS');Thanks,
    Ajay More
    http://www.moreajays.com

  • Flashback questions for backup -Restore -Recovery

    Hello,
    We are planning to implement flashback on our database, and i have configured flashback on my development database, but i have some question before adopt backup/recovery solution using flashback.
    (1) If i have configured flashback database, and any non-temp datafile will be lost, will flashback will do automatic restore or recovery or what?
    (2) Can we do incomplete recovery or point in time recovery using flashback database?
    (3) if i revert to one of restore point, then open resetlogs are mandatory or what ?
    Thanks and Regards,
    V.SINGH

    Hi,
    (1) If i have configured flashback database, and any non-temp datafile will be lost, will flashback will do automatic restore or recovery or what?
    no. It will not do automatically.
    (2) Can we do incomplete recovery or point in time recovery using flashback database?
    yes. you can use the restore and recovery method, but you have to disable flashback database during restore and recover time.
    (3) if i revert to one of restore point, then open resetlogs are mandatory or what ?
    yes, it is required. other wise you can open database in readonly mode.
    If you have the metalink access refer below note for more clarity.
    Doc ID: 565535.1 Subject: Flashback Database Best Practices & Performance
    Thanks,
    Siva

  • Basic question about Flashback Database

    Hi,
    I have a very generic question about using Flashback Database.
    On my testing systems, for performance testing and simulation purposes, I want to create a guaranteed restore point so I can test impact on batch when code change releases are done, before deployment in production.  My confusion is with respect to redo logs, as summarized in the questions below:
    1. Is it possible to change redo log files, when a guaranteed restore point has been configured?
    2. If yes, will the Flashback to restore point, also change the size of the redo logs?
    I could not find anything in the docs about this....hence my question....
    Appreciate your time taken in responding to these questions....
    Regards.

    HI,
    donneskold wrote:
    Hi,
    I have a very generic question about using Flashback Database.
    On my testing systems, for performance testing and simulation purposes, I want to create a guaranteed restore point so I can test impact on batch when code change releases are done, before deployment in production.  My confusion is with respect to redo logs, as summarized in the questions below:
    1. Is it possible to change redo log files, when a guaranteed restore point has been configured?
    1) Yes it is possible.
    2. If yes, will the Flashback to restore point, also change the size of the redo logs?
    2) It will not change the size of redo log file.  Cannot resize a redo log file..
    I could not find anything in the docs about this....hence my question....
    Appreciate your time taken in responding to these questions....
    Regards.
    Thank you

  • NW 7.3 Flashback Question

    Is flashback enable by default with the NW 7.3 installation on Oracle 11.2?
    We are having problems managing disk space due to the flashback file creation and would like to disable it. I've looked for a SAP note that describes the way to disable flashback but did not find one.
    Is there a prescribed method to be used to disable Oracle 11.2 Flashback? We want to make sure we don't cause any other problems for the database.
    Thanks

    Hi John!!
    Have you already checked  [Note 966117 - Oracle Flashback Database technology|https://service.sap.com/sap/support/notes/966117] ??
    Activate normal Flashback Logging
    SQL> shutdown immediate
    SQL> startup mount
    SQL> ALTER DATABASE FLASHBACK ON;
    SQL> ALTER DATABASE OPEN;
    BRSPACE Action: brspace -fbon
    Deactivate:
    SQL> ALTER DATABASE FLASHBACK OFF;
    BRSPACE Action: brspace -fboff
    The following query determines whether Flashback Logging is active:
    SQL> SELECT FLASHBACK_ON FROM V$DATABASE;
    Cheers,
    Diego.

  • Flashback Question

    I have flashback enabled on the database and time set to 1 day (1440 minutes). It's currently 11/13/09 12:21 but when I run the query to see the oldest flashback time, it still on the date I initially set up flashback. Is it supposed to be a rolling 1 day period or does it keep all the flashback log up to my limit of 20GB then start purging? Thanks.
    SQL> select oldest_flashback_time from v$flashback_database_log;
    OLDEST_FL
    11-NOV-09
    SQL> show parameter recov
    NAME TYPE VALUE
    db_recovery_file_dest string +TMFLASH
    db_recovery_file_dest_size big integer 20G
    recovery_parallelism integer 0

    ZX wrote:
    Is flashback recovery dependent on archivelog?[Overview of Oracle Flashback Database|http://download.oracle.com/docs/cd/B14117_01/server.101/b10743/backrec.htm#i1015120]
    The amount of time it takes to Flashback a database is proportional to how far back you need to revert the database, rather than the time it would take to restore and recover the whole database, which could be much longer. The before images in the Flashback logs are only used to restore the database to a point in the past, and forward recovery is used to bring the database to a consistent state at some time in the past. Oracle returns datafiles to the previous point-in-time, but not auxiliary files, such as initialization parameter files.Another doc link: [Oracle Flashback Database: Alternative to Point-In-Time Recovery|http://download.oracle.com/docs/cd/B14117_01/server.101/b10734/rcmflash.htm#1020720]
    To restore a database to its state at some past target time using Flashback Database, each block is restored to its contents as of the flashback logging time most immediately prior to the desired target time, and then changes from the redo logs are applied to fill in changes between the time captured by the flashback logs and the target time. Redo logs must be available for the entire time period spanned by the flashback logs, whether on tape or on disk. In practice, however, redo logs are often kept much longer than flashback logs, so this requirement is not a real limitation.HTH!

Maybe you are looking for