how do you convert a non Oracle Managed files into an Oracle Managed file
How do you convert a non Oracle Managed files into an Oracle Managed file
oracle
Related Question
- Recreate Oracle Database using .BKP files
- Linux – Import all csv files into a table oracle
- Oracle 12c – How to Save Response File in DBCA
- PostgreSQL – Loading Oracle ctl Export File
- How to export large table data into different files in oracle
- How to close log files that are open in OracleServiceORCL after inputting data into Oracle
- Restore non-cdb backup into pdb database
Best Answer
The following parameters enable the Oracle to use OMF(Oracle Managed File).
DB_CREATE_FILE_DEST
- For DatafilesDB_CREATE_ONLINE_LOG_DEST_n
- For redo log files.DB_RECOVERY_FILE_DEST
- For controlfiles.To convert non-OMF datafiles to OMF-
1) Set the
db_create_file_dest
parameter.2)
select file#, name from v$datafile;
--to list all the datafiles and their file number.3)
alter database move datafile 1;
--repeat this for all datafiles.To convert non-OMF redo log files to OMF
1) set the
DB_CREATE_ONLINE_LOG_DEST_n
2) Create new OMF redo log files.
3) Drop the old redo log files.