What to do with off line datafile?

Hi,
On prod db (9.2) with still space in ts I created a new data file. (There were 5 other files here).
Realized it's named incorrectly I placed the data file immediately off line.
Currently the status is: "Needs Recovery" (db is running in arch log mode).
I'm wondering what are my options dealing with the situation?
(We don't use Oracle Managed Files option).
The db is 24/7 the ts is an index ts (12 GB).
Are there any perils of keeping the file off line for the future?
What could be done with data file off line:
-Can I move it?
-Resize it?
-Rename ?
Is there a way to recover w/o placing the ts off line?
Any suggestions are highly appreciated!
Thx,
Dobby

You can bring it easily online:
[email protected]> select file_name from dba_data_files where tablespace_name = 'RECOVERY_TEST'
2 /
FILE_NAME
C:\ORACLE\ORADATA\MOB92\RECOVERY_TEST01.DBF
C:\ORACLE\ORADATA\MOB92\RECOVERY_TEST02.DBF
[email protected]> alter database datafile 'C:\ORACLE\ORADATA\MOB92\RECOVERY_TEST02.DBF' offline;
Database altered.
[email protected]> create table semp tablespace RECOVERY_TEST as select * from scott.emp;
Table created.
[email protected]> select * from v$recover_file;
FILE# ONLINE ONLINE_ ERROR CHANGE# TIME
13 OFFLINE OFFLINE 71930663 03-SEP-06
This will not suceed:
[email protected]> alter database datafile 'C:\ORACLE\ORADATA\MOB92\RECOVERY_TEST02.DBF' online;
alter database datafile 'C:\ORACLE\ORADATA\MOB92\RECOVERY_TEST02.DBF' online
ERROR at line 1:
ORA-01113: file 13 needs media recovery
ORA-01110: data file 13: 'C:\ORACLE\ORADATA\MOB92\RECOVERY_TEST02.DBF'
Here you recover datafile:
[email protected]> recover datafile 13;
Media recovery complete.
and now you can place it online:
[email protected]> alter database datafile 'C:\ORACLE\ORADATA\MOB92\RECOVERY_TEST02.DBF' online;
Database altered.
[email protected]> select * from v$recover_file;
no rows selected
Best regards
Krystian Zieja / mob

Similar Messages

  • What's up with those lines?

    Hey all,
    I've been getting these lines in my moving images. Not so much when things are relatively still. Or sometimes when I capture a still frame from one of my clips. I've tried to capture an example to show you but haven't figured out how.
    I swear it looks like every other line of the screens image is offset slightly. I thought it was an interlacing issue, so I exported another version of my last video using the "deinterlacing" option, but that doesn't seem to make any real difference.
    Anybody got any ideas?
    Thanks
    Dave

    It's standard def, mini-dv. I tried exporting the same project using the "de-interlace" feature, but it didn't seem to make any difference. I exported them both (versions) to QT movies and compared them side by side and didn't see much difference.
    When I upload the video to YouTube it looks fine, but if I export any other way I get those lines.
    If the "de-interlace" option doesn't work, what else is there to do? If it lends any clarity, I captured a single frame from a clip and used it as a still. It was "very bad". Wow.
    Any direction is appreciated.
    Thanks,
    Dave

  • What's wrong with this line ?

    I want to insert the space html character "&160;" into an HTML Document.
    I 've tried this :
    MyHTMLEditorKit.insertHTML(MyHTMLdoc, offset, "&160;", 0, 0, HTML.Tag.CONTENT);
    But it doesn't work. it just insert spaces " " ;
    Please if you got an idea of how to make it work out, I would be very grateful !

    Obviously this is not the problem.
    When i use the following code :
    MyHTMLEditorKit.insertHTML(MyHTMLdoc, offset, "&160;", 0, 0, null); , it inserts the #160; character correctly, but and endofline adds itself (weird !)
    I just want to know how to insert text correctly in an HTMLDocument (anykind of text...)

  • Generate/Reconcile problem: two types of Off-line Tables?

    Hi,
    I have problem with Generate/Reconcile objects from Off-line Tables.
    I have DB tables primarily defined as Off-line DB tables (creation and all changes I do with Off-line DB Tables). Sequentially I force changes to DB with option "Generate/Reconcile". So long as I created Off-line tables directly in JDeveloper, all was great.
    Now, I want to simplify proces of creation off-line tables: I generate myself sql simple sql script (on the basis java-beans), apply to DB and after it import DB tables from DB to Off-line tables. Next I want to work as sooner, i.e. make fine changes on Off-line tables and "Generate/Reconcile" to DB.
    But this second approach dosn't work. Off-line tables imported from DB shows in Table Information warning "This table has been imported from/or generated to a database. Changigng the Temporary Table property will affect your ability to reconcile it with that database". But what is important: Generate/Reconcile such Off-line table to DB faces alltimes to DROP table and CREATE table!!!!! So this is fully useless.
    When I opex Off-line tables xml, other structure is for Off-line tables created in JDeveloper and imported from DB.
    So how resolve this problem? How can I "transform" Off-line table imported from DB to Off-lina table created directly in JDeveloper?
    Notice 1: I have JDeveloper 10.1.3.2.0
    Notice 2: When imported from DB, I imported table to another schema and another table-name, eg. SCHEMA1.NEW_TABLENAME to SCHEMA2.TABLENAME.

    Hello,
    Discuss with your finance team
    Thanks
    RK

  • Can anybody see what is wrong with this SQL statement?

    Hey guys, just a quick question. Can anybody tell me what is wrong with this line of SQL? I keep getting a syntax error message. I've been trying for ages and I can't see any problem at all!"
    {code}prepStat = connection.prepareStatement("INSERT INTO WeatherHistory (Date, Location, Overview, Temperature, WindDirection, WindSpeed, Pressure) VALUES ('"+date+"','"+location+"','"+temp+"','"+windDir+"','"+windSpd+"','"+pressure+"')");{code}
    All the field names and variables definitely exist so I can't see what the problem is!

    DHD wrote:
    Thanks for the replies.
    I've matched the correct number of column names and variables, but still no luck.
    And how exactly am I misusing Prepared Statements here?As noted above, not according to the code you posted. I didn't just pluck something out of my @ss and throw it out there. There was a reason behind what I said. And, if you mean you changed it, and you still got an exception, then post that exception (completely), and your new code, which is, hopefully, using PreparedStatement, (properly).

  • My iphone 4S only start whit cable plug in and then show battery very low (with red line end) then try to turn on but show searching in operator name command and not connecting and no work properly and when I plug out it turn off!!! what should I do?

    My iphone 4S only start whit cable plug in and then show battery very low (with red line end) then try to turn on but show searching in operator name command and not connecting and no work properly and when I plug out it turn off!!! what should I do?

    I'm afraid you'll have to get the phone serviced, dropping the phone must have damaged additional parts inside the phone.
    But Apple will not service the phone anymore, opening the phone and replacing the battery should only be done by authorized personal, not by users.
    You'll have to look for a 3rd party repair shop and see if they can fix this, sorry.

  • I seem to have multiple problems related or unrelated.  I cannot use Apple Mail for blueyonder and mostly for gmail as both show that the server is off line.  My pop up blocker doesn't work and I am blitzed with pop up windows on nearly every command

    Firstly I am unable to use Apple mail except for hotmail, for blueyonder, gmail or Sky as the server shows as (off line) and I have no idea how to get them on line even though I tell them to go there. 
    My pop up blocker doesn't work and I am blitzed with advertising windows virtually on ever command I make, one seems to be impossible to unsubscribe from. 
    When I am in an email with a web link the web link doesn't work and I get a window saying that I must have a pop up blocker, but if I switch it off it is no different, what does work is switching the "enable Java script off", then when I get to the web site I can't use it until I switch the java script back on.
    I can't do a screen shot either full or partial, when I try it changes the web site that is on screen to another.
    So what have I done that might have caused problems, downloading Yosemite seemed to be the start of the problems.  Since then I have started to install Mackeeper, after checking with a family members who should know, that MacPaw is safe.  I decided that I didn't want to pay the subscription, so went through the uninstall instructions but it comes up as a pop up with considerable regularity.
    My stress levels have gone through the roof with pop ups happening so regularly and not being able to use Apple mail.o can anyone help please?
    S

    Mail troubleshooting - Yosemite
    Troubleshooting sending and receiving email messages
    Troubleshooting sending email messages
    SMTP servers keep going offline

  • When I send messages off-line, they enter in the addressed mailbox with the date and hour which I've clicked "Send later". How could I set up to the real time?

    When I send messages off-line, they enter in the addressed mailbox with the date and hour which I've clicked “Send later”. How could I set up to the real time?

    What you say about Send Later timestamp is correct.
    When you click Send or Send Later a time is set regardless of when you actually sent the Send Later email.
    Please voice your vote at this link:
    https://bugzilla.mozilla.org/show_bug.cgi?id=560901
    You will need to logon/register.

  • Cannot print to canon MP160, dialog box says printer off line, but it is on line, OK printing with IE

    I just installed the Canon MP160 printer. I downloaded the driver software from Canon version 12.1.4.0.(2/8/2008). I can print documents fine from Internet Explorer. When I go to print from Firefox the printer dialog box says the printer is "off line" and I get printer queue error messages. I can also print OK from windows. I have a PC 32 bit with Windows Vista.

    PAHU wrote:
    I think your issue is that even though you have the latest 10.2.0 driver for 10.9, you added the printer using the previous v2.43 PPD. So open Print & Scan, remove the current printer for the iRC3380 and click the plus button to add again. After selecting IP > LPD and entering the IP address, ensure you select "Canon iR C2880/C3380" in the Use menu. Note that there is no mention of UFRII in the model name, as is the case with the previous UFR2 v2.43 driver.
    Thanks for the suggestion.  I did that this morning (see Step 1) and deleted the existing printer before re-adding a new printer and using the newly updated driver and printer description.  Here's what I get:
    You can see my model number is listed in there as is the the proprietary Canon UFRII language.
    Once added, here's what happens next:
    So it would appear, at this point, that the printer is installed and communicating and that I should be good to print.
    Alas, I get the same error message I've been getting.  back to square one.

  • Reconnect with changed off-line media path

    Hi.  I've had my catalogued images on a network drive for several years.  Recently had a major failure and re-built the drive, re-loaded from backup etc. 
    Unfortunately, since the overall requirements for the drive had changed over the years, when re-building I didn't re-create exactly the same folder tree as before.  While all my images are there (30,000+) and in the same relative tree as when they were catalogued, they are one level higher in the overall tree.  As a result, the catalog (PSE7) doesn't marry up with the path to the folders and Organizer displays a red 'off-line' media icon for every single image.  (None of the images is marked as needing to be re-connected since Organizer thinks the problem is the media being off-line rather than it being on-line but with a different path.)
    With this many images, re-cataloguing the images isn't a realistic option.  What can I do to get Organizer to recognise the drive is not off-line media and that the images are all there but on a different path ?
    Thanks for any help.

    To cut a long story short ... the original network drive was a Maxtor in RAID1.  When one of its HDD died, it instantly became unbootable.  Support told me there were no user replaceable drives inside and that as it was out of warranty to throw it away !   What's the point of RAID1 if you have to do that ? 
    Instead I downloaded hacked firmware and rebuilt with two new HDDs, then re-loaded from a USB back-up drive.  Had been running fine again since.  But its NAS functionality is limited compared to modern devices and I wasn't prepared to repeat the exercise when a HDD died again.  So I bought a new NAS, moved the HDDs into it, re-formatted, and re-loaded my Catalog from the USB drive again (ie. not from the re-built drive but from a backup taken before it failed).  Downtime for the whole thing was about a fortnight which I could cope with.  But the new NAS has different reserved share-names (as well as a different volume #) so I couldn't use the original names that are in the Catalog and anyway I wanted to split the data between more than one share to exploit the additional functionality.  So when re-loading I put the images into a folder tree starting at the share-name root rather than one level lower.  I expected to have to do a lot of "re-connect missing file" operations. 
    Instead I found that Organizer doesn't think they are disconnected, but off-line, so doesn't allow you to try re-connecting them.  Starting over with the missing tree level re-inserted isn't an option because I can't create the same root share-names on the new NAS anyway, and its volume # will still be different.  What looks to be needed is a way to get Organizer to accept the folders are online and allow me to re-connect the images, as if everything had happened on a local drive, not a network drive.
    Any ideas gratefully received.

  • When i turn my ipod on i get purple vertical lines and thats all it does, what is wrong with it?

    When i turn my ipod on i get purple vertical lines and thats all it does, what is wrong with it?

    It may have a bad display screen but you could try resetting to see if that helps.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).

  • My phone is always off line and i still can not find my iPhone, what else can i do and on my part?

    My phone is always off line. I still can not find my iPhone, what else can i do and on my part?  Will the  local authorities help me find it if i show them the last location the phone was at cause I can always take matters into my own hands and probably end up in trouble with the law.  What options do I have available?

    In addition to using Find My iPhone to lock or erase your phone, the advice in the following link from Apple support is to change your iCloud password, report it to local law enforcement and to your cellular carrier: http://support.apple.com/kb/HT5668

  • My ipod touch has frozen and i have a screen with blue lines in it what does this mean

    my ipod touch has come up with a white screen with blue lines in it
    what does this mean and how do i fix it the ipod will not turn off can
    someone please help me.

    Do a reset (Hold Sleep/Wake and Home buttons about 10 secs or more till Apple logo appears)

  • I am unable to drag any playlists to my ipod- the circle with red line through it shows up- what is up ?

    I am unable to drag any playlists to my ipod- the circle with red line through it shows up and precludes it from being accepted- what is up ?

    Though I have doubts for success, you might try a SMC reset.  It can do no harm.  Otherwise, barring suggestions from others, the Apple Store or qualified repair facility is the last option.
    http://support.apple.com/kb/HT3964
    Ciao.

  • Hi my iph4s wont turn on or off and seems to be zoomed into a particular part of the screen, loads normally when rebooted the phone. what is wrong with it? and how would i go abouts fixing it?thanks

    hi my
    iph4s wont turn on or off and seems to be zoomed into a particular part of the screen, loads normally when rebooted the phone. what is wrong with it? and how would i go abouts fixing it?
    also recovery mode shows up as a red icon instead of a blue one, not jail broken or had any third party alterations
    thanks

    Reset the PRAM
    Reinstall the operating system from the dvd (you will not loose your data)

Maybe you are looking for

  • What type of internal table should I use based from my scenario...

    Hello Experts, I am currently having a dillema here because I am trying to optimize a certain part of a report where in the internal table contains around 300,000 lines of records. The original internal table is of type standard table. So what the or

  • Order of purchased playlist not changing

    I have an odd problem. Back in December, I purchased 2 songs back to back. One of them was purchased from my phone and then I purchased the other one through ITunes on the computer, and it was downloaded to the phone right away as always. However, wh

  • No matter which page i run... i should get the home page first

    Hi, i have some jspx pages in my application No matter which page i run... i should get the home page first Because there is a chance that the user might remember the url of a certain page and copy paste that one in the browser... in such type of sce

  • AS3 Blending Modes

    Hi all, I'm trying to apply the Screen Blending Mode to a Movie Clip.  I know how to do this using the properties panel if the clip is on the stage, but I need to do this purely with Actionscript 3 and I'm having difficuly finding how to do this prop

  • Cisco ISE change Domain Name

    Our ISE deployment was setup with our internal domain name of csi.corp, when presenting the guest CWA this is the domain name the is presented to the guest.  We would like for this to be out public domain and a valid certificate.  From what I have ga