Old controfile during recovery

Hi guys,.

Let's say I am performing system copy and creating new controlfile to trace. What would happen if I accidentally delete a data file entry (say test.data1) of this track and create controlfile to trace? When you create controlfile didn't place the error as a trace script doesn't know nothing test.data1 should be included in the controlfile. My question is: is it possible that I have run recovery and get in the database to open the State? And that the test.data1 file is completely omitted from the database?
Thank you very much!

tdkuser wrote:
Hi guys,.

Let's say I am performing system copy and creating new controlfile to trace. What would happen if I accidentally > remove a data file entry (say test.data1) of this track and create controlfile to trace?

Expensive tdkuser nothing happen during create controlfile. But when you try to open database, then you will see in the alert.log than some information related to this data file. Because in datadictionary actually there is information on this data file, however controlfile does not contain information about this data file (in this case, this data called missing datafile file).

When you create controlfile didn't place the error as a trace script doesn't know nothing test.data1 should be included in the controlfile. My question is: is it possible that I have run recovery and get in the database to open the State? And that the test.data1 file is completely omitted from the database?
Thank you very much!

Yes, you can retrieve this data file while the database is open state if this file exists physically at the OS level and that this data file is not omitted from the database. Finally, you see at the bottom of the example.

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 8 20:14:48 2010

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> alter tablespace users add datafile
  2  'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\user02.dbf' size 10M;

Tablespace altered.

SQL> select name from v$datafile;

NAME
--------------------------------------------------------------------------------

D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSTEM01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSAUX01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\USERS01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\EXAMPLE01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\USER02.DBF

6 rows selected.

SQL> alter database backup controlfile to trace as 'c:\c.txt';
alter database backup controlfile to trace as 'c:\c.txt'
*
ERROR at line 1:
ORA-01277: file 'C:\C.TXT' already exists

SQL> alter database backup controlfile to trace as 'c:\c.txt' reuse;

Database altered.

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount;
ORACLE instance started.

Total System Global Area  125829120 bytes
Fixed Size                  1247660 bytes
Variable Size              62916180 bytes
Database Buffers           58720256 bytes
Redo Buffers                2945024 bytes
SQL> CREATE CONTROLFILE REUSE DATABASE "TEST" NORESETLOGS  NOARCHIVELOG
  2      MAXLOGFILES 16
  3      MAXLOGMEMBERS 3
  4      MAXDATAFILES 100
  5      MAXINSTANCES 8
  6      MAXLOGHISTORY 292
  7  LOGFILE
  8    GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\REDO01.LOG'  SIZE 50M,
  9    GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\REDO02.LOG'  SIZE 50M,
 10    GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\REDO03.LOG'  SIZE 50M
 11  DATAFILE
 12    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSTEM01.DBF',
 13    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS01.DBF',
 14    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSAUX01.DBF',
 15    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\USERS01.DBF',
 16    'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\EXAMPLE01.DBF';

Control file created.

SQL> desc v$recover_file;
 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------

 FILE#                                              NUMBER
 ONLINE                                             VARCHAR2(7)
 ONLINE_STATUS                                      VARCHAR2(7)
 ERROR                                              VARCHAR2(18)
 CHANGE#                                            NUMBER
 TIME                                               DATE

SQL> select file#,error from v$recover_file;

no rows selected

SQL> select name from v$datafile;

NAME
--------------------------------------------------------------------------------

D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSTEM01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSAUX01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\USERS01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\EXAMPLE01.DBF

SQL> alter database open;

Database altered.

SQL> select file#,error from v$recover_file;

     FILE# ERROR
---------- -----------------------------------------------------------------
         6 FILE MISSING

SQL> select name from v$datafile;

NAME
--------------------------------------------------------------------------------

D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSTEM01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSAUX01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\USERS01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\EXAMPLE01.DBF
D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\MISSING00006

6 rows selected.

SQL> alter database rename file 'D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\MISSING0
0006' to 'D:\oracle\product\10.2.0\oradata\TEST\USER02.DBF';

Database altered.

SQL> recover datafile 6;
Media recovery complete.
SQL> alter database datafile 6 online;

Database altered.
SQL> select name from v$datafile;

NAME
---------------------------------------------------------

D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSTEM01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSAUX01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\USERS01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\EXAMPLE01.DBF
D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\USER02.DBF

6 rows selected.

SQL>

Tags: Database

Similar Questions

  • laptop G62-b98ED: 0xe0f00013 during recovery (new hard drive) error code

    In the HP Support Forum Iread the code 0xe0f00013 error during recovery (new hard drive).

    In this article, I go the Digital River en download Windows 7 Home site (http://msft.digitalrivercontent.net/win/X17-58997.iso)

    Unfortunately, this link is broken

    ("The Page or file you requested cannot be provided

    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
    Error HTTP 404 - file or directory not found. »)

    In ths page I be called Micrrosoft to download on their site. After typing the registrationkey it says:

    'Product not supported '.
    The product key you have entered seems to be the software that was preinstalled on a device. Contact the manufacturer of the software device for recovery options. " »

    You have a different link to download the ISO of windows 7 Home Premium?

    I have not personally used this download link, but they seem to have good answers/responses from users it and 33K followers on Facebook.

    http://getintopc.com/softwares/operating-systems/Windows-7-Home-Premium-free-download-ISO-32-bit-64-bit/

  • Volume \Device\HarddiskVolumeShad... encountered an error during recovery

    Hi, I got this error in the event viewer:

    The resource transaction on \Device\HarddiskVolumeShad volume manager... has encountered an error during recovery.  The resource manager will continue recovery.

    Only from google, is your error? - http://www.eventid.net/display-eventid-134-source-Ntfs-eventno-10844-phase-1.htm

    If so, backup your data now and then a full disc check error may be trying to see if it finds problems

    Important: When running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    IF you can provide more information, including the number of the event real, are complete you any specific task when the event occurs etc, someone can be able to give more specific advice.

  • RMAN recovery failed with the incarnation of target of error 03002,11003 and recovery 19906 changed during recovery

    Hi all

    I was cloning a Prod DB (Oracle 10.2.0.5) from tape backup. So the cloning is going on it failed with the below error in RMAN:

    archive log thread = 2 sequence 23044 = filename=+DG_zeus_FRA_01/zeus/archivelog/2014_05_23/thread_2_seq_23044.3558.848348137

    output channel: ch01

    output channel: ch02

    output channel: ch03

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of Db in dual at 23/05/2014 20:15:48

    RMAN-03015: an error has occurred in the script stored memory Script

    ORA-00283: cool cancelled due to errors

    RMAN-11003: failure in parsing / execution of the SQL statement: alter database recover logfile ' +DG_zeus_FRA_01/zeus/archivelog/2014_05_23/thread_2_seq_23044.3558.84

    8348137'

    ORA-00283: cool cancelled due to errors

    ORA-19906: embodiment of changed during recovery recovery targets

    Any possible solution to the resume and cloning complete successfully?

    Kind regards

    Ritu

    incarnation of the list;

    It listed 2 incarnation. I have reset the previous incarnation

    RESET DATABASE TO INCARNATION 2;

    and recovered again and it solved my problem.

    After that added temp files as usual after failing RMAN duplication;

    After this nest of DB and open reset logs.

  • Remove the log during recovery, but everything is ok

    Hello

    I delete the log during recovery file, insert a value in a table and commit, it is committed and no error in the alert.log file
    I turn on logfile, it switches, once again no error

    What is the reason?

    Thank you

    John

    But when I commit, where do the Oracle stores data?

    First of all in the log buffer which is empty on commit to the CURRENT redo log in the redo log writer.

    As stated previously the writer newspaper most likely open the file before you delete - so he acquired a file descriptor and is still able to write to this file, even if you subsequently deleted. The journal writer retains the redo log permanently open at least until the file becomes inactive (I think even the file handles are never closed for performance reasons; but this should be verified).

  • Satellite A210 - error during recovery

    Hi all

    I received a Satellite A210 (opportunity, about two years old) by a friend. The laptop does not work at the moment. When the laptop is turned on, it displays a message "Missing Operating System". I tried using the recovery disk supplied with the machine, but it doesn't help. I get the same message "error restoring image."
    ERROR = ImageX would not apply VISTA F = \05853XSP.swm Index 2 of ODD to C =------! Press a key to continue, and it is as he goes. Currently a une machine machine second hand, that I don't know what works and what does not.

    Any ideas on where to go from here would be much appreciated.

    Hey Buddy,

    I never had an error message during the installation of recovery so I m not sure what the reason for this problem.

    Have you checked the BIOS? Is the drive recognized properly it?

    What happens if you try to install Windows from a Microsoft installation disc?

  • Could not find a way to Exchange my old pre 29 recovery key.

    I have a recovery key.

    There is no option to add one device other than a new one with nothing on it.
    This update seems to have removed features and my years of bookmarks value apparently thrown out the window with the 'new' sync system.

    It's quite frustrating, I'm looking for answers for hours now.

    It is not that difficult. Help me find a way to get all my important information, please.

    (It was a bad time for my hard drive of the computer to fail...)

    You will need to install an older version of Firefox temporarily and connect to the old account to sync and update then again to the current version.

    Firefox 28.0 for Windows:

  • Replacement of the old versions on recovery media

    I have a Satellite Pro A120 and the disk that came with it has many old versions of the software. Is it possible to replace these and change the configuration of the installation so that the most recent versions show in the installation menu?

    I tried to simply replace the exe files but am stuck as to where Edit menu of installation for the most recent versions are visible.
    Thanks in advance for any help.

    No, it s is not possible, but you can try to create a CD image.
    You can use nLite software to create clean windows boot CD.
    This software allows you to integrate the drivers, tools for the installation CD.
    The i386 folder that is necessary for the creation of this CD should be placed on the HARD drive.
    (the Toshiba Recovery CD creates this folder i386 to the HARD disk)

  • I'll lose data from the drive of the partition during recovery?

    Hi all

    If I use the toshiba recovery CD to format my system, I'll lose data from the disks partition as well or just the C:?

    Hi Justin

    Well, what recovery CD you want to use?
    As much as I know several months Toshiba uses a new version of the CD recovery called Reco.
    You will find the settings option and there you can choose the option when you want to recover the operating system. I think that the first partition is erased.

    The old version of the recovery CD has supported two different options: standard and expert mode. Here it is important to use the expert mode if you want to choose the partition where the OS must be installed

  • Satellite A300 - BIOS settings incorrect error during recovery

    Hello

    New to the forum, I had a search around so im hoping someone can help me.

    I have a Toshiba Satellite A300 PSAGCA and trying to resize a partition my computer become unresponsive and since then I can not load Windows Vista. When the computer starts it comes up with the error "interrupted operation: insert the Recovery CD.

    So I used the restore CD that was with my program of partition but I get a different error message saying "Incorrect BIOS settings change video buffer size" which I cannot find in the BIOS and no help from their support.

    If im now doing a Toshiba Recovery and restore my laptop, but I can't get into recovery. Holding F8 during startup to show the boot advanced options, or not taking '0' as ive read its supposed to.

    Any help would be appreciated!

    Thank you

    Can you please tell me how you tried to resize the partition?

  • Satellite P770 system turns off during recovery

    I am the owner of a Satellite P770 and during the recovery, the device turns off to 'Performance testing' stage. It has everything installed and I managed to stop the recovery process.

    It looks like there some cosmetic minor things, that he has not completed, but I always get the opening screen saying its completion with the first start of time.

    I went into the performance tests of Win7 and it does the same thing, instantly turns the machine.

    I really need help!

    Brad.

    Hello

    Is the Satellite P770 disables automatically running other applications like MS Office, Web browser or even some games?

    Usually the laptop would be closed automatically due to high temperatures but I don't very well if this is the reason in your case m

  • Satellite P300-1pj - non-active PARAMETERS during recovery

    Hello

    During the reinstall Windows Vista Home, I'm not able to use * settings options. Please see photo: http://www.teczka.zw.pl/Toshiba/Recovery_Vista_EN.JPG
    There is only one possibility to install Vista on the 153 GB partition - with the HARD drive format and make new partitions.
    Beacause I did my own partitions, I don't whant to remove, it is also important to back up data.

    Please inform me how active settings.
    I know it's possible - I also use Satellite P100-387. The use of disk Recoevery the settings button is avaiable.

    Best regards
    Szymon
    [email protected]

    > There is only one possibility to install Vista on the 153 GB partition - with the HARD drive format and make new partitions.

    The recovery procedure will format the HARD drive and erase everything from the HARD drive.
    It is not possible to change the settings and to recover the operating system on a certain partition s.

    The quick recovery procedure that contains Win XP was different and it was possible to retrieve only one partition but don't use do not Vista.

  • Satellite L500D - number of reboots during recovery?

    Bought a factory sale Toshiba Satellite L500D. I recovered by following the instructions on the Toshiba support pages. My question is, * how many times restart the laptop during installation drivers.*

    So far, it has restarted a dozen times. I wiil be left on all night, I hope it's just reboot after each driver, not stuck in a loop.

    Hi shr3k,

    Don t forget that during the process of recovery of all drivers and tools will install automatically makes your laptop ready to use after this process. No drivers or tools, you need to install yourself after that.

    From my own experience, I can say that installing recovery takes a long time that s right but it s normal behavior. So don t you worry about this, a coffee or do something else. After that, your laptop should be completed (wait 1-2 hours).

  • Removes really all the information from the old operating system recovery disc?

    Hello!
    I wanted to know if the recovery disk that came with my Toshiba computer deletes * all * the hard disk information, * or is it possible, which has damaged the malicious software that was installed on my computer sometime before resists after using the recovery disk? *

    "If I use my drive recovery the program just wonder if I wipe my hard drive and informs me that my data will be destroyed if I use this recovery CD. After this issue alone, it begins with the recovery process. Is ' normal for this drive, he'll ask me any other questions on "what partition will recover and so on and it starts recover after this issue alone?

    What Toshiba drive cleanup could I use the case, if this recovery disk deletes all old information from the hard drive to ensure that * all * of my last hard drive is wiped clean?

    Thanks for the reply!

    Hello

    If you use the disk recovery Toshiba, all data will be erased on the HARD drive.

    Before the start of the resettlement, the HARD drive will be formatted. Malicious software and other software will be deleted.

    So you n t need another drive or another program to erase the HARD drive.

    Try it and you will see that it works. But first, back up your data.

  • Blue screen of death during recovery

    Apparently, the latest updates from MS caused problems and I had the blue screen of death during the start several times on my Pavilion p6610f desktop computer. I try a system recovery and got the screen died shortly after the recovery began. Now it does not start or even turn on a screen.  Any help would be appreciated.

    Well, this is my fourth attempt at this announcement, I hope it will work this time.  Below are my answers to your questions.

    Hello jp-3,

    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the Forums of HP, I would like to draw your attention to the Guide of the Forums HP first time here? Learn how to publish and more.

    I read your post about how you are not able to boot your Windows computer after attempting a recovery, and I'd be happy to help you! To start, I have to ask you a few questions:

    Mech Hi and thanks for your help.

    It is a Pavilion p6610f desktop PC

    • What version of Windows you have installed on your computer?

    I was running 7 Home Pro

    • Has your computer finished all his important updates from Windows?

    The updates had been installed, which was when I started to have problems

    I didn't have a chance to update anything after you restart MS. updates He immediately started crashing. I restarted three times and got a truncated blue screen every time, that's why I tried the recovery.

    • What is a current or recent problem?

    He started just after the latest version of Windows update.

    • You are able to get an image from another monitor?

    In general, I run two monitors (bothHP) via USB converter j5create JUA310, which I unplugged in case of conflict. It crashed with two configuration simple and double monitor. When I was running food, I had only the primary monitor upward.

    In the meantime, I recommend that you follow this document on screen is blank after you start the computer. This should help with the display on your screen when you start first to the top of your computer.

    I unplugged everything - HP Color laser printer duplicator Kensington USB port and USB mouse Logitech wireless (wired mice HATE!). Had previously removed just in case USB Sandisk flash drive. The computer started, monitor went up, and I received a message "windows recovered from an unexpected shutdown - check online solutions. Did respond to the message again. Did not try a BIOS update.

     

    Thanks for your help!

    Please re-post with the results of your troubleshooting, as well as the information requested above. I look forward to your reply!

    Concerning

    MechPilot
    I work on behalf of HP

Maybe you are looking for

  • Ayuda con Cuenta de Icloud

    Buenos Días mi problema are the following. Yo compre UN iphone IOS 9.3.3 5s is actualizo hace 2 dias, solo UN dueno a tenido persona than me lo lo compro in Estados Unidos, el problema vendio are el siguiente yo is lo di mi hijo pero el por tratar co

  • Official Satellite A660 cant get and iTunes-64 updates moved

    Hello I've had my laptop for about 3 weeks now and have a few problems that maybe someone here can help with :)It's a Toshiba Satellite A660 Windows 7 64 bit, with all the options of support authorized toshiba - tempro, health bulletin board etc. Pro

  • MagSafe interchangeability

    I have a MacBook Air with a power of 45w magsafe 11 ".  My wife has a 13 "MBPro with a 60 w magsafe power.    Am I right in thinking I can run my Air on his power, but it will use only mine?  When you go on vacation, we want only to take a pack of ci

  • Replacement of a power supply

    Hello my dear before you ask for help, I want to thank you for the greatest Pc you guys offer they are really powerful and impressive in any case I'm now looking forward to change the power supply (that I bought the pc of a black market) and my pc is

  • How can I reinstall the my working folder icon and the icon of internet explorer in my desktop

    How can I reinstall the my working folder icon and the icon of internet explore on my desk that had been removed in some sort tried to watch in recycle bin bit is not there also tried to restore to an earlier date, but it will not reinstall