11g Smart Flash Cache

介绍

Oracle数据库11g第2版引入了一个新的数据库功能:Database Smart

Flash Cache。此功能可在Solaris和Oracle企业级Linux和允许

客户,以增加有效的Oracle数据库缓冲区高速缓存的大小,而不

到系统中添加更多的内存。

此功能主要受益读为主和只读的负载。这也支持ORACLE RAC环境 -  Database Smart Flash Cache可以被应用到单个RAC节点。

加入Database Smart Flash Cache 后BLOCK生命周期

设置

Database Smart Flash Cache引入两个初始化参数

DB_FLASH_CACHE_FILE

which identifies the flash device

DB_FLASH_CACHE_SIZE

which specifies the amount of flash storage available to the

The DB_FLASH_CACHE_FILE parameter can point to a raw device (including a logical volume), a

file, or an ASM disk group. Note that for raw devices, the partition being used should start at cylinder 1

rather than cylinder 0 (to avoid the disk's volume label).

例如:

db_flash_cache_file = "/export/home/oracle/lffile_raw”—裸设备

db_flash_cache_file = "+dg1/lffile_asm" –ASM

db_flash_cache_size = 50G

Database Smart Flash Cache一般是SGA 两到10G 不然不会有效果

注意:

1 目前只允许一个单一的闪存设备。出于这个原因,某种形式的卷管理是必要的时候使用SunStorage F5100闪存阵列或Sun闪存加速器F20 PCIe卡。在Sun Storage的基础上的测试F5100闪存阵列的Oracle数据库的自动存储管理(ASM)所示是一个更好的选择比传统的卷管理器

2 Smart Flash Cache在RAC 中不是共享的需要单独设置

3 每个Smart Flash Cache buffer的头部依然是存储在SGA中

请使用浏览器的分享功能分享到微信等