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


Oracle Consulting Support
Oracle Upgrades
Use New Oracle Features
Oracle Replication Support
Oracle Training
Remote Oracle DBA
System Documentation
Oracle Tips
Oracle Performance
 

Free Oracle Tips


 

HTML Text

BC Oracle tuning

Oracle training

Oracle support

Remote Oracle

 

 

   
  Oracle Tips by Burleson

Easy Oracle Automation
Chapter 5 -
Automatic Storage Management

Alias Filenames

ALTER DISKGROUP dskgrp01 DELETE ALIAS ‘+dskgrp01/SALESDB/salesdata_1.dbf’;

To drop files and associated alias names from a disk group, use the DROP FILE clause of the ALTER DISKGROUP command. In the example given above, the alias +dskgrp01/SALESDB/salesdata_1.dbf was dropped, but the file still remains on the system.

To remove the file along with its alias name, issue the following command:

ALTER DISKGROUP dskgrp01 DROP FILE  ‘+dskgrp01/SALESDB/salesdata_1.dbf’;

The system generated alias in the DROP FILE command can also be used.

ALTER DISKGROUP dskgrp01 DROP FILE  ‘‘+dgroup1/qadata/testdb2/sales.325.3’;

The next section will review the process of dropping an ASM disk group.

Dropping a Disk Group

An ASM disk group can be dropped with the DROP DISKGROUP command and, optionally, its files using the INCLUDING CONTENTS clause. The default option for DROP DISKGROUP is EXCLUDING CONTENTS, which prevents dropping a disk group with contents.


The above text is an excerpt from:

Easy Oracle Automation
Oracle10g Automatic Storage, Memory and Diagnostic Features

ISBN 0-9745993-6-0

by Dr. Arun Kumar R.
 


Download your Oracle scripts now:

www.oracle-script.com

The definitive Oracle Script collection for every Oracle professional DBA

  
 

Oracle performance tuning software 
 
 
 
 

Oracle performance tuning book

 

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

 

   

Copyright © 1996 -  2011 by Burleson Enterprises. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.