Write-back flash caching is faster than writing to hard disks, a write back flash cache, used to improve write-intensive operations, is useful for running heavy-duty jobs in a database. According to Oracle, depending on the application, write performance to disk can be 20 times faster (measured at input / output operations per second (IOPS)) and can have 10 times more write IOPS than disk.
I’m following the steps below to enable write back for exadata flash cache.
dcli -g cell_group -l root hostname
dcli -g cell_group -l root cellcli -e “list cell attributes flashcachemode”
dcli -g cell_group -l root cellcli -e list griddisk attributes asmdeactivationoutcome, asmmodestatus
dcli -g cell_group -l root cellcli -e list flashcache detail
cellcli -e drop flashcache
cellcli -e list griddisk attributes name,asmmodestatus,asmdeactivationoutcome
cellcli –e alter griddisk all inactive
cellcli -e alter cell shutdown services cellsrv
cellcli -e “alter cell flashCacheMode=writeback”
cellcli -e alter cell startup services cellsrv
cellcli –e alter griddisk all active
cellcli -e list griddisk attributes name, asmmodestatus
cellcli -e create flashcache all
cellcli -e list cell detail | grep flashCacheMode
cellcli -e list griddisk attributes name,asmmodestatus,asmdeactivationoutcome
dcli -g cell_group -l root hostname
dcli -g cell_group -l root cellcli -e “list cell attributes flashcachemode”
dcli -g cell_group -l root cellcli -e list griddisk attributes asmdeactivationoutcome, asmmodestatus
dcli -g cell_group -l root cellcli -e list flashcache detail
cellcli -e drop flashcache
cellcli -e list griddisk attributes name,asmmodestatus,asmdeactivationoutcome
cellcli –e alter griddisk all inactive
cellcli -e alter cell shutdown services cellsrv
cellcli -e “alter cell flashCacheMode=writeback”
cellcli -e alter cell startup services cellsrv
cellcli –e alter griddisk all active
cellcli -e list griddisk attributes name, asmmodestatus
cellcli -e create flashcache all
cellcli -e list cell detail | grep flashCacheMode
flashCacheMode: WriteBack
cellcli -e list griddisk attributes name,asmmodestatus,asmdeactivationoutcome
DATAC1_CD_00_sp000cel01 ONLINE Yes
DATAC1_CD_01_sp000cel01 ONLINE Yes
DATAC1_CD_02_sp000cel01 ONLINE Yes
DATAC1_CD_03_sp000cel01 ONLINE Yes
DATAC1_CD_04_sp000cel01 ONLINE Yes
DATAC1_CD_05_sp000cel01 ONLINE Yes
DATAC1_CD_06_sp000cel01 ONLINE Yes
DATAC1_CD_07_sp000cel01 ONLINE Yes
DATAC1_CD_08_sp000cel01 ONLINE Yes
DATAC1_CD_09_sp000cel01 ONLINE Yes
DATAC1_CD_10_sp000cel01 ONLINE Yes
DATAC1_CD_11_sp000cel01 ONLINE Yes
RECOC1_CD_00_sp000cel01 ONLINE Yes
RECOC1_CD_01_sp000cel01 ONLINE Yes
RECOC1_CD_02_sp000cel01 ONLINE Yes
RECOC1_CD_03_sp000cel01 ONLINE Yes
RECOC1_CD_04_sp000cel01 ONLINE Yes
RECOC1_CD_05_sp000cel01 ONLINE Yes
RECOC1_CD_06_sp000cel01 ONLINE Yes
RECOC1_CD_07_sp000cel01 ONLINE Yes
RECOC1_CD_08_sp000cel01 ONLINE Yes
RECOC1_CD_09_sp000cel01 ONLINE Yes
RECOC1_CD_10_sp000cel01 ONLINE Yes
RECOC1_CD_11_sp000cel01 ONLINE Yes
CellCLI> list cell detail
name: sp000cel01
accessLevelPerm: remoteLoginEnabled
bbuStatus: normal
cellVersion: OSS_19.2.9.0.0_LINUX.X64_191211.1
cpuCount: 40/40
diagHistoryDays: 7
doNotServiceLEDStatus: off
fanCount: 8/8
fanStatus: normal
flashCacheMode: WriteBack
httpsAccess: ALL
id: 1806XC20CL
interconnectCount: 2
interconnect1: ib0
interconnect2: ib1
[root@sp000cel01 ~]# cellcli -e list griddisk attributes name,cachingpolicy,cachedby
DATAC1_CD_00_sp000cel01 default FD_01_ru02
DATAC1_CD_01_sp000cel01 default FD_00_ru02
DATAC1_CD_02_sp000cel01 default FD_02_ru02
DATAC1_CD_03_sp000cel01 default FD_01_ru02
DATAC1_CD_04_sp000cel01 default FD_00_ru02
DATAC1_CD_05_sp000cel01 default FD_03_ru02
DATAC1_CD_06_sp000cel01 default FD_03_ru02
DATAC1_CD_07_sp000cel01 default FD_02_ru02
DATAC1_CD_08_sp000cel01 default FD_01_ru02
DATAC1_CD_09_sp000cel01 default FD_02_ru02
DATAC1_CD_10_sp000cel01 default FD_03_ru02
DATAC1_CD_11_sp000cel01 default FD_00_ru02
RECOC1_CD_00_sp000cel01 none
RECOC1_CD_01_sp000cel01 none
RECOC1_CD_02_sp000cel01 none
RECOC1_CD_03_sp000cel01 none
RECOC1_CD_04_sp000cel01 none
RECOC1_CD_05_sp000cel01 none
RECOC1_CD_06_sp000cel01 none
RECOC1_CD_07_sp000cel01 none
RECOC1_CD_08_sp000cel01 none
RECOC1_CD_09_sp000cel01 none
RECOC1_CD_10_sp000cel01 none
RECOC1_CD_11_sp000cel01 none
Tags: