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: .dbf is a valid name for a datafile name?

RE: .dbf is a valid name for a datafile name?

From: Mohammad Rafiq <rafiq9857_at_hotmail.com>
Date: Tue, 26 Mar 2002 11:43:52 -0800
Message-ID: <F001.00433EB3.20020326114352@fatcity.com>


Alter tablespace is a better option wherby you can do it while database is up and only that particular tablespace is offline. OEM does the same thing. You can use it for any tablespace except SYSTEM tablespace which you cannot put offline.

For 'Alter database' you need down time as database cannot be open and it is to be used to change any SYSTEM tbs datafile.

Both does the samething with different situations.

Regards
Rafiq

Reply-To: ORACLE-L_at_fatcity.com
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> Date: Tue, 26 Mar 2002 11:12:25 -0800

Raj,

That looks like it works also. Many ways to skin a cat. I personally have gotten used to using OEM and letting it issue the command.

I think they both would work.

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Tuesday, March 26, 2002 1:44 PM
To: Multiple recipients of list ORACLE-L

Tom,
if he is going to have the tablespace off line with database up and running , shouldn't the command be alter tablespace rename file '< >' to '< >' ;

Cheers,
RS
--- "Mercadante, Thomas F" <NDATFM_at_labor.state.ny.us> wrote:
> Hamid,
>
> .dbf is prefectly valid on all machines, as far as I
> know.
>
> You can rename it - look at the ALTER DATABASE
> RENAME FILE 'filename' to
> 'newfilename' clause to rename the data file. You
> will need to take the
> tablespace offline to do this.
>
> Hope this helps
>
> Tom Mercadante
> Oracle Certified Professional
>
>
> -----Original Message-----
> Sent: Tuesday, March 26, 2002 11:39 AM
> To: Multiple recipients of list ORACLE-L
>
>
> I have added a datafile to a the temp tablespace
> with the name of .dbf only
> is ithis a valid name?, is there any way to rename
> it without shutdown the
> database,if yes HOW?
>
> Thanks
>
>
>
> Hamid Alavi
> Office 818 737-0526
> Cell 818 402-1987
>
> The information contained in this message and any
> attachments is intended
> only for the use of the individual or entity to
> which it is addressed, and
> may contain information that is PRIVILEGED,
> CONFIDENTIAL and exempt from
> disclosure under applicable law. If you have
> received this message in error,
> you are prohibited from copying, distributing, or
> using the information.
> Please contact the sender immediately by return
> e-mail and delete the
> original message from your system.
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author: Hamid Alavi
> INET: hamid.alavi_at_quovadx.com
>
> Fat City Network Services -- (858) 538-5051 FAX:
> (858) 538-5051
> San Diego, California -- Public Internet
> access / Mailing Lists
>



> 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.com
> --
> Author: Mercadante, Thomas F
> INET: NDATFM_at_labor.state.ny.us
>
> Fat City Network Services -- (858) 538-5051 FAX:
> (858) 538-5051
> San Diego, California -- Public Internet
> access / Mailing Lists
>


> 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).


Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards(r) http://movies.yahoo.com/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sakthi , Raj
   INET: rajan_sakthi_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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.com
--
Author: Mercadante, Thomas F
   INET: NDATFM_at_labor.state.ny.us

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).




MOHAMMAD RAFIQ


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mohammad Rafiq
  INET: rafiq9857_at_hotmail.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Mar 26 2002 - 13:43:52 CST

Original text of this message

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