亞寵展、全球寵物產業風向標——亞洲寵物展覽會深度解析
1068
2025-04-01
參考:Doc ID 470209.1
#The present document shows an example to resize the ASM disks on 10.2 version
2,關閉數據庫
3,dismount磁盤組
SQL> alter diskgroup
4,硬件層面disk/LUN? resize
5,mount磁盤組
SQL> alter diskgroup
6,重新resize磁盤大小
SQL>?ALTER?DISKGROUP?
SQL>?ALTER?DISKGROUP?DATA?RESIZE?DISK?DISK_A1?SIZE?5000?M?REBALANCE?POWER?11;
命令參考:
Resizing Disks in Disk Groups The RESIZE clause of ALTER DISKGROUP enables you to resize disks in a disk group. When resizing disks in a disk group, all the disks must be of equal size. If you do not specify a new size in the SIZE clause, then Oracle ASM uses the size of the disks as returned by the operating system. The new size is written to the Oracle ASM disk header and if the size is increasing, then the new space is immediately available for allocation. If the size is decreasing, rebalancing must relocate file extents beyond the new size limit to available space below the limit. If the rebalance operation can successfully relocate all extents, then the new size is made permanent, otherwise the rebalance fails. The following example resizes all of the disks in the disk group data1. If the new size is greater than the capacity of a disk, then the statement fails. Example 4-6 Resizing disks in disk groups ALTER DISKGROUP data1 RESIZE ALL SIZE 100G;
版權聲明:本文內容由網絡用戶投稿,版權歸原作者所有,本站不擁有其著作權,亦不承擔相應法律責任。如果您發現本站中有涉嫌抄襲或描述失實的內容,請聯系我們jiasou666@gmail.com 處理,核實后本網站將在24小時內刪除侵權內容。
版權聲明:本文內容由網絡用戶投稿,版權歸原作者所有,本站不擁有其著作權,亦不承擔相應法律責任。如果您發現本站中有涉嫌抄襲或描述失實的內容,請聯系我們jiasou666@gmail.com 處理,核實后本網站將在24小時內刪除侵權內容。