Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: alter tablespace offline

RE: alter tablespace offline

From: Jeroen van Sluisdam <jeroen.van.sluisdam_at_vrijuit.nl>
Date: Tue, 16 Dec 2003 05:24:25 -0800
Message-ID: <F001.005DA157.20031216052425@fatcity.com>


Hi

Exact steps are:

1) alter tablespace tools offline
2) shutdown immediate
3) move the file on os-level
4) startup mount this failed
5) Here I wanted to exec the rename 

I know it's weird but this really happened and When I tried this with a new testdb again and used alter tablespace name Offline normal it worked.

Completed: alter tablespace users offline Sat Dec 13 15:46:33 2003
alter tablespace tools offline
Completed: alter tablespace tools offline Sat Dec 13 15:55:28 2003
Shutting down instance: further logons disabled Shutting down instance (immediate)

-----Oorspronkelijk bericht-----
Van: Rachel Carmichael [mailto:wisernet100_at_yahoo.com] Verzonden: Tuesday, December 16, 2003 14:04 Aan: Multiple recipients of list ORACLE-L Onderwerp: RE: alter tablespace offline

did you also rename the datafile within the database? the error message on the line starting with ORA-01110 tells you that the database thinks the file should be at /migratie_deca/DECA/DATA. If that is the original location, that should tell you that as far as Oracle is concerned the datafile is in the original location. You have to tell Oracle where you moved the file, the database is smart but not omniscient.

in addition to the "alter tablespace offline" (and no, I've NEVER had to do this with the "normal" clause) you need to do an

alter database rename file '<old file name including path>' to '<new file name including path>' before you do the mount


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Rachel Carmichael
  INET: wisernet100_at_yahoo.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jeroen van Sluisdam
  INET: jeroen.van.sluisdam_at_vrijuit.nl

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Dec 16 2003 - 07:24:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US