Oracle OMF--------Tablespace creation is a snap with Oracle Managed Files
2009-06-17 14:26
651 查看
Oracle9iintroducesanewfeaturethatsimplifiestablespacecreation.Thisnewfeature,OracleManagedFiles(OMF),makeslifeeasierforOracleDBAsbyremovingthetediumfromcreatingandmanagingOracledatafiles. BeforeOMF,OracleDBAshadtotakeseveralmanualstepsbeforeaddingadatafile.Asimpleexampleofthesestepsfollows,butnotethatyoumustknowthelocationofthedirectorythatcontainstheOracledatafiles: createtablespace users_02 add 'c:/oracle/oradata/diogenes/users02.dbf' size 20m; Inthisexample,youmustknowthefollowinginformationtocreateanewtablespace: Theproperfilelocation Theproperfilename Theproperfilesize PriortoOMF,youneededtoexecutequeriestogetthefilenamesandfilelocations,interrogatingthedba_data_filesviewtofindtheappropriatelocationforanewdatafile,asshowninListingA..
Viewingtablespaceinformationwasalsocumbersome.Youhadtowriteaquerytojoindba_tablespaceswithdba_data_filestogetthefilesizes,asshowninListingB.
EasierOraclefilemanagement—AllfilesareplacedintotheproperOSdirectory. Easierthird-partyapplicationintegration—Third-partyappsdon’thavetobeawareofOS-specificenvironments. ReductionofOraclefilemanagementerrors—Noriskofhumanerror. EnforcementofOptimalFlexibleArchitecture(OFA)standards—OMFwillcomplywiththeOFAstandardsforfilenameandfilelocations. Defaultfilesizes—OMFallowsfilestohavestandard,uniformsizes. |
|
OracleenhancedtheOracle9ialertlogtodisplaymessagesabouttablespacecreationanddatafilecreation.Toseethealertlog,youmustgototheBackground_dump_destinationdirectory.YougetthelocationofthisdirectorybyissuingthecommandinListingF.
Oracle9ialsoletsyouuseOMFwithonlineredologfiles.Thisfeatureisespeciallyusefulbecauseitremovesthetediumfrommultiplexingandsizingtheredologs.Youdothisbysettingthedb_create_online_log_dest_1throughdb_create_online_log_dest_5parameters.Theone-through-fivenotationallowsyoutospecifyuptofivemultiplexedcopiesoftheonlineredologfile. Becausetheredologsareallocatedatdatabasecreationtime,theseparametersmustbesetintheinit.orafilepriortocreatingthedatabase.Whenmultiplexing,youalsoneedtosegregatetheonlineredologsontoseparatedisksasprotectionagainstdiskfailure.InthisUNIXexample,themountpointsu01,u02,u03,andu04allmaptodifferentdiskspindles. UsingOMFfortheredologsrequiresseveralparameters.Here’sasampleinit.orafileforOracle9iOMFforredologs: db_create_online_log_dest_1=‘/u01/oracle/oradata/diogenes’ db_create_online_log_dest_2=‘/u02/oracle/oradata/diogenes’ db_create_online_log_dest_3=‘/u03/oracle/oradata/diogenes’ db_create_online_log_dest_4=‘/u04/oracle/oradata/diogenes’ UsingOMFforredologsgreatlysimplifiesthesyntaxyouneedtocreateanewdatabase.BeforeOMF,youhadtospecifythesizeandlocationoftheredologsatdatabasecreationtime,asshowninListingH.
OMFisquitepopularinlargeOracle9ishopsthathandlehundredsoftablespacesanddatafiles.OMFisalsopopularforvendor-basedapplicationsbecausevendorinstallscriptscanbesenttoallOraclecustomers,nomatterwhattheirspecificfileconfiguration.ThedownsidetoOMFisthatseasoneddatabaseprofessionalsdon’tliketouseuniformfilesizesandobtusefilenames. |
相关文章推荐
- Duplication with Oracle Managed Files(OMF)
- ORACLE-基础六(TABLESPACE AND DataFiles)
- Oracle TTS ORA-39322: Cannot use transportable tablespace with different timezone version 说明
- Oracle OMF(Oracle Managed Files ) 说明
- Oracle TTS ORA-39322: Cannot use transportable tablespace with different timezone version 说明
- Oracle Managed Files,OMF
- Oracle OMF(Oracle Managed Files ) 说明
- Oracle TTS ORA-39322: Cannot use transportable tablespace with different timezone version 说明
- oracle-Temporary Tablespace is Empty解决办法-009
- 51 You have not configured Oracle Managed Files (OMF) in your database. You do not want to scan the
- Rename Oracle Managed File (OMF) datafiles in ASM(ZT)
- Oracle TTS ORA-39322: Cannot use transportable tablespace with different timezone version 说明
- Oracle Tablespace & Datafiles--Oracle表空间--应用实例(2)
- Oracle OMF(Oracle Managed Files ) 说明
- Oracle TTS ORA-39322: Cannot use transportable tablespace with different timezone version 说明
- Oracle OMF(Oracle Managed Files ) 说明
- Oracle Managed Files OMF概述
- Oracle TTS ORA-39322: Cannot use transportable tablespace with different timezone version 说明
- Oracle Tablespace & Datafiles--Oracle表空间--应用实例(1)
- Oracle Study Note : Tablespace and Data Files