Call for Oracle support & training (800) 766-1884
Free Oracle Tips

Home
Corporate Oracle Training
Custom Oracle Training
Oracle New Features Training
Advanced Oracle DBA Classes
Oracle Tuning Courses
Oracle Tips & Tricks
Oracle Training Links
Oracle Training Links
Oracle Training Links

We are top for USA Oracle Training Clients

 

Free Oracle Tips


 
HTML Text AOL

Free Oracle App Server Tips


 
HTML Text

Oracle support

Oracle training

Oracle tuning

Rednecks!

Remote Oracle

Custom Oracle Training

 

   
  Oracle Tips by Burleson

Chapter 6 Oracle Tablespace and File Internals Scripts

TELE_DBA   LOAD_TEST        11    128257     25600    100.00
SYSTEM     PARTITION_TEST   11    153857       260      1.02
SYSTEM     PARTITION_TEST   11    154117       260      1.02
SYSTEM     PARTITION_TEST   11    154377       260      1.02
free space                  11    154637     24564     95.95

Oracle10g Tablespace Renaming

In Oracle10g, you can simply rename a tablespace TBS01 to TBS02 by issuing the following command:

ALTER TABLESPACE tbs01 RENAME TO tbs02;

You must follow the rules when renaming a tablespace:

  • You must set compatibility level to at least 10.0.1.
     

  • You cannot rename the SYSTEM or SYSAUX tablespaces.
     

  • You cannot rename an offline tablespace.
     

  • You cannot rename a tablespace that contains offline datafiles.
     

  • Rename a tablespace does not changes its tablespace identifier.
     

  • Rename a tablespace does not change the name of its datafiles.

Tablespace Rename Benefits

Tablespace rename provides the following benefits:

  • It simplifies the process of tablespace migration within a database.
     

  • It simplifies the process of transport a tablespace between two databases.

Examples

Example 1: Rename a tablespace within a database


The above text is an excerpt from:
 

Mike Ault’s Oracle Internals Monitoring & Tuning Scripts
 

Written by the world's top DBA and author of over 20 Oracle books, Mike Ault shares his secrets for Oracle DBA management scripts.  This handy reference is indispensable for all Oracle professionals who must quickly automate and manage their Oracle databases with scripts.

This stellar book comes complete with an online code depot full of over 200 pre-tested Oracle DBA scripts, and covers all areas of Oracle database administration including data files, tablespace, table and index management scripts.  Based on more than 20 years full-time experience, Mike Ault brings his expertise to the public with this fantastic book.  Your time savings from a single script is worth the price of this great book.

Mike Ault is one of the leading names in Oracle technology.  The author of 20 books and hundreds of articles in national publications, Mike was the first popular Oracle author with his landmark book "Oracle7 Administration and Management".  Mike also wrote several of the "Exam Cram" books, and enjoys a reputation as a leading author and Oracle consultant.

Mike started working with computers in 1979 right out of a stint in the Nuclear Navy. He began working with Oracle in 1990 and has since become a World Renowned Oracle expert (in the words of his publisher anyway!) Mike has written 14 Oracle related books, dozens of articles, and has presented at conferences in Europe and the USA. Mike has two wonderful daughters and is kept out of trouble by his wife of 29 years, Susan.


http://www.rampant-books.com/book_2003_2_ault_internals.htm
 

See the Oracle script collection::
 


 

 
 
 

Oracle performance tuning book

 

 

Oracle performance tuning software

 
Oracle performance tuning software
 
Oracle performance Tuning 10g reference poster
 
Oracle training in Linux commands
 
Oracle training Excel
 
 
 
 

 

email BC:


Copyright © 1996 -  2014 by Burleson Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.