Home » RDBMS Server » Server Administration » tablespace maintenance
tablespace maintenance [message #56931] Wed, 07 May 2003 12:52 Go to next message
bill mcbride
Messages: 12
Registered: May 2003
Junior Member
I have installed Oracle9i on a server running Redhat Advanced Server and have the following issue:

I have a .dbf file that is consuming all capacity in the fiesystem it sits in. What is the procedure for moving the file to a different directory and making Oracle aware of this new location? I appreciate any help I can get!
Re: tablespace maintenance [message #56932 is a reply to message #56931] Wed, 07 May 2003 14:14 Go to previous message
sai sreenivas jeedigunta
Messages: 370
Registered: November 2001
Senior Member
Hello here is a sample.

Alter tablespace Temp offline;

alter database rename file 'D:oracleoradataprincetemp01.dbf' to
'D:oracletemp01.dbf';

If required u have to say

Alter database recover datafile <datafile#>;

Else u can say

Alter tablespace temp online;

thats it..
your datafile is moved from 'D:oracleoradataprincetemp01.dbf' to
'D:oracletemp01.dbf';

hope that helps..

sai
Previous Topic: alerts
Next Topic: Oracle 8.1.7 Std v/s Ent editions
Goto Forum:
  


Current Time: Fri Sep 20 02:44:23 CDT 2024