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?

The next topic to explore is how to create a database using ASM files.

Using ASM to Create a Database

Oracle recommends the use of the Database Configuration Assistant (DBCA) to create a new database. However, one can be created manually with minimal user intervention using ASM files as the following example shows.

Use the following initialization parameter settings in init.ora file:

DB_CREATE_FILE_DEST = ‘+dskgrp01’
DB_RECOVERY_FILE_DEST = ‘+dskgrp02’
CONTROL_FILES = ‘+dskgrp03’
DB_CREATE_ONLINE_LOG_DEST_1 = ‘+dskgrp04’
DB_CREATE_ONLINE_LOG_DEST_2 = ‘+dskgrp05’
LOG_ARCHIVE_DEST = ‘+dskgrp02’

Issue the following command at the SQL prompt to create a new database:

CREATE DATABASE QASALES ;

This command will create a database with SYSTEM and SYSAUX tablespaces in the disk group dskgrp01. It will create a multiplexed online redo with two log groups with one member of each group in dskgrp04 and dskgrp05. The control files will be created in dskgrp03 and dskgrp01. An undo tablespace will be created in dskgrp01, if automatic undo is enabled. Since log_archive_format is set to a disk group, log_archive_format is ignored and unique filenames for archive logs in dskgrp02 are generated.


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.