Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Oracle Db Smart Flash Cache 175588

Oracle Db Smart Flash Cache 175588

Ratings: (0)|Views: 0|Likes:
Published by Palash Sarkar

More info:

Published by: Palash Sarkar on Nov 08, 2012
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





 An Oracle White Paper September 2010
Oracle Database Smart Flash Cache
Oracle White Paper— Oracle Database Smart Flash Cache
Oracle Database 11g Release 2 introduced a new database feature: Database SmartFlash Cache. This feature is available on Solaris and Oracle Enterprise Linux and allowscustomers to increase the effective size of the Oracle database buffer cache withoutadding more main memory to the system. For transaction-based workloads, Oracledatabase blocks are normally loaded into a dedicated shared memory area in mainmemory called the System Global Area (SGA). Database Smart Flash Cache allows thedatabase buffer cache to be expanded beyond the SGA in main memory to a secondlevel cache on flash memory. The Sun Storage F5100 Flash Array and the Sun Flash Accelerator F20 PCIe Card provide a natural fit for Oracle Database Smart Flash Cacheand offer an excellent opportunity for end users to take advantage of this newfunctionality.Online Transaction Processing (OLTP) environments are expected to benefit from thistechnology. It is appropriate for new Oracle Database deployments with IO-intensiveworkloads as well as existing environments with main memory constraints and IO-boundapplications. Benefits can include both increased transaction throughput and improvedapplication response times.Oracle Database environments with the potential to make effective use of this technologyinclude: workloads with repeated short transactions where many users access the samedata, storage systems that exhibit intensive disk read activity, and systems under heavymain memory pressure that prevents more memory being allocated to the SGA buffer cache.This feature is expected to primarily benefit read-mostly and read-only workloads. It isalso supported in Real Application Cluster (RAC) environments – Database Smart FlashCache can be applied to individual RAC nodes as required.
Oracle White Paper— Oracle Database Smart Flash Cache
Oracle’s Database Smart Flash Cache
Over many years the performance of spinning disk-based storage devices has not improvedsignificantly. That situation has changed dramatically thanks to flash-based storage devices. Forinstance, 4 milliseconds can be considered a representative response time for small spinning-disk reads.Flash-based devices can deliver the same read in 0.4 milliseconds, an order of magnitude improvementin the response time. Oracle’s new Database Smart Flash Cache feature leverages this I/Obreakthrough offered by flash-based storage devices.Oracle’s Database Smart Flash Cache functions as a victim cache, which means that it stores clean(unmodified) database blocks that have been evicted from the SGA buffer cache to make room forother blocks. If a block selected for eviction has been modified, the dirty block is first written to disk by one of the database writer (DBWR) processes, then it is written to the Database Smart Flash Cache.Blocks can later be retrieved from the Database Smart Flash Cache and returned to the SGA asrequired. If a block cannot be found either in the SGA buffer cache or the Database Smart FlashCache, it will be retrieved from disk.Note that Exadata V2 Smart Flash Cache functions quite differently – it is a write-through cache thatbrings data into flash cache on read-write disk operations, whereas Database Smart Flash Cache is aread-only cache that brings data into flash cache on buffer cache replacement. Database Smart FlashCache behaves in a similar way to the L2ARC used by the Oracle Solaris Zettabyte File System (ZFS).
How Does It Work?
 The lifecycle of a block looks something like this:
Figure 1: Lifecycle of a data block with Database SmartFlash Cache

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->