Using Smart Flash Cache
Using Smart Flash Cache
By Ahmed Baraka
SGA
Buffer Cache: xGB
SGA
Buffer Cache: xGB
SGA
Buffer Cache: xGB
SGA Flash
buffer
Buffer Cache: xGB area
SGA Flash
buffer
Buffer Cache: xGB area
SGA Flash
buffer
Buffer Cache: xGB area
SGA Flash
buffer
Buffer Cache: xGB area
• Restrictions:
- Non-standard block size is not supported
- Size cannot be dynamically changed
- Flash disk file cannot be shared by multiple instances
- Up to 16 file names can be specified
• Multiple devices:
DB_FLASH_CACHE_FILE = '/dev/sdb', '/dev/sdc', '/dev/sdd'
Attribute Description
DEFAULT Object blocks will be written to the flash cache when they are aged out of
main memory. They might be aged out with a standard LRU algorithm.
KEEP Object buffers will be written to the flash cache when they are aged out of
main memory. They are kept in the flash cache as long as it is large enough
NONE Object buffers never get cached into the flash cache
• Example:
CREATE TABLE orders..TABLESPACE tbs_sale STORAGE (FLASH_CACHE KEEP)