asm files,asm directories,asm templates
1,asm支援file的型別
[@more@]
file type default templates
-------------------------------------------------------------------------------------
control files controlfile
data files datafile
redo log files onlinelog
archive log files archivelog
temporary files tempfile
data file backup piece backupset
data file incremental backup piece backupset
archive log backup piece backupset
datafile copy datafile
persisent initialization parameter file(spfile) paramemetr
flashback logs flashback
change tracking file changetracking
data pump dumpset dumpset
automatically generated control file backup autobackup
cross-platform transportable data files xtransport
flash file flashfile
oracle asm persistent initialization parameter file(spfile) asmparameterfile
oracle asm persistent initalization parameter file(spfile) backup asmparameterfilebackup
oracle cluster registry file ocrfile
oracle asm dynamic volume manager volumnes n/a
2,asm不支援file的型別
trace files,audit files,alert logs,export files,tar files and core files
3,管理alias
SQL> alter diskgroup data drop alias '+data/asm/datafile/users03.dbf';
Diskgroup altered.
Diskgroup altered.
SQL> alter diskgroup data add alias '+data/asm/users03.dbf' for '+data/asm/datafile/USERS.275.806250997';
Diskgroup altered.
Diskgroup altered.
SQL> alter diskgroup data rename alias '+data/asm/users03.dbf' to '+data/asm/user03.dbf_alias';
Diskgroup altered.
Diskgroup altered.
SQL> alter diskgroup data drop file '+data/asm/user03.dbf_alias';
Diskgroup altered.
Diskgroup altered.
4,管理directory
SQL> alter diskgroup data add directory '+data/alias';
Diskgroup altered.
Diskgroup altered.
SQL> alter diskgroup data rename directory '+data/alias' to '+data/alias_backup';
Diskgroup altered.
Diskgroup altered.
SQL> alter diskgroup data drop directory '+data/alias_backup';
Diskgroup altered.
Diskgroup altered.
5,管理templates
When adding a template to a disk group, the attributes are optional. If no redundancy
attribute is specified, then the value defaults to MIRROR for a normal redundancy disk
group, HIGH for a high redundancy disk group, and UNPROTECTED for an external
redundancy disk group. If you do not specify a striping attribute, then the value
defaults to COARSE. If you do not specify a value for the primary or mirror region
attributes, then the value defaults to COLD and MIRRORCOLD respectively
SQL> alter diskgroup data add template reliable attribute(unprotected);
Diskgroup altered.
Diskgroup altered.
SQL> alter diskgroup data modify template reliable attribute (coarse);
Diskgroup altered.
Diskgroup altered.
SQL> alter diskgroup data drop template reliable;
Diskgroup altered.
Diskgroup altered.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-1060188/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【ASM】如何建立ASM磁碟ASM
- ASM之建立ASM磁碟ASM
- 【ASM學習】ASM 管理ASM
- 【ASM學習】ASM文件ASM
- How to move ASM database files from one diskgroup to anotherASMDatabase
- ASM之建立ASM例項及ASM資料庫ASM資料庫
- 【ASM】ASM基礎知識ASM
- ASM之建立ASM例項ASM
- ASM之ASM相關概念ASM
- ASMASM
- How to Copy ASM Files Across Nodes [ID 1147859.1]ASMROS
- 【ORACLE ASM】ASM 支援工具簡介OracleASM
- asm-windows下安裝asmASMWindows
- rman copy asm datafile(rename asm datafile)ASM
- ASM 翻譯系列第八彈:ASM Internal ASM file extent mapASM
- ASM 翻譯系列第十彈:ASM Internal ASM DISK headerASMHeader
- 利用RMAN將非ASM檔案移動到ASM裡 - [ASM]ASM
- ASM 翻譯系列第三十二彈:ASM INTERNAL Find block in ASMASMBloC
- Identify If A Disk/Part Is Still Used By ASM,Used by ASM Or Used by ASM_603210.1IDEASM
- drop asm disk、撤銷drop asm diskASM
- ASM: Device is already labeled for ASM diskASMdev
- 【ASM學習】ASM引數說明ASM
- 【ASM學習】ASM基礎知識ASM
- ASM學習筆記_ASM安裝ASM筆記
- ASM Spfile Is Not Used when ASM Instance StartsASM
- oracle asmOracleASM
- ASM (4)ASM
- ASM (3)ASM
- ASM (2)ASM
- ASM (6)ASM
- ASM (5)ASM
- ASM管理ASM
- oracle ASM中ASM_POWER_LIMIT引數OracleASMMIT
- ASM常用基礎管理命令[ASM基礎]ASM
- 建立ASM例項及ASM資料庫ASM資料庫
- 【ASM】ASMCMD chtmpl 更改ASM 模版的屬性ASM
- ASM FTP 功能複製 ASM資料庫ASMFTP資料庫
- 學習ASM技術(八)--ASM操作原理ASM