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.

Tags: Database

Similar Questions

  • CSALTER and Flashback Database

    In 10.2.0.4, is it possible to use Flashback Database to cancel a character occupies change that was made through CSALTER? I think it fits very well, especially with CSALTER, it's just changes to the dictionary and the remapping is not the characters, but I wonder if anyone is aware of any questions/limitation in such a scenario.

    Yes. Flashback Database literally back the database to a previous point in time.

    That said... I've never tried it with CSALTER so my advice would be to validate on a test area first.

  • DataGuard and Flashback database

    Any sense to run a database (using the flashback database) when using Dataguard.
    We don't talk about uptime

    When to use database of flashback? (to decline the upgrades?)
    0 protection against human errors
    1 flashback database
    2 flashback Data Archive

    also should we run dataguard in a physical standby or a logical standby configuration
    1 physical standby
    And effect seen use "logical standby".

    Kind regards
    Taj

  • Flashback Database vrs Point in recovery time

    Q1. What is the difference between a CAMILLE and Flashback Database? I am aware that CAMILLE is obviously older than Flashback DB process. Both seem to do the same thing, although CAMILLE seems to imply a recovery followed by restore (i.e. moving it to the rear then roll forward) while Flashback DB seems just involve moving backward. ? Flashback database is generally faster on this basis?

    Seems to me that if CAMILLE is useful when you have file corruption / loss that Flashback Database is better to back off before an error by the user (for example a decrease of a table, etc. - but you can use the trash to sort that).

    CAMILLE can correct the error of the user as well, but it seems that it would be a slower process

    Thoughts?

    Thank you
    Jim

    Jimbo, you have identified the differences in how CAMILLE and Flashback database both you can get the same point. Flashback database should be faster because you do not have to restore the entire database first; However, your window of flashback database is limited. Depending on the case, you have defined points of restoration or not and how old these points are that you can resort to the use of a CAMILLE.
    - -
    I do not consider set a production database in time through Flashback Database as being a practical operation since usually only one company ara has need to be flashed back then that everyone would like to continue to use the database, as it is. In this case restoring to another server/vesion of the database via CAMILLE would recreate the necessary data where other methods could then be used to extract data and migrate the production database.
    - -
    HTH - Mark D Powell.

  • CAN I RECOVER DELETED DATA FILE AND ITS TABLESPACE BY USING FLASHBACK DATABASE

    Hello!

    I CREATED THE TABLESPACE WITH ITS DATA FILE.

    SQL > create tablespace usmantbs datafile 'E:\oracle\product\10.2.0\oradata\orcl\usman.dbf' recording petit_fichier the size of 10 M extent management local segment space management auto;

    THEN, I CREATED A USER AND HIM ENTRUST THIS TABLESPACE.

    SQL > create default profil_utilisateur identified by Neil Leal Microsoft account unlock default tablespace usmantbs;
    SQL > grant connect, resources for Neil;

    I CONNECTED WITH Neil as USER AND CREATED a TABLE.

    SQL > conn Leal/Leal
    SQL > create table baseball (id number (9));

    SQL > select current_scn from v$ database;

    CURRENT_SCN
    ---------------------
    545863

    Then I deleted the tablespace including contents and data files...

    SQL > drop tablespace usmantbs including content and data files;

    I have no backup of this data file, but my database is in archive log...

    So I can... .flashback database to the SNA 545863 as it was before the fall... to get back my along its tablespace data file
    Wil I get my datafile back or not? Help, please...

    You can test it by yourself easily :) You will not be able to open your database
    After getting the error, just rename this data file and flashback again. Then open your database

    C:\Documents and Settings\Administrator>sqlplus "/as sysdba"
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Aug 1 14:20:34 2009
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  293601280 bytes
    Fixed Size                  1248624 bytes
    Variable Size              96469648 bytes
    Database Buffers          192937984 bytes
    Redo Buffers                2945024 bytes
    Database mounted.
    
    SQL> alter database archivelog;
    
    Database altered.
    
    SQL> alter database flashback on;
    
    Database altered.
    
    SQL> alter database open;
    
    Database altered.
    
    SQL> create tablespace tb datafile 'c:\tb.df' size 1m;
    
    Tablespace created.
    
    SQL> create user tb identified by tb;
    
    User created.
    
    SQL> grant dba to tb;
    
    Grant succeeded.
    
    SQL> alter user tb default tablespace tb;
    
    User altered.
    
    SQL> create table tb (id number);
    
    Table created.
    
    SQL> select current_scn from v$database;
    
    CURRENT_SCN
    -----------
         547292
    
    SQL> drop tablespace tb including contents and datafiles;
    
    Tablespace dropped.
    
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  293601280 bytes
    Fixed Size                  1248624 bytes
    Variable Size              96469648 bytes
    Database Buffers          192937984 bytes
    Redo Buffers                2945024 bytes
    Database mounted.
    
    SQL> flashback database to scn 547292;
    flashback database to scn 547292
    *
    ERROR at line 1:
    ORA-38795: warning: FLASHBACK succeeded but OPEN RESETLOGS would get error
    below
    ORA-01245: offline file 5 will be lost if RESETLOGS is done
    ORA-01111: name for data file 5 is unknown - rename to correct file
    ORA-01110: data file 5: 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005'
    
    SQL> alter database open resetlogs;
    alter database open resetlogs
    *
    ERROR at line 1:
    ORA-01245: offline file 5 will be lost if RESETLOGS is done
    ORA-01111: name for data file 5 is unknown - rename to correct file
    ORA-01110: data file 5: 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005'
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------------------------------------
    
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSTEM01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\UNDOTBS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSAUX01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\USERS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005
    
    SQL> alter database create datafile 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005' as 'c:\tb.dbf';
    
    Database altered.
    
    SQL> flashback database to scn 547292;
    
    Flashback complete.
    
    SQL> alter database open resetlogs;
    
    Database altered.
    
    SQL>
    
    SQL> select * from tb;
    
    no rows selected
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------------------------------------
    
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSTEM01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\UNDOTBS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSAUX01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\USERS01.DBF
    C:\TB.DBF
    
    SQL> select name from v$tablespace;
    
    NAME
    ------------------------------
    SYSTEM
    UNDOTBS1
    SYSAUX
    USERS
    TEMP
    TB
    
    6 rows selected.
    
    SQL>
    

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com
    [Step by step installation Oracle Linux and automate the installation by 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/]

    Published by: Kamran Agayev, a., July 27, 2009 14:38

  • the backup database must be restored after failover and flashback 11

    I tried a failover with 11g r2 and RAC. Failover worked. I have flashed then return of the database (old primary) according to this http://docs.oracle.com/cd/E11882_01/server.112/e17022/scenarios.htm#i1049997, and now is the archiveurs application again.

    The problem is in the broker, it says this

    DGMGRL> show configuration;
    
    Configuration - DG_Config
    
      Protection Mode: MaxPerformance
      Databases:
        DB11G_STBY - Primary database
        DB11G      - Physical standby database (disabled)
          ORA-16661: the standby database needs to be reinstated
    
    Fast-Start Failover: DISABLED
    
    Configuration Status:
    SUCCESS
    I tried deactivating and reactivating the configuration, but still the same. Any other ideas?

    Here's a link [url http://nikolayivankin.wordpress.com/2012/02/14/dgmgrl-reinstating-ex-primary-to-standby-by-flashback-database-feature/] a demo, your theme

  • disadvantages and advantages of flashback database

    can someone explain to me pls the restrictions in the use of the flashback database? I've read some docs but they all give more details on the benefits only.

    Thank you
    DB

    I think that Chris mentioned, it is true as I remember chat with someone in this book, its mentioned that the instantaneous time interval default value is 30 minutes, but it is not true to the point 10.2 where it is 60 minutes. So I hope that confirming the docs is the best way to check it out.

    HTH
    Aman...

  • Data Guard and Flashback

    I will be an active data guard with a primary instance and a secondary instance. I'm in the environment no CARS. My primary databases and Eve will be the flashback database on. I duration of blowback for one day, i.e., I should be able to flashback to the top of any time in the last 24 hours.

    When I do the RMAN backup on primary and remove the archiving log by using the rman command, RMA will not remove newspapers to archive that will be required for the flashback database (24 hours a day)?

    When I am applying newspapers archived on the backup site, I want to remove the archived logs that have been applied, but not required for the flashback database. How can I determine that? In the worst case scenario, I can always keep archived logs from 1 day to wait?

    1. Thank you.

    You need not remove the flashback logs.  Oracle automatically manages the removal of flashback logs.

    Configure retention policy to remove the archive logs more at some point.

    Configure archivelog deletion policy to manage the removal of logs that have been applied to the wait.

    for example:

    CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;

    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;

    In the worst case if you discover you need archivelogs that have been removed from the drive, then you can restore them because they have already been backed up by RMAN.

  • Several Flashback Database to the time prerequisites

    Current time: 17/12/2013-13:22

    Created restore point guaranteed: 10:53 09/12/2013.

    More old Flashback Time: 10:34 09/12/2013


    A Flashback Database timestamp 17/12/2013-06:30 was carried out at the 12:00 17/12/2013. (Done Resetlogs).  It's my understanding that a new incarnation is created when I resetlogs.  Guaranteed restore point was created under the old incarnation, but it seems to keep the archivelogs recovery guaranteed, even if the database has been Databased Flashback.

    Is it possible database flashback by timestamp 10:34 09/12/2013 (oldest flashback time) even if we have already done a recovery (flashback by timestamp database) at 17/12/2013 06:30?  I am concerned about corruption.

    Thanks in advance.

    See this and the ancestral discussion below: scene of Flashback and the database Point-in - time recovery

  • 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

  • FLASHBACK Database: rman vs. sql command differences

    I am new to Oracle and want to understand the difference and that is the correct way of rear turn signals to the database?


    RMAN command vs SQL command on the use of FLASHBACK DATABASE
     SQL> FLASHBACK DATABASE TO RESTORE POINT BEFORE_ONLINE_TEST;  {CODE} Vs 
    RMAN > run {}
    flashback database to restore the BEFORE_TEST_320130313 point;
    SQL ' alter database open resetlogs; }
     
    Referring this article on http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmflash.htm#BGBDCAFA it says we can use both RMAN and SQL command for database flashback.
    
    Questions:
    
    1. Difference between using RMAN and SQL command on database flashback?
    
    2. When to use RMAN or SQL on the  database flashback?
    
    3. Which is the Oracle recommended or best way ?
    
    Edited by: Sivaprasad S on Mar 15, 2013 7:26 PM
    
    Edited by: Sivaprasad S on Mar 15, 2013 7:26 PM
    
    Edited by: Sivaprasad S on Mar 15, 2013 7:27 PM
    
    Edited by: Sivaprasad S on Mar 15, 2013 7:27 PM
    
    Edited by: Sivaprasad S on Mar 15, 2013 7:28 PM
    
    Edited by: Sivaprasad S on Mar 15, 2013 7:29 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    So when you run your SQLPlus flashback, you get the following error:

    ORA-38761: redo log sequence 1 in thread 1, incarnation 3 could not be found

    This means so that the sequence 1 has probably been removed from the disk and is necessary.

    When you run the RMAN command look at the log what RMAN:

    * journal archived for thread 1 sequence 2 is already on the disc in the file +DG_PERF_FLASH_02/TestDB/archivelog/2013_03_14/thread_1_seq_2.3612.810054205*
    * journal archived for thread 1 with sequence 3 is already on the disc in the file +DG_PERF_FLASH_02/TestDB/archivelog/2013_03_14/thread_1_seq_3.1588.810054205*

    So sequence 2 and 3 are already on record according to the above message.

    Then you get this message:

    channel dev_2: restoration of archives Journal
    Archives journal thread = 1 sequence = 1

    So RMAN knows he needs 1 thus sequence and restores this newspaper archive she needs for recovery.

    In a Word while running SQLPlus she communicate with RMAN and restore the log file for you, however with RMAN, it won't.

    You can restore the newspaper archive manually, and then run in SQLPlus that will then work.

    Published by: Freddie Essex on March 18, 2013 12:46

  • 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

  • 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

  • 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?

Maybe you are looking for

  • Necessary to reinstall Windows. Hoe to import the saved .pcv file Thunderbird Info

    My computer crashed when Windows updated. Due to a refresh that wiped out all my programs. Before that, I saved all my Firefox and Thunderbird info for separate files in .pcv as Mozilla recommended. Now I reinstalled Thunderbird but can't find how to

  • Add-on for Print Edit does not work

    I just got my iMac cleaned for adware and now my add-on for print edit does not work. There is an error 2 - XPF to the catalog. I don't know the email address of support for developers?

  • Box USB3 or SSD Thunderbolt

    Hello world Who need a few comments: I intend to connect an external hard drive to my iMac I think so Crucial MX200 1 TB SATA 6 Gbit/s 2.5 "SSD internal flash drive http://EU.crucial.com/EUR/en/ct1000mx200ssd1#productDetails and Inateck case 2.5 inch

  • HP 2000 - 2b19WM Notebook PC: AMD graphic Driver fails repeatedly, and the PC often restarts itself...

    I bought this laptop a few months, put it away in a corner and when is it coming out my old laptop broke. I got it at low cost, was handed to nine Windows 8 PC, I've updated to 8.1 in early December. I use this laptop heavily, I watch a lot of videos

  • RV042 VPN group & access rules

    I have install a GroupVPN and connect to the RV042 with the client VPN Shrewsoft, works like a charm as opposed to QuickVPN ;-) The firewall is configured with an explicit deny for RDP access rule to an internal server, can also be used to explicitly