Unable to do the flashback database!

Hi all

I activated the flashback database and created a restore point with database of flashback guaranteed so that I can do a flashback database. When I do a flashback database, its says he needs the archivelogs to perform a recovery. Flashback log usually can all have a change given in flashback logs to use for flashbacking a database. Why apply archivelogs when all the changed data does not appear in flashback log itself? please tell me.

Kind regards

Pradeep. V

Hello

Database of flashback need newspapers archives files.

"Flashback Database is similar to traditional point-in-time recovery in its effects. To restore a database to the State at a time in the recent past. Flashback Database is much faster than the point-in-time recovery, because it doesn't require you to restore the backup data files and requires fewer changes of the archived redo logs. »

"No file in the fast recovery area is eligible for deletion if this is required to meet a guaranteed restore point. However, archived redo logs required to meet a guaranteed restore point can be deleted after that only they are saved on disk or on tape. When you use the RMAN FLASHBACK DATABASE command, if the archived redo must convince guaranteed a restore point are not available in the area of fast recovery, then they are restored from backups of logs. »

REF. Doc:using Flashback Database, and Restore Points

HTH

Tags: Database

Similar Questions

  • ORA-38760: this database instance could not turn on the flashback database

    Hi guys

    Without knowing it, I deleted all the files in the directory "fra" where "flashback" folder was there because of space issues. Now am facing the error.

    It's my practical database.

    SQL > startup

    ORACLE instance started.

    Total System Global Area 608174080 bytes

    Bytes of size 1268920 fixed

    184550216 variable size bytes

    419430400 of database buffers bytes

    Redo buffers 2924544 bytes

    Mounted database.

    ORA-38760: this database instance could not turn on the flashback database

    SQL > alter flashback database;

    Database altered.

    SQL > SHUTDOWN IMMEDIATE;

    SQL > STARTUP MOUNT

    SQL > select flashback_on from database v$.

    FLASHBACK_ON

    ------------------

    RESTORE POINT ONLY

    Am not able to extinguish the flame.

    SQL > select * from v$ restore_point;

    Select * from v$ restore_point

    *

    ERROR on line 1:

    ORA-38701: Flashback database log 1 seq 1 wire 1:

    "/ u01/fra/PROD/flashback/o1_mf_c1l5n3lq_.flb".

    ORA-27037: unable to get file status

    Linux error: 2: no such file or directory

    Additional information: 3

    SQL > select flashback_on from database v$.

    FLASHBACK_ON

    ------------------

    RESTORE POINT ONLY

    I also tried to create a restore point and the flashback there.

    SQL > create restore point guaranteed rspt1 flashback database;

    Restore point created.

    SQL > select * from v$ restore_point;

    Select * from v$ restore_point

    *

    ERROR on line 1:

    ORA-00600: internal error code, arguments: [krfg_get_keepseq_2], [1], [0], [0,]

    [0], [0], [0], [0]

    SQL > flashback data base to restore the point rspt1;

    flashback database to restore the rspt1 point

    *

    ERROR on line 1:

    ORA-38729: not enough flashback database data log do FLASHBACK.

    Please help me in this regard.

    Alert log file:

    ...

    ...

    ...

    Mount of redo thread 1, with mount id 305866694

    Sun 25 Oct 10:13:30 2015

    Bytes allocated of 3981204 in the shared pool for the generation of flashback buffer

    From RVWR background process

    RVWR started with pid = 16, OS id = 15486

    Sun 25 Oct 10:13:30 2015

    Errors in the /u01/oracle/product/10.2.0/db_1/admin/prod/bdump/prod_rvwr_15486.trc file:

    ORA-38701: seq 11 Flashback database log 11 1 thread: ' / u01/fra/PROD/flashback/o1_mf_c2oqypb0_.flb '.

    ORA-27037: unable to get file status

    Linux error: 2: no such file or directory

    Additional information: 3

    Sun 25 Oct 10:13:30 2015

    Database mounted in exclusive Mode

    Completed: ALTER DATABASE MOUNT

    Sun 25 Oct 10:13:30 2015

    ALTER DATABASE OPEN

    ORA-38760 marked during: ALTER DATABASE OPEN...

    Trace file:

    ...

    ...

    ...

    :() 2015-10-25 10:13:30.087 SERVICE NAME

    SESSION ID: (156.1) 2015-10-25 10:13:30.087

    ORA-38701: seq 11 Flashback database log 11 1 thread: ' / u01/fra/PROD/flashback/o1_mf_c2oqypb0_.flb '.

    ORA-27037: unable to get file status

    Linux error: 2: no such file or directory

    Additional information: 3

    1. Thank you.

    you experience serious problem... because usually it works very well.

    Try the following:

    SQL > shutdown immediate;

    SQL > bootable media.

    SQL > alter flashback database;

    SQL > alter database backup controlfile to trace noresetlogs;

    SQL > shutdown immediate;

    go to the trace file generated from running (alter database backup controlfile to trace noresetlogs ;)

    location of the trace file is located in the query:

    SQL > select * from v$ diag_info;

    It will contain the script with the SQL commands, you can rename the file with the extension ".sql".

    SQL > startup nomount

    SQL > @trace_file. SQL

    SQL > restore database;

    SQL > alter database open;

    So basically you are going to recreate the files of control again...

  • Files without a NAME during the Flashback Database

    Hi all

    Why, in flashback, database, retrieve a tablespace has dropped the datafile (s) consisting of within table get renamed to UNNAMEDnnn? I was going through some examples on the internet but did not find any concrete reason as to why this happens during the flashback recovery. If the tablespace can be recreated during the process, why not data files that compose?

    Could someone help me please in my understanding.

    Thank you.

    Prithwish Adhikari wrote:

    Hello

    I was talking about the flashback database to retrieve a tablespace has fallen. Please find below the link

    http://www.DBA-Oracle.com/t_rman_159_restore_dropped_tablespace.htm

    My question is

    "

    flashback

    database to the SNA 460217.

    database of flashback to the SNA 460217

    *

    ERROR on line 1:

    ORA-38795: WARNING: flashback has managed but open resetlogs would get error

    below

    ORA-01245: offline file 5 will be lost if resetlogs is done

    ORA-01111: name for the data file 5 is unknown - rename it to the correct file

    ORA-01110: data file 5: ' / u01/oracle/product/10.2.0/db_1/dbs/UNNAMED00005'

    "

    Why, in flashback, database, the data file associated with the storage space gets renamed to unnamed?

    Thanks for the link and new info.

    The reason is the same as in these quotes from doc that I have provided. As ORA-01111 indicates the name of the actual file is unknown so Oracle creates a unique name, then stops recovery so that you can provide the name and location.

    Why, during the flashback database, retrieve a tablespace has fallen...

    This formulation and the wording of the article, is probably what is mislead you. You cannot recover a tablespace using FLASHBACK DATABASE:

    Here is the doc for FLASHBACK DATABASE

    http://docs.Oracle.com/CD/B28359_01/backup.111/b28273/rcmsynta023.htm

    Notes A Flashback Database use operation applies to the entire base. You cannot flash back, individual storage spaces. A Flashback Database operation is similar to a point-in-time data recovery (DBPITR) with RECOVER , but RMAN uses flashback logs to undo changes to a point before the time runs out or SNA

    See that second sentence? You NEED to recover the entire database and, as this quote from doc says, made it like CAMILLE by RECOVER.

    In this example, the storage space AND data files were dropped. So please check the doc to DROP TABLESPACE

    https://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_9004.htm

    Oracle database deletes all metadata about the space of storage data files and all the data dictionary tempfiles in the tablespace. The database also automatically removes the operating system all data files managed by Oracle and tempfiles in the tablespace. Other data files and tempfiles are not removed from the operating system unless you specify INCLUDING CONTENTS AND DATAFILES .

    See? No additional data in the dictionary for the tablespace or data files. Real datafiles is more if they were managed by Oracle. But there MAY be data files of the operating system if you do NOT use this last clause.

    If Oracle recreates the files using unique names and then allows you to CONFIRM that the name and location should really be.

    You have a problem with that? Or just try to understand?

  • turn on the flashback database

    Hello
    in 10g R2, I have the following message in alertlog:
    Tue Nov 10 14:22:03 2009
    Errors in file t:\oradba\admin\MYDB\bdump\MYDB_rvwr_792.trc:
    ORA-38701: Flashback database log 425 seq 750222 thread 1: "U:\ORADATA\MYDB\FLASH_RECOVERY_AREA\MYDB\FLASHBACK\O1_MF_4TZT90WV_.FLB"
    ORA-27041: unable to open file
    OSD-04002: ouverture impossible du fichier
    O/S-Error: (OS 2) The system cannot find the file specified.
    
    Tue Nov 10 14:22:03 2009
    *************************************
    RVWR encountered an error when writing flashback database logs.
    See error stack in alert log.  To avoid crashing the instance,
    this instance has turned off flashback database.
    1. is it really dangerous to life of database?

    2. How about flashback database?

    Thank you.

    Flashback is very useful to recover from corruption of data, errors, etc. without having to restore and recover. It is also useful for dataguard failover. Now it has been disabled, then you have lost this feature, but I'd be more worried about the data base why did not write on the disc.

    Check if this file already exists:-U:\ORADATA\MYDB\FLASH_RECOVERY_AREA\MYDB\FLASHBACK\O1_MF_4TZT90WV_. FLB

    Look for space problems, disc problems.

    To turn it on: -.

    startup mount exclusive
    change the flashback of the database
    stop immediately;
    start-up;

  • Unable to create the new database server

    I keep running into these fundamental questions before starting even with the integration work.

    I tried to create a new topology-the physical Architecture-> Technologies > data server. But when I try with the right button on any of the technologies, I get no response. The window is not to me for some strange reason. If I right click on Technolgies, ODI invite me to create new or to import technologies.

    rAnyone had this problem before?

    See you soon

    I think you have some problems of java. JRE 6u23 works very well.

  • Can feature FLASHBACK DATABASE undo the loss of control of file/ORL?

    DB version: 11.2.0.4

    Platform: Oracle Linux 6.4

    I personally have not tested the FLASHBACK DATABASE feature. I came across examples of logical errors such as truncate Table being overturned on FLASHBACK DATABASE.

    I guess that FLASHBACK DATABASE feature may undo the loss of the data files. But will be a loss of control or the Group of newspapers online file again defeated using FLASHBACK DATABASE?

    Hello

    "I guess that feature FLASHBACK DATABASE can cancel the data files loss." Do not assume, check it out

    Flashback database cannot cancel the loss of data files, control files and redo log files.

    Flashback Database limitations

    Because Flashback Database works by undoing changes to data files that exist at the present time when you run the command, it has the following limitations:

    • Flashback Database can only undo changes in an Oracle database data file. It cannot be used to fix the failings of the media, or recover the accidental deletion of data files.
    • You cannot use Flashback Database to cancel a file of data reduction operation. However, you can disconnect the wizened file, flash back, the rest of the database, and then later restore and restore the shriveled data file.
    • You cannot use Flashback Database only to retrieve a data file. If you Flash back, a database at a time when a data file exist in the database, that the entry of data file is added to the control file. You can only recover the database using RMAN to fully restore and recover the data file.
    • If the database control file is restored from backup or re-created, all the accumulated flashback journal information is ignored. You cannot use FLASHBACK DATABASE to get back to a point in time before the restoration or re-creation of a control file.
    • When you use Flashback Database with a time of target during a NOLOGGING operation was underway, corruption block is likely in database objects and files of data that is affected by the NOLOGGING operation. For example, if you perform a direct path INSERT operation in NOLOGGING mode and it runs from 09:00 to 09:15 April 3, 2005, and then use you Flashback Database to return to the target time 09:07 on this date, the objects and data files updated by the direct path INSERT have finished block operation Flashback Database corruption. If possible, avoid using Flashback Database with a time or SCN coinciding with a NOLOGGING operation. Also, perform a full or incremental backup of the immediately affected data files backup after each NOLOGGING operation to ensure recovery of points in time after the operation. If you plan to use Flashback Database to return to a point in time in the course of an operation, for example a direct path INSERT , consider performing the operation in LOGGING mode.

    See: https://docs.oracle.com/cd/E11882_01/backup.112/e10642/flashdb.htm#BRADV286

  • A new question on how to enable Flashback Database on the database pending?

    Best practical side says:

    Activate the Flashback Database on the database shall minimize downtime for logical corruption.

    I would like to know where to find the document or everybody already had experience in this topic?

    Also, I would like to know what is the best practice for backup/restore of the database of physical relief?

    Thanks in advance.

    Hello;

    Just an opinion, but I like the book 'Oracle Data Guard 11g Handbook' as the document and the answers to the second question.

    Chapter 12 covers the A to Z of RMAN with Data Guard.

    This book sold me since Flashback Flashback allows a former primary database to be reinstated after a failover with ongoing restoration operation (provided that enough newspaper flashback is available)

    My own experience is I tried a test failover without it and trash my primary test.

    I did a test of simple failover a few weeks ago, here are my notes.

    http://www.Visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.PDF

    Best regards

    mseberg

  • With the help of Flashback Database with Yvert

    Hello!

    I am not able to flashback table that was dropped...? .....


    SQL > select log_mode, flashback_on from v$ database;

    LOG_MODE FLASHBACK_ON
    YES ARCHIVELOG


    SQL > select current_scn from v$ database;

    CURRENT_SCN
    * 545466 *.

    SQL > create user usman identified by usman;
    Created by the user.

    SQL > grant connect, usman resources;
    rant succeeded.

    SQL > conn usman/usman
    Connected.

    SQL > create table testtable (id number (9));
    Table created.

    SQL > insert into testtable values (101);
    1 line of creation.

    SQL > insert into testtable values (102);
    1 line of creation.

    SQL > insert into testtable values (103);
    1 line of creation.

    SQL > commit;
    Validation complete.

    SQL > select * from testtable;
    ID

    101
    102
    103

    SQL > conn sys as sysdba
    Enter the password:
    Connected.

    SQL > select current_scn from v$ database;

    CURRENT_SCN
    * 545536 *.

    SQL > drop table testtable is serving;
    Deleted table.

    SQL > commit;
    Validation complete.

    SQL > testtable desc;
    ERROR:
    ORA-04043: testtable object does not exist

    I stop my database and started in flashback mount my database.with RMAN I checked incarnation...

    RMAN > list incarnation;
    using the control file of the target instead of recovery catalog database

    List of Incarnations of the database
    DB key Inc key STATE ID DB name DB reset reset time SNA

    1 1 1221198182 1 AUGUST 30 PARENT ORCL 05
    2 2 ORCL 1221198182 CURRENT 534907 28 JULY 09

    SQL > flashback to the SNA database 545466;
    Flashback complete.

    By mistake I have flashback my database to bad SNA 545466 as above... But I had to flashback to the SNA 545536 which I noted before a fall table.

    SQL > alter database open resetlogs;
    Database altered.

    After level incarnation resetlog also changes...

    RMAN > list incarnation;
    using the control file of the target instead of recovery catalog database

    List of Incarnations of the database
    DB key Inc key STATE ID DB name DB reset reset time SNA

    1 1 1221198182 1 AUGUST 30 PARENT ORCL 05
    2 2 ORCL 1221198182 PARENT 534907 28 JULY 09
    3 3 ORCL 1221198182 CURRENT 545472 28 JULY 09


    After opening of database with resetlog option when I try to connect it is in error.

    SQL > conn usman/usman
    ERROR:
    ORA-01017: name of user and password invalid. connection refused
    WARNING: You are more connected to ORACLE.

    It means I have the flashback database before the creation of the SNA 545466 user;

    I stop my database and the flashback to the right RCS 545536 which was before the deleted table.


    SQL > flashback to the SNA database 545536;
    Flashback complete.

    SQL > alter database open resetlogs;
    Database altered.

    But still he does not connect the user usman... Please helpppp

    SQL > conn usman/usman
    ERROR:
    ORA-01017: name of user and password invalid. connection refused
    WARNING: You are more connected to ORACLE.

    How can I get my table with flashback only

    Please answer me...

    Hi Usman,

    you're right, I didn't notice the "purge" in your ad:
    >
    ...
    SQL > drop table testtable is serving;
    Deleted table.
    ...
    >

    Kind regards
    Uwe

    http://uhesse.WordPress.com

  • What to do for the main database when a physical database ensures converts a standby time of the snapshot

    Hello

    Need of the primary database to implement the flashback database when a physical database ensures converts a standby time of the snapshot? Or something to do with the primary database? I find some documents this work to allow the return of flame for the primary databases, but I think that he didn't need to do.

    Thank you

    Best regards.

    I did recently, I have not configured flashback on primary, only configured in the standby mode. I converted the standby database and restored the changes after the test. Primary database continued to send archives to the standby site. Instant once converted into sleep mode, as mseberg mentioned overlaps with the sync state after starting MRP.

  • flashback database

    Experts - which would be the overload if configure us the database of blowback in the production db, and what are the different practices for the flashback database (11g r1). How archive flashback data differs from the flashback database?

    user12075620 wrote:

    Aman thanks for your response. It is the light version of the informatica ETL process that extracts data from db2 based on simple business rules. The NFR would be maximum 1-3 minutes for each transaction. Insert operation initially and after that for the most update operation. This situation suggest the flashback database?

    Yet once, I would say that it is something that you must carefully test. Are all tables have equally important you need to keep data undo for each of them? If Yes, then flashback database is correct to be put in place, but if not, I suggest to use the data of Flashback of archives that would be specific to the table of interest.

    HTH

    Aman...

  • How to use Flash recovery only for flashback database feature box

    I would use the area of flash recovery only for flashback database feature, which means, the flash recovery area will store only the flashback logs.

    I don't want to use this file system for all other files, such as files of archive log, backups, copies of control files, multiplex redo log, etc.

    is this possible? I want to use this function only for the flashback database option and therefore, I don't want to disturb any existing configuration in my database

    including backup jobs. It will also store the Archives of redo log files in the flash recovery area to use the flashback database feature?

    I can't certainly allow me to have a copy of the entire file system database as my DB size is more than the system recovery flash I have zone files.

    Thank you

    Delphine

    user13312943 wrote:

    Aman,

    I think I was not clear in my question. I'll try again

    My only requirement is to use the flashback database feature (or be prepared to use if necessary). I don't want to create a large file system to use the CRF to store all those files. Out of all the files are stored here a copy of the data files seems to consume more space. I see that these files are classified as transitional and permanent files. I agree with permanent files. I'm afraid that this file system can use more space if I store files of backup to disk. I want backups of databases to go to bands, not on the drive of FRA. Is this possible?

    Thanks for your response

    Okay, well in that case you can use RMAN and push the backups to tape drives. FLB newspapers would be stored on the FRA.

    Aman...

  • Flashback database question

    I had a thought the other day and you want to run it by other professionals. Currently, my organization runs a performance test weekly with one of our database. What typcally happens, it is that we back up the database, run the load test, and restore the database. My thought was rather than go through all that, use the flashback database and flash of the database until before the load test started. The database is on Linux 32-bit and 10.2.0.4. Am I think it properly? It should work? Let me know your opinion. Thanks in advance

    Published by: kirkladb on 30 Sep 2012 15:45

    Flashback Logs introduce overhead. Overhead costs were particularly bad in point 10.2 (bug 6168063) but are supposed to be lower at 11.2

    Hemant K Collette

  • Cold copy on the ASM database. Please notify

    Hello
    The configuration is:
    HP Itanium
    Grid/ASM 11.2.0.2
    RDBMS 10.2.0.4

    I have a 4 TB database. Application needs three test cases.
    Each test should use the same sets of data. So I asked me to copy the database from 4 TB to a different diskgroup on the same instance of the DSO.
    Start the database using the just copied the controlfiles/datafiles/redologs.
    Then application would run a few tests.
    Then I should delete the copy of the database and repeat the steps to create a new copy of the original database of 4 TB.

    I need to find an efficient way to copy the database from 4 TB to the new on the same asm diskgroup.

    I can't use the flashback database option.
    The database of 4 TB can be closed during the copy.
    The storage is fast

    My idea is to copy data/controlfiles/redolog files using the cp asmcmd command and then rename files from data/redologs.

    I don't know if the current copy of running in parallel is better then copy files one by one.
    I could also use backup rman as copy, but I guess that the result would be no different in terms of deadlines.

    Any suggestion?

    Thank you, man

    Hello

    The best option is to use RMAN to perform this work.

    Philippe Florent showed how to do this without using the backup image database on the file system... I upgraded to customers who use the ASM.

    See this thread:
    {message: id = 9576474}

    Kind regards
    Levi Pereira

  • Flashback Database Architecture

    I went to the Architecture of database of Flashback in which he is mentioned process RVWR writes buffer of Flashback Flashback data to newspapers Flashback Database, which is used circularly.

    My question to all the experts here is-
    (a) Flashbacking the database depends on the content of database of Flashback logs?
    (b) given that the flashback logs is used circularly and there's no archives generated, if the content is overwritten, can't go us back to the point
    who's already crushed?

    -Neel

    Hi Neel,

    I guess I see where the confusion is. In the line,.

    This new background process sequentially written Flashback Database data from the buffer of flashback in the Flashback Database logs, that are reused circularly.

    Note the comma after "Newspaper Flashback Database" so, 'who' does not point in newspapers Flashback Database, but in the buffer of blowback.

    Kind regards
    Thierry

  • ARCHIVELOG and flashback database

    Hello world

    I do not understand why the flashback database feature requires in archivelog mode.

    Could someone explain the reason?

    Thanks in advance

    This is explained in the documentation: Sur Flashback Database

    Therefore, at regular intervals, the database copy images of each block modified in each data file in the flashback logs. These block images can later be used to restore the contents of the data file from any time during which the logs were captured.

    When a database is restored to its State at some time target using Flashback Database, each block has changed since that time is restored from the copy of the block in the flashback logs more immediately before the time of the desired target. The redo log is then used to re - apply the changes since the time this block was copied in flashback logs.

    Note:

    Newspapers of recovery must be available for the entire period caused by the flashback logs, either on tape or on disk. (In practice, however, redo logs are usually needed much longer retention of flashback target to support point-in-time recovery.)
    >

    Basically, flashback logs contain any changes for all points in time. That's why redo / archive logs are needed.

Maybe you are looking for