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

How Are ASM Files Used in the Database?

These commands will create the SALESDATA tablespace and all data files underneath it on dskgrp01.

A template can also be used to specify the redundancy and striping of datafiles in a disk group. Using the example given above, issue the following commands.

ALTER SYSTEM SET DB_CREATE_FILE_DEST = ‘+dskgrp01 (DBAHELPER1) ’;
CREATE TABLESPACE SALESDATA;

When ASM creates a datafile, the default size is 100MB with the auto-extensible feature turned on to allow unlimited size. The SIZE clause can be used to override the default.

To create the index tablespace for the SALESDATA with just one datafile of 800 MB, use the following command:

CREATE TABLESPACE SALESIDX DATAFILE ‘+dskgrp02’ SIZE 800 MB AUTOEXTEND ON;

To create redo log files using ASM files by the same method given above, specify them in the initialization parameter file and use the ADD LOGFILE command. The following example creates a log file with a member in each of the two disk groups, dskgrp03 and dskgrp04.

DB_CREATE_ONLINE_LOG_DEST_1 = ‘+dskgrp03’|
DB_CREATE_ONLINE_LOG_DEST_2 = ‘+dskgrp04’
ALTER DATABASE ADD LOGFILE;


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.