oracle asm alias 檔案別名,asmalias

來源:互聯網
上載者:User

oracle asm alias 檔案別名,asmalias

今天在網上看到一個朋友問:為什麼在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也意識到了這問題便也有了別名了。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.