-
Dropping a tablespace
We have a tablespace with three datafiles. It has no segments. I want to drop it and reclaim the disk space. Here is the procedure I will use.
1. Take the tablespace offline.
2. drop tablespace
3. Use the rm command and drop the datafiles.
Is this good enough? Thanks.
-
That's ok
Jim
Oracle Certified Professional
"Build your reputation by helping other people build theirs."
"Sarcasm may be the lowest form of wit but its still funny"
Click HERE to vist my website!
-
-
Re: Dropping a tablespace
Originally posted by pcotten
We have a tablespace with three datafiles. It has no segments. I want to drop it and reclaim the disk space. Here is the procedure I will use.
1. Take the tablespace offline.
2. drop tablespace
3. Use the rm command and drop the datafiles.
Is this good enough? Thanks.
No need for step 1.
-nagarjuna
-
Beginning On 9i you can remove the datafiles on the DROP TABLESPACE statement with the clause INCLUDING CONTENTS AND DATAFILES.
Just one step needed.
An ounce of action is worth a ton of theory.
—Friedrich Engels
-
Originally posted by adrianomp
Beginning On 9i you can remove the datafiles on the DROP TABLESPACE statement with the clause INCLUDING CONTENTS AND DATAFILES.
Just one step needed.
Isnt it only for OMF?? I am not sure. Just asking. I am still an 8i DBA.
-nagarjuna
-
Originally posted by nagarjuna
Isnt it only for OMF?? I am not sure. Just asking. I am still an 8i DBA.
You can delete Non-OMF datafiles as well with INCLUDING CONTENTS AND DATAFILES clause.
Last edited by SANJAY_G; 03-21-2003 at 01:43 AM.
Sanjay G.
Oracle Certified Professional 8i, 9i.
"The degree of normality in a database is inversely proportional to that of its DBA"
-
Originally posted by SANJAY_G
You can delete Non-OMF datafiles as well with INCLUDING CONTENTS AND DATAFILES clause.
OIC. Thank you. :-)
-nagarjuna
-
Re: Dropping a tablespace
Originally posted by pcotten
We have a tablespace with three datafiles. It has no segments. I want to drop it and reclaim the disk space. Here is the procedure I will use.
1. Take the tablespace offline.
2. drop tablespace
3. Use the rm command and drop the datafiles.
Is this good enough? Thanks.
No need to take the tablespase offline.
u can drop it rightaway
Cheers
Murali
-
Originally posted by nagarjuna
Isnt it only for OMF?? I am not sure. Just asking. I am still an 8i DBA.
No. But if they are OMF, then DROP TABLESPACE will also remove the datafiles.
Oracle Certified Master
Oracle Certified Professional 6i,8i,9i,10g,11g,12c
email: ocp_9i@yahoo.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|