OMF - Oracle Managed Files

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

OMF – Oracle Managed Files

Advantages of OMF

• Makes life of DBA easy


• Oracle database files (data, index, temp, undo, redo,
control) are automatically managed - means created and
deleted in certain directories

How to setup OMF

Setup the following parameters in init.ora


• DB_CREATE_FILE_DESTINATION=c:\mydata
( for data, index, temp, undo tablespaces )
• DB_CREATE_ONLINE_LOG_DEST_1=c:\mydir1
DB_CREATE_ONLINE_LOG_DEST_2=c:\mydir2
DB_CREATE_ONLINE_LOG_DEST_3=c:\mydir3
( for control file and redo file )

File naming convention


Example

• System tablespace = 100 MB /ora1/ora_system_001.dbf


• Undo tablespace = 200MB /ora1/ora_undo_tbs_001.dbf
• Temporary tablespace = 200MB /ora1/ora_temp_001.tmp
• Control Files = /ora1/ora_001.ctl & /ora2/ora_002.ctl
• Redo files = 20MB /ora1/ora_1_001.log &
/ora2/ora_2_001.log
• WKW_INDEX = 100M /ora3/ora_wkw_index_001.dbf

Oracle managed files can coexist with DBA managed files

You might also like