zoukankan      html  css  js  c++  java
  • oracle一体机中,把部分flash空间划分到griddisk中,当做闪存存储来使用-How to reassign part of your cell flashdisk/flashcache for use in a Flash Disk diskgroup

    1) Drop the current FlashCache (on every CELL):

    第一步删除所有节点的cache

    CellCLI> drop flashcache
    Flash cache exa1cel01_FLASHCACHE successfully dropped

    2) Recreate and resize down the FlashCache to a smaller size as follows (on every CELL):

    设置每个cell节点可用闪存的大小

    CellCLI> create flashcache all size=288g
    Flash cache exa1cel01_FLASHCACHE successfully created
    

    3) Then create Flash GridDisks using the remaining space in the Flash disks cards as follows (on every CELL):

    创建每个节点闪存空间的大小,并命名

    CellCLI> CREATE GRIDDISK ALL FLASHDISK PREFIX='FDOM'
    GridDisk FDOM_FD_00_cell01 successfully created
    GridDisk FDOM_FD_01_cell01 successfully created
    GridDisk FDOM_FD_02_cell01 successfully created
    GridDisk FDOM_FD_03_cell01 successfully created
    GridDisk FDOM_FD_04_cell01 successfully created
    GridDisk FDOM_FD_05_cell01 successfully created
    GridDisk FDOM_FD_06_cell01 successfully created
    GridDisk FDOM_FD_07_cell01 successfully created
    GridDisk FDOM_FD_08_cell01 successfully created
    GridDisk FDOM_FD_09_cell01 successfully created
    GridDisk FDOM_FD_10_cell01 successfully created
    GridDisk FDOM_FD_11_cell01 successfully created
    GridDisk FDOM_FD_12_cell01 successfully created
    GridDisk FDOM_FD_13_cell01 successfully created
    GridDisk FDOM_FD_14_cell01 successfully created
    GridDisk FDOM_FD_15_cell01 successfully created

    CellCLI> LIST GRIDDISK
    FDOM_FD_00_cell01 active
    FDOM_FD_01_cell01 active
    FDOM_FD_02_cell01 active
    FDOM_FD_03_cell01 active
    FDOM_FD_04_cell01 active
    FDOM_FD_05_cell01 active
    FDOM_FD_06_cell01 active
    FDOM_FD_07_cell01 active
    FDOM_FD_08_cell01 active
    FDOM_FD_09_cell01 active
    FDOM_FD_10_cell01 active
    FDOM_FD_11_cell01 active
    FDOM_FD_12_cell01 active
    FDOM_FD_13_cell01 active
    FDOM_FD_14_cell01 active
    FDOM_FD_15_cell01 active

     Then connect to an ASM instance and run:

    SQL> CREATE diskgroup FLASH1 normal redundancy disk 'o/*/FDOM*' attribute 'compatible.rdbms'='11.2.0.0.0', 'compatible.asm'='11.2.0.0.0', 'cell.smart_scan_capable'='TRUE', 'au_size'='4M;
    

     To view diskgroups including this new one:

    SQL> SELECT name, size from v$asm_diskgroup;
    

     

    Of course if you are already on 12.1.x.x.x- you can set the two COMPATIBLE settings to the version you are on.

    Also- if this works for you- we can always drop the diskgroup and extend this same process to all your cell servers.
    The recreate the diskgroup using all the FLASH griddisks


    You can also make the flashcache even smaller. and your FDOM GRIDDISKS even bigger.

    Don't forget that some of the speed of cell servers is the flashcache.

    So reducing the size of this on the cells will cause an overall degredation in your overall cell performance.

  • 相关阅读:
    mysql------Windows7 64bit安装教程------下载mysql
    [org.springframework.context.annotation.ComponentScanBeanDefinitionParser] are only available on JDK 1.5 and higher 问题--MyEclipse设置JDK版本
    码云Gitee上新建项目教程
    远程桌面无法复制粘贴
    Submine Text3格式化HTML/CSS/JS代码
    FTP上传文件,报错java.net.SocketException: Software caused connection abort: recv failed
    在MyEclipse使用Git新建分支,并上传分支---图文教程
    使用Git Bash上传代码到新的分支
    使用Git Bash从Git上下载代码到本地以及上传代码到码云Git
    安装Git Bash图文教程
  • 原文地址:https://www.cnblogs.com/elanjie/p/12760855.html
Copyright © 2011-2022 走看看