oracle asm alias 文件别名

今天在网上看到一个朋友问:为什么在ASM存储管理的方式下明明只设置了log_archive_dest_1来指定归档的路径,却在ASM下发现了两处归档日志文件?(未开闪回)

我查了一些资料,认为是这样的:

Every file created in ASM gets a system-generated filename, otherwise known as a fully qualified filename (FQFN). The fully qualified filename represents a complete path name in the ASM file system. An example of a fully qualified filename is:

+dgroup2/sample/controlfile/Current.256.541956473

You can use the fully qualified filename to reference (read or retrieve) an ASM file. ASM generates a fully qualified filename upon any request to create a file. A creation request cannot specify a fully qualified filename. Instead, it uses a simpler syntax to specify a file, such as an alias or just a disk group name. ASM then creates the file, placing it in the correct ASM “path” according to file type, and then assigns an appropriate fully qualified filename. If you specify an alias in the creation request, ASM also creates the alias so that it references the fully qualified filename.

最后ls -l 看了下ASM里这两个目录下的归档日志文件后发现,确实就是这种情况:

Oracle不希望我们改这些文件的路径,但我们热衷于做这个,而且ORacle自动产生的文件名不方便人为记忆并管理,估计oracle也意识到了这问题便也有了别名了。

时间: 2024-08-06 20:07:19

oracle asm alias 文件别名的相关文章

ORACLE ASM - alias directory

oracle 元数据的第2个au的第6个数据块上保存了alias directory的au指针,可以通过x$kffxp查询, SELECT         number_kffxp file#,        disk_kffxp disk#,        AU_KFFXP AU_num,        SIZE_KFFXP as "nummber of au"   FROM x$kffxp  WHERE group_kffxp = 1    AND disk_kffxp <&

Oracle ASM 详解

ASM:Automatic Storage Management, 是Oracle 主推的一种面向Oracle的存储解决方案, ASM 和 RDBMS 非常相似,ASM 也是由实例和文件组成, 也可以通过sqlplus 工具来维护. ASM 实例的创建和删除也可以用DBCA 这个命令来操作.在dbca 的第一个界面选择配置自动存储管理就可以了. ASM 实例需要CSS 进程, 如果是非RAC 环境, 在启动ASM 实例之前会提示用脚本 $ORACLE_HOME/bin/localconfig a

ORACLE ASM 日常管理

ASM概述 Automatic Storage Management(ASM)是Oracle数据库10g中一个非常出色的新特性,它以平台无关的方式提供了文件系统.逻辑卷管理器以及软件RAID等服务.ASM可以条带化和镜像磁盘,从而实现了在数据库被加载的情况下添加或移除磁盘以及自动平衡 I/O 以删除"热点". ASM中的文件既可以由数据库自动创建和命名(通过使用 Oracle 管理文件特性),也可以由 DBA 手动创建和命名.由于操作系统无法访问 ASM 中存储的文件,因此对使用ASM

【翻译自mos文章】对于每一个文件的 file.id and file.incarnation number,重命名文件别名

对于每一个文件的 file.id and file.incarnation number,重命名文件别名 参考原文: Rename Alias of Datafile as Per file.id and file.incarnation number (Doc ID 1494661.1) 适用于: Oracle Database - Enterprise Edition - Version 11.2.0.0 and later Information in this document appl

【翻译自mos文章】对于每个文件的 file.id and file.incarnation number,重命名文件别名

对于每个文件的 file.id and file.incarnation number,重命名文件别名 參考原文: Rename Alias of Datafile as Per file.id and file.incarnation number (Doc ID 1494661.1) 适用于: Oracle Database - Enterprise Edition - Version 11.2.0.0 and later Information in this document appli

使用裸设备配置Oracle ASM实例一例

1.查看当前磁盘 [[email protected] u01]# fdisk -l Disk /dev/sda: 42.9 GB, 42949672960 bytes 255 heads, 63 sectors/track, 5221 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 4698 37736653+ 83 L

Oracle bigfile 大文件表空间

Database 是由一个或多个被称为表空间(tablespace)的逻辑存储单位构成.表空间内的逻辑存储单位为段(segment),段又可以继续划分为数据扩展(extent).而数据扩展是由一组连续的数据块(datablock)构成. 大文件表空间 在Oracle中用户可以创建大文件表空间(bigfile tablespace).这样Oracle数据库使用的表空间(tablespace)可以由一个单一的大文件构成,而不是若干个小数据文件.这使Oracle可以发挥64位系统的能力,创建.管理超大

【翻译自mos文章】设置了RemoveIPC=yes 的RHEL7.2上 会crash掉Oracle asm 实例和Oracle database实例

设置了RemoveIPC=yes 的RHEL7.2  会crash掉Oracle asm 实例和Oracle database实例,该问题也会在使用Shared Memory Segment (SHM) or Semaphores (SEM)的应用程序中发生. 来源于: ALERT: Setting RemoveIPC=yes on Redhat 7.2 Crashes ASM and Database Instances as Well as Any Application That Uses

Oracle ASM学习之(1)--ASM Instance管理

Oracle ASM学习之(1)--ASM Instance管理    About Oracle ASM Instances An Oracle ASM instance is built on the same technology as an Oracle Database instance. An Oracle ASM instance has a System Global Area (SGA) and background processes that are similar to t