Why the Media recovery is necessary once a data file is brought back to fashion online?

Hi DBAs,

Consider the following scenario:

Offline data file:

08:09:38 coredev > select status, name from v$ datafile where name like '% UNDO4% ';

NAME OF THE STATE

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

F:\ORACLE\ORADATA\CD\UNDO4 ONLINE. DBF

08:09:47 coredev > alter database datafile ' F:\ORACLE\ORADATA\CD\UNDO4. DBF' offline;

Database altered.

08:09:58 coredev > select status, name from v$ datafile where name like '% UNDO4% ';

NAME OF THE STATE

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

RETRIEVE F:\ORACLE\ORADATA\CD\UNDO4. DBF

08:10:02 coredev > select * from v$ tablespace where name = "UNDO";

ENC FLA BIG TS # NAME INC.

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

UNDO 33 YES NO YES

Data file online:

08:10:53 coredev > alter database datafile ' F:\ORACLE\ORADATA\CD\UNDO4. DBF' online;

ALTER database datafile ' F:\ORACLE\ORADATA\CD\UNDO4. DBF' online

*

ERROR on line 1:

ORA-01113: file 21 needs media recovery

ORA-01110: data file 21: ' F:\ORACLE\ORADATA\CD\UNDO4. DBF'

08:11:04 coredev > recover datafile ' F:\ORACLE\ORADATA\CD\UNDO4. DBF';

Complete media recovery.

08:11:13 coredev > alter database datafile ' F:\ORACLE\ORADATA\CD\UNDO4. DBF' online;

Database altered.

08:11:49 coredev > select status, name from v$ datafile where name like '% UNDO4% ';

NAME OF THE STATE

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

F:\ORACLE\ORADATA\CD\UNDO4 ONLINE. DBF

Now my doubt is:

1.Pourquoi Media recovery is necessary once a data file brought to online from offline mode?

2. why DB not open and throws the error message after brining online of offline?

3. Why is he asking for recovery of the media?

I'm very confused...!

Kind regards

Ritu

In order to make the UNDO4 data file. Coherent DBF with other UNDO tablespace data files, when you bring it from OFFLINE to ONLINE, the changes that happened during the period offline needs to be applied to this data file hence it is requires media recovery.

It is directed by my understanding.

Tags: Database

Similar Questions

  • The media recovery disk creation

    I failed to create a recovery disc for my new HP PC 700-327c.  The training video shows that under "All programs" the Recovery Manager or HP Support Tools & has a link with the media recovery process.  None appear in all programs.

    How can I create recovery discs or a USB Flash for this PC drive...

    I am happy that they will send you recovery disks.

    Only 2 reasons why this can happen are:

    A. a person has already made or attempted to create the recovery disks

    B. some virus or program contaminated recovery partition functions.  This is the most likely cause.

  • MS Money 2005 - I rebooted the software, but it does not automatically download the update needed to read my existing data files

    Due to a hard drive crash, I had to reformat my hard drive,
    therefore lost my copy previous update of MS Money.
    I reloaded the software from the CD, but it does not automatically download the update needed to read my existing data files.
    Can someone help me read my old data files?

    Microsoft or anyone have made available as a patch to download?

    Hi Derek,.

    Since the problem is related to Microsoft Money, I suggest you post your question on the Forums of money from Microsoft.

    Microsoft Money Forum

  • I tried to write a script, the user can use. This return number file *.tiff associations back using the image viewer is caused each month.

    Original title: automation of file tiff without elevated rights association

    I tried to write a script, the user can use. This return number file *.tiff associations back using the image viewer is caused each month.

    Hi, Unclemarcus2002,

    You would be wiser to post on the Forum TechNet where there is COMPUTER experts.

    http://social.technet.Microsoft.com/forums/en-us/newThread

    Maybe using the ASSOC and FTYPE command in a script will do what you want? I think that these orders would also apply the association throughout the world, rather than on a per-user basis.

    ASSOC: http:

    FTPYE: http:

    Here is an example, that you can try.

    Let's say you have a text file called "foo.bar" and you want the extension .bar always open with Notepad. There is an association for text files, so get him by typing "Ftype | more' at the command prompt (it will make a major announcement). Finally, you'll see the line "txtfile". On mine, it's "txtfile=%systemroot%\system32\notepad.exe %1" without the quotes.

    First create your association: assoc .bar = FooBarText

    Now to assign your request to your file type association: ftype FooBarText=%systemroot%\system32\notepad.exe %1

    You should now be able to double-click the foo.bar file and it will automatically open in Notepad.

    If you already have a Microsoft Office Document Imaging association, I think that it should be relatively simple type of substitution. Use ftype /? for a little more help.

    http://community.Spiceworks.com/topic/119639-Windows-7-automate-file-assocations

  • The splash screen is not up-to-date files more recent ten. I use 2015.1.1 is there a parameter? Preference?

    The splash screen is not up-to-date files more recent ten. I use 2015.1.1 is there a parameter? Preference?

    Hi Jontbm,

    Go to the file menu > open recent item > clear recent files list > restart Photoshop and then check out.

    Kind regards

    Claes

  • How the media recovery is possible in this case?

    Hi Experts,
    OS: Windows 2000 Server.
    DB version: 10.2.0.1

    BONE broke down due to power problem. I restarted the operating system and it started with questions. But in the alerts log, I found the following message appears when oracle tries to open the database.
    ERROR on line 1:
    ORA-01113: file 6 needs media recovery
    ORA-01110: data file 6:
    ' D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\ES_PRODUCTION1. DBF'

    It's just a database test and no with no backup archivelog mode at all. Once again, I see this message I thought to drop the tablespace that contains 6 data file and create the new tablespace and then import it with the data, I'll have the dump of the export of this tablespace.

    But before you do something, for a test, I just published
    SQL > restore database;
    SQL > alter database open;
    And to my surprise she succeed to open the database on all issues and the DB works now normal.

    But I want to know how oracle perform media recovery when there is no backup of the BD at all with the DB in no archivelog mode.

    Entries of your experts are greatly appreciated.
    Thank you all...

    You have recovered the database using the redo data available in online redo log. You were lucky that you got all the necessary data for recovery within redo log.

    Kind regards
    S.K.

  • Remove the Dell recovery partition and create a data partition

    Hello world

    Two years ago, I bought a Dell Inspiron N5110. In addition to the existing windows partition, I wanted to add a partition Ubuntu as a partition of data (NTFS). Well, I added the Ubuntu partition, but because of the Dell recovery partition (14.65 GB, used 7,69, formatted to NTFS), I had no primary partition left to create a data partition. I did not had the time to solve this problem so far.

    Here you can see the different partitions. 4, 66GB there is the linux swap partition and the 18.63 is the linux partition. Of course, they are contained in an extended partition that is created during the installation of linux using GParted.

    Basically, what I would do, is to remove the recovery partition. I did not throw a look inside, but I read that as it contains bootstrap information, as well as win7 boot no more if I'm deleting it. The partition is marked as 'active' (in contrast to my main windows partition of C). I guess this is a classic problem, but I couldn't find a tutorial or a satisfactory answer on this forum (I apologize if this is the case). I assume that it is not enough to define steps to activate the recovery partition and assign to the partition c active (i.e. they don't going to critical data recovery to the c partition). Furthermore, I read that repartition your drive could affect the functioning of the emergency recovery partition, is this true?

    Thank you very much in advance for your help.

    Greetings,

    Harald

    Yes, sorry, I had a problem and the image has not been correctly incorporated into my message. Here it comes. Sandra means healthy, active, primary partition means that primary partition. However, you will notice that windows see the ubuntu partition is a stretch.

  • Why the Adobe reader won't open my jpeg files?

    Why the 11 adobe reader won't open my jpeg files?

    Hi Nassman,

    Adobe Reader is a single reading software for PDF files. JPEG is not a supported format that would open in Adobe Reader. You must open the Jpeg in application that supports this file format. (for example, Photoshop, Picture Viewer, MS Paint)

    I hope this helps. I would like to know if you have any further questions.

    Kind regards

    ~ Dominique

  • Why the 'options' window has changed and how can I change this back?

    I went to open my window options under the Tools tab what I do every day because I have to clear the cache manually to resolve wifi problems. today when I opened it, instead of the unfamiliar floating window it opens a Web page in a new tab. I wonder if it's supposed to be the case and if there is a way to change this back to the 'normal' that I really don't like the way it looks and it does not work now when I empty my cache.
    Thank you!

    When that day arrives, someone could get the code for the elders of dialogue and launch as an add-on. Wouldn't be the first time something like that happened.

  • Why the report designer opens all of my excel files?

    My application uses vi in the report generator toolkit to continually save data to an excel spreadsheet (in fact, several worksheets in the same file). It works fine, however, the problem comes when we try to open/view all log XL files previously created (or _any_ other file XL by the way), because it is basically impossible to read the file due to the constant blinking/flashing XL writes in the log file. If you make the mistake of close open files, the firm application of logging (may be able to intercept this error, but didn't think of it yet). Also, when you start closing records in XL, it seems that he opened to all (or almost all) of files in at least the log folder, but in other (some) places as well. The bottom line which is the only way we found to process view, all the files of log XL is to stop the application - which is not really acceptable.

    I'm under LabView 2011, in development (OS Win7) and executable mode distributed (Win Server 2008 R2 OS) and see the same thing. I searched the internet and OR support site hi/lo for clues, but if none of them worked (XLSTARTUP, etc.).

    I have several other applications that use log files, and in all cases we can open/close the files of active log (read-only) with no problems. Does anyone have an idea of what could happen here and how to fix it?

    Thank you

    Mark-san

    Charlie,

    Well, I thought to use scripture to the SS... but I have not seen an easy way to manage multiple worksheets. Would need a separate file for each worksheet?

    Although I love the .csv format since it is essentially text (readable), I think the TDMS format may be better suited due to the structure of the channel - think I can use one channel for each worksheet (?). But can I open a TDMS (read-only) file then it is written to, and then create the desired output of Excel (snapshot) from there?

    Mark

  • field mapping in ODI with the text tab cross as a source data file

    Hi all

    I have a requirement in which I would be having a cross tab data file and I need to load the essbase cube, use this file as a source.
    The format of the file is such that it would contain data for all 52 weeks in one line with different columns for the different weeks.

    I have a dimension for which will be week 1... .week 52 as the lowest level.

    How can I map data to the contour of the position reversed such file?

    Thank you

    In the options of RKM

    Set
    MULTIPLE_DATA_COLUMN = Yes
    DATA_COLUMN_DIMENSION = name of Dimension for example period or years
    DATA_COLUMN_MEMBERS = week1, semaine2,... Week52

    Screenshot of RKM = http://2.bp.blogspot.com/__2AaArK5lW8/SQAqWQ-qB0I/AAAAAAAAAn0/lRZAJmZhPB8/s1600-h/3.png

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • HP 2000-2b89WM: could not find the media recovery disc

    Hello

    I don't know if anyone could help me, I tried to look for the option to make an order for the recovery media for my Hp 2000-2b89WM disc, and I had no chance. Recently, my system crashed with a pop-up "Bad_pool_header" erorr message and froze, moving back and forth between a black and blue screen before it will stop automatically.
    I went the computer notebook the formatting but had no luck, because it has been the same. Is there another disc of recovery media that might be compatiable with this version?

    Help, please.

    Hello:

    If you are unable to order HP recovery disks, this provider not HP has them...

    Please call HP first to see if you can order by phone, as the support pages do not work... 1-(800)-474-6836

    http://www.computersurgeons.com/p-23428-Windows-8-64-bit-Supp-1-Recovery-Kit-708894-001-for-HP-notebook-PC-model-number-2000-2b89wm.aspx

  • Why the Dell recovery partition is marked as partition active?

    As far as I know the active partition where the bootloader. So I have a few questions:

    How the recovery partition to load windows?

    Could not Dell set the Windows partition active? If I do it myself that I would not be able to access?

    Is this partition created by Dell or have I not this option with a non - OEM Windows copy as well?

    Hello VYOAMA

    You are right that the boot loader is located on the active partition.

    Your next question how it load windows? Instructions in the bootloader show

    When windows is located on the disc and load it where. The old directory of BACK

    has almost disappeared since the bootloader it uses and compensate for finding things on the disk.

    Your next question about Dell implementation active Windows partition? Yes, and on some systems

    and not on others. Your next question to yourself and that you would not be able

    to access? One thing you cannot access is back at the factory. Once the connection between

    Partition and windows partition recovery is broken cannot use F8 to recover the original image.

    Your next question, yes Dell partition configuration, but it is a version of Microsoft Windows and you can

    Create your recovery partition, the system, the partition to the OS partition and set the place in several ways.

    Hope this answer some of your questions and always back up your computer before changing

    things.

    Tom

  • Why the execution engine is necessary?

    Hello

    I want to know what is the LabVIEW runtime engine exactly? Is whay required? What exactly is its role?

    Where can I find the answers to these questions? I searched this site, but could not locate a single document .

    Thank you!

    LabVIEW is no different from many other programming tools that is modular. Search your computer, I'm sure that you have installed flash player e g. You really prefer if any player code should be included and downloaded with each tiny web flash application? What of the visual basic runtime? How about Java runtime? Having a run time is the standard way of doing things.

    Of course, you could put everything inside every executable file, and this is how it was done in the good old days of LabVIEW 4.0, where the simpler LabVIEW executable (for example to add two numbers) has several megabytes (old discussion). Now, since we have the runtime, a LabVIEW executable can be very low.

    It makes perfect sense to include all the common code in a dll that can be installed once and shared by all LabVIEW executables. Do you really think it wise that all 20 LabVIEW programs installed on a computer had their own copy of the main FFT algorithm? A shared copy is enough!  As soon as you have more than one installed LabVIEW application, the savings are huge. What happens if a bug is discovered. Would you be enough patch 20 different program or simply update the runtime?

    Long ago, the same discussion came and I writteen a more detailed answer here

  • Why Windows Media Player 11 download once AGAIN every time I open it? I have Windows XP Home Edition.

    Everytime I open WMP, it goes through the process of validation and downloads all new - even if I was just there recently. My music is still in tact, it's just a lot of time and a real pain. Can someone tell me how to solve this problem?

    Hi TMO_604,
     
    Uninstall and reinstall Media Player 11 again and see if the problem is resolved.
     
    Refer to the section "installation and removal of the player" section below to do the same thing:

Maybe you are looking for