SlideShare a Scribd company logo
Oracle database
Smart Flash Cache
Johan Louwers
Johan.Louwers@capgemini.com
Oracle Database – Smart Flash Cache

Database Smart Flash Cache. This feature is available on Solaris and Oracle
Enterprise Linux and allows customers to increase the effective size of the
Oracle database buffer cache without adding more main memory to the system.
For transaction-based workloads, Oracle database blocks are normally loaded
into a dedicated shared memory area in main memory called the System Global
Area (SGA). Database Smart Flash Cache allows the database buffer cache to
be expanded beyond the SGA in main memory to a second level cache on flash
memory.

Oracle Database and Flash Cache | JAN-2014 | Johan Louwers
Copyright ©2013 Capgemini. All Rights Reserved

2
Oracle Database – SGA Memory Architecture
 SGA (System Global Area)
• Java Pool
• Shared Pool
• Redo Buffer
• Large Pool
• Streams Pool
• Buffer Cache

Oracle Database and Flash Cache | JAN-2014 | Johan Louwers
Copyright ©2013 Capgemini. All Rights Reserved

3
Oracle Database – Flash Cache Lifecycle
A) Storage read
•

When a block is retrieved from the storage it is stored within
the buffer cache of the system global area.

•

When the block is deemed no longer needed it is,
traditionally, removed from the buffer cache and a new call
to the storage is done when it is needed again.

Oracle Database and Flash Cache | JAN-2014 | Johan Louwers
Copyright ©2013 Capgemini. All Rights Reserved

4
Oracle Database – Flash Cache Lifecycle
A) Storage read
•

When a block is retrieved from the storage it is stored within
the buffer cache of the system global area.

•

When the block is deemed no longer needed it is,
traditionally, removed from the buffer cache and a new call
to the storage is done when it is needed again.

B) Flash cache write
•

When using Smart Flash Cache a block is not removed
from the buffer cache however is evicted to the flash cache
instead.

Oracle Database and Flash Cache | JAN-2014 | Johan Louwers
Copyright ©2013 Capgemini. All Rights Reserved

5
Oracle Database – Flash Cache Lifecycle
A) Storage read
•

When a block is retrieved from the storage it is stored within
the buffer cache of the system global area.

•

When the block is deemed no longer needed it
is, traditionally, removed from the buffer cache and a new
call to the storage is done when it is needed again.

B) Flash cache write
•

When using Smart Flash Cache a block is not removed
from the buffer cache however is evicted to the flash cache
instead.

C) Flash cache read
•

When a block is needed again and is not available in the
buffer cache in the SGA it is retrieved (if available) from the
flash cache instead.

•

If a block is not available in the SGA buffer cache AND it is
not available in the flash cache, only then a call to the
storage is done.

Oracle Database and Flash Cache | JAN-2014 | Johan Louwers
Copyright ©2013 Capgemini. All Rights Reserved

6
Oracle Database – Flash Cache Advantages


Advantages
•

By limiting the number of IO calls to the storage the overall
performance of your database is extremely improved.

•

By limiting the load on your shared storage not only this
specific database benefits, all databases and applications
that make use benefit due to a lower overall load on the
shared storage.

Oracle Database and Flash Cache | JAN-2014 | Johan Louwers
Copyright ©2013 Capgemini. All Rights Reserved

7
Oracle Database – Flash Cache Hardware


Available hardware
•

Flash Cache is (in general) offered via one or more PCIe
cards that are seen by the operating system as a separate
device. A growing number of vendors are in the market

Oracle Database and Flash Cache | JAN-2014 | Johan Louwers
Copyright ©2013 Capgemini. All Rights Reserved

8
Oracle Database – Flash Cache Implementation


Operating system considerations
•

Generally speaking ALL PCIe flash cards will work on
almost every popular operating system including MS
Windows, Linux and Solaris.

•

The database functions used to make use of the Oracle
database Flash Cache will ONLY work on Oracle Linux and
Oracle Solaris and not on any other operating system

Oracle Database and Flash Cache | JAN-2014 | Johan Louwers
Copyright ©2013 Capgemini. All Rights Reserved

9
Oracle Database – Flash Cache Implementation


Operating system device
•

Generally a flash card will be showing as a device in /dev/
on your operating system.

•

Example of a EMC VFcache controller card on Linux:

•

Example of a EMC Vfcache card drive representation on
Linux

•

Depending on the make and model of your card you will
have to follow the specific instructions of the vendor to
ensure the card is installed on your system in the correct
manner.

Oracle Database and Flash Cache | JAN-2014 | Johan Louwers
Copyright ©2013 Capgemini. All Rights Reserved

10
Oracle Database – Flash Cache Implementation


Oracle Database implementation
•

DB_FLASH_CACHE_FILE
–

•

Should point to the location(s) of the flash device(s) to be used.

DB_FLASH_CACHE_SIZE
–

Should state the size (per location) that can be used for flash
cache.

db_flash_cache_file = /dev/raw/sda, /dev/raw/sdb, /dev/raw/sdc
db_flash_cache_size = 32G, 32G, 64G

Oracle Database and Flash Cache | JAN-2014 | Johan Louwers
Copyright ©2013 Capgemini. All Rights Reserved

11
About – Johan Louwers

Johan Louwers - Oracle
and Cloud Computing
I am spearheading innovation within
the Capgemini Group by developing
the ‘Capgemini Oracle Run’ hosting
and computing cloud and ensuring our
clients have a completely managed
enterprise IT environment.

Capgemini Expert on:
• Infrastructure Transformation
• Cloud Computing
• Oracle Technology

Contact me:
Johan.Louwers@capgemini.com
@johanlouwers
@CapgeminiOracle
http://johanlouwers.blogspot.com
http://www.capgemini.com/experts/
oracle-and-cloud-computing/johanlouwers

Oracle Database and Flash Cache | JAN-2014 | Johan Louwers
Copyright ©2013 Capgemini. All Rights Reserved

12
About Capgemini
With more than 130,000 people in 44 countries, Capgemini is one
of the world's foremost providers of consulting, technology and
outsourcing services. The Group reported 2012 global revenues
of EUR 10.3 billion.
Together with its clients, Capgemini creates and delivers
business and technology solutions that fit their needs and drive
the
results
they
want.
A
deeply
multicultural
organization, Capgemini has developed its own way of
working, the Collaborative Business Experience™, and draws on
Rightshore®, its worldwide delivery model.
Learn more about us at www.capgemini.com.

www.capgemini.com
The information contained in this presentation is proprietary.
Copyright © 2013 Capgemini. All rights reserved.
Rightshore® is a trademark belonging to Capgemini.

More Related Content

PPTX
Disk and File System Management in Linux
PDF
CONFidence 2017: Hacking embedded with OpenWrt (Vladimir Mitiouchev)
PPTX
Operating system interview question
PDF
Introduction à GStreamer
PPTX
Oracle vm Disaster Recovery Solutions
PDF
Implementing an Open Source Spatiotemporal Search Platform for Spatial Data I...
PPT
Oracle clusterware overview_11g_en
PDF
11g r2 flashcache_Tips
Disk and File System Management in Linux
CONFidence 2017: Hacking embedded with OpenWrt (Vladimir Mitiouchev)
Operating system interview question
Introduction à GStreamer
Oracle vm Disaster Recovery Solutions
Implementing an Open Source Spatiotemporal Search Platform for Spatial Data I...
Oracle clusterware overview_11g_en
11g r2 flashcache_Tips

Similar to Oracle database smart flash cache (20)

PDF
Effective Spark with Alluxio at Strata+Hadoop World San Jose 2017
PDF
Alluxio Use Cases at Strata+Hadoop World Beijing 2016
PPTX
ZFS appliance
PDF
Oracle RAC Internals - The Cache Fusion Edition
PDF
C6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloud
PPTX
Mini-Training: To cache or not to cache
PDF
Oracle Cloud DBaaS
PDF
Oracle Storage a ochrana dat
PDF
7. accelerating performance w_flash-13-10-10
PDF
Best_Practices_for_Managing_Your_Artifactory_Filestore-2.pdf
PPTX
Webinar: Cloud Archiving – Amazon Glacier, Microsoft Azure or Something Else?
PDF
Inter connect2016 yss1841-cloud-storage-options-v4
PDF
Spark Summit EU talk by Jiri Simsa
PDF
Spark Summit EU talk by Jiri Simsa
PPTX
Running Solr in the Cloud at Memory Speed with Alluxio
PDF
Improving Memory Utilization of Spark Jobs Using Alluxio
PPTX
From cache to in-memory data grid. Introduction to Hazelcast.
PDF
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
PDF
Caching and JCache with Greg Luck 18.02.16
PPTX
Alluxio Presentation at Strata San Jose 2016
Effective Spark with Alluxio at Strata+Hadoop World San Jose 2017
Alluxio Use Cases at Strata+Hadoop World Beijing 2016
ZFS appliance
Oracle RAC Internals - The Cache Fusion Edition
C6 oracles storage_strategy_from_databases_to_engineered_systems_to_cloud
Mini-Training: To cache or not to cache
Oracle Cloud DBaaS
Oracle Storage a ochrana dat
7. accelerating performance w_flash-13-10-10
Best_Practices_for_Managing_Your_Artifactory_Filestore-2.pdf
Webinar: Cloud Archiving – Amazon Glacier, Microsoft Azure or Something Else?
Inter connect2016 yss1841-cloud-storage-options-v4
Spark Summit EU talk by Jiri Simsa
Spark Summit EU talk by Jiri Simsa
Running Solr in the Cloud at Memory Speed with Alluxio
Improving Memory Utilization of Spark Jobs Using Alluxio
From cache to in-memory data grid. Introduction to Hazelcast.
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Caching and JCache with Greg Luck 18.02.16
Alluxio Presentation at Strata San Jose 2016
Ad

More from Johan Louwers (20)

PDF
Multi Domain REST API routing for Data Mesh based Data Products
PDF
TClab Dynamic Solar Panel Positioning Systems
PPTX
Oracle Cloud With Azure DevOps Pipelines
PPTX
Oracle Cloud native functions - create application from cli
PPTX
Oracle Labs - research mission & project potfolio
PPTX
Install Redis on Oracle Linux
PPTX
Fn project quick installation guide
PPTX
Oracle python pandas merge DataFrames
PPTX
import data from Oracle Database into Python Pandas Dataframe
PDF
Voice assistants for the insurance industry
PPTX
Enterprise wide publish subscribe with Apache Kafka
PPTX
Industry 4.0 and Oracle Cloud
PPTX
Docker and microservices - moving from a monolith to microservices
PDF
Cloud native applications for banking
PPTX
Conversational retail
PPTX
Oracle Cloudday security
PPTX
Oracle Cloudday - the future of retail
PPTX
Capgemini Oracle Cloud Access Security Broker
PPTX
Microservices in the oracle cloud
PPTX
Oracle cloud, private, public and hybrid
Multi Domain REST API routing for Data Mesh based Data Products
TClab Dynamic Solar Panel Positioning Systems
Oracle Cloud With Azure DevOps Pipelines
Oracle Cloud native functions - create application from cli
Oracle Labs - research mission & project potfolio
Install Redis on Oracle Linux
Fn project quick installation guide
Oracle python pandas merge DataFrames
import data from Oracle Database into Python Pandas Dataframe
Voice assistants for the insurance industry
Enterprise wide publish subscribe with Apache Kafka
Industry 4.0 and Oracle Cloud
Docker and microservices - moving from a monolith to microservices
Cloud native applications for banking
Conversational retail
Oracle Cloudday security
Oracle Cloudday - the future of retail
Capgemini Oracle Cloud Access Security Broker
Microservices in the oracle cloud
Oracle cloud, private, public and hybrid
Ad

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
A Presentation on Artificial Intelligence
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
Teaching material agriculture food technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
A Presentation on Artificial Intelligence
“AI and Expert System Decision Support & Business Intelligence Systems”
Unlocking AI with Model Context Protocol (MCP)
Mobile App Security Testing_ A Comprehensive Guide.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Network Security Unit 5.pdf for BCA BBA.
Encapsulation_ Review paper, used for researhc scholars
20250228 LYD VKU AI Blended-Learning.pptx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Understanding_Digital_Forensics_Presentation.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Empathic Computing: Creating Shared Understanding
NewMind AI Weekly Chronicles - August'25 Week I
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Building Integrated photovoltaic BIPV_UPV.pdf

Oracle database smart flash cache

  • 1. Oracle database Smart Flash Cache Johan Louwers Johan.Louwers@capgemini.com
  • 2. Oracle Database – Smart Flash Cache Database Smart Flash Cache. This feature is available on Solaris and Oracle Enterprise Linux and allows customers to increase the effective size of the Oracle database buffer cache without adding more main memory to the system. For transaction-based workloads, Oracle database blocks are normally loaded into a dedicated shared memory area in main memory called the System Global Area (SGA). Database Smart Flash Cache allows the database buffer cache to be expanded beyond the SGA in main memory to a second level cache on flash memory. Oracle Database and Flash Cache | JAN-2014 | Johan Louwers Copyright ©2013 Capgemini. All Rights Reserved 2
  • 3. Oracle Database – SGA Memory Architecture  SGA (System Global Area) • Java Pool • Shared Pool • Redo Buffer • Large Pool • Streams Pool • Buffer Cache Oracle Database and Flash Cache | JAN-2014 | Johan Louwers Copyright ©2013 Capgemini. All Rights Reserved 3
  • 4. Oracle Database – Flash Cache Lifecycle A) Storage read • When a block is retrieved from the storage it is stored within the buffer cache of the system global area. • When the block is deemed no longer needed it is, traditionally, removed from the buffer cache and a new call to the storage is done when it is needed again. Oracle Database and Flash Cache | JAN-2014 | Johan Louwers Copyright ©2013 Capgemini. All Rights Reserved 4
  • 5. Oracle Database – Flash Cache Lifecycle A) Storage read • When a block is retrieved from the storage it is stored within the buffer cache of the system global area. • When the block is deemed no longer needed it is, traditionally, removed from the buffer cache and a new call to the storage is done when it is needed again. B) Flash cache write • When using Smart Flash Cache a block is not removed from the buffer cache however is evicted to the flash cache instead. Oracle Database and Flash Cache | JAN-2014 | Johan Louwers Copyright ©2013 Capgemini. All Rights Reserved 5
  • 6. Oracle Database – Flash Cache Lifecycle A) Storage read • When a block is retrieved from the storage it is stored within the buffer cache of the system global area. • When the block is deemed no longer needed it is, traditionally, removed from the buffer cache and a new call to the storage is done when it is needed again. B) Flash cache write • When using Smart Flash Cache a block is not removed from the buffer cache however is evicted to the flash cache instead. C) Flash cache read • When a block is needed again and is not available in the buffer cache in the SGA it is retrieved (if available) from the flash cache instead. • If a block is not available in the SGA buffer cache AND it is not available in the flash cache, only then a call to the storage is done. Oracle Database and Flash Cache | JAN-2014 | Johan Louwers Copyright ©2013 Capgemini. All Rights Reserved 6
  • 7. Oracle Database – Flash Cache Advantages  Advantages • By limiting the number of IO calls to the storage the overall performance of your database is extremely improved. • By limiting the load on your shared storage not only this specific database benefits, all databases and applications that make use benefit due to a lower overall load on the shared storage. Oracle Database and Flash Cache | JAN-2014 | Johan Louwers Copyright ©2013 Capgemini. All Rights Reserved 7
  • 8. Oracle Database – Flash Cache Hardware  Available hardware • Flash Cache is (in general) offered via one or more PCIe cards that are seen by the operating system as a separate device. A growing number of vendors are in the market Oracle Database and Flash Cache | JAN-2014 | Johan Louwers Copyright ©2013 Capgemini. All Rights Reserved 8
  • 9. Oracle Database – Flash Cache Implementation  Operating system considerations • Generally speaking ALL PCIe flash cards will work on almost every popular operating system including MS Windows, Linux and Solaris. • The database functions used to make use of the Oracle database Flash Cache will ONLY work on Oracle Linux and Oracle Solaris and not on any other operating system Oracle Database and Flash Cache | JAN-2014 | Johan Louwers Copyright ©2013 Capgemini. All Rights Reserved 9
  • 10. Oracle Database – Flash Cache Implementation  Operating system device • Generally a flash card will be showing as a device in /dev/ on your operating system. • Example of a EMC VFcache controller card on Linux: • Example of a EMC Vfcache card drive representation on Linux • Depending on the make and model of your card you will have to follow the specific instructions of the vendor to ensure the card is installed on your system in the correct manner. Oracle Database and Flash Cache | JAN-2014 | Johan Louwers Copyright ©2013 Capgemini. All Rights Reserved 10
  • 11. Oracle Database – Flash Cache Implementation  Oracle Database implementation • DB_FLASH_CACHE_FILE – • Should point to the location(s) of the flash device(s) to be used. DB_FLASH_CACHE_SIZE – Should state the size (per location) that can be used for flash cache. db_flash_cache_file = /dev/raw/sda, /dev/raw/sdb, /dev/raw/sdc db_flash_cache_size = 32G, 32G, 64G Oracle Database and Flash Cache | JAN-2014 | Johan Louwers Copyright ©2013 Capgemini. All Rights Reserved 11
  • 12. About – Johan Louwers Johan Louwers - Oracle and Cloud Computing I am spearheading innovation within the Capgemini Group by developing the ‘Capgemini Oracle Run’ hosting and computing cloud and ensuring our clients have a completely managed enterprise IT environment. Capgemini Expert on: • Infrastructure Transformation • Cloud Computing • Oracle Technology Contact me: Johan.Louwers@capgemini.com @johanlouwers @CapgeminiOracle http://johanlouwers.blogspot.com http://www.capgemini.com/experts/ oracle-and-cloud-computing/johanlouwers Oracle Database and Flash Cache | JAN-2014 | Johan Louwers Copyright ©2013 Capgemini. All Rights Reserved 12
  • 13. About Capgemini With more than 130,000 people in 44 countries, Capgemini is one of the world's foremost providers of consulting, technology and outsourcing services. The Group reported 2012 global revenues of EUR 10.3 billion. Together with its clients, Capgemini creates and delivers business and technology solutions that fit their needs and drive the results they want. A deeply multicultural organization, Capgemini has developed its own way of working, the Collaborative Business Experience™, and draws on Rightshore®, its worldwide delivery model. Learn more about us at www.capgemini.com. www.capgemini.com The information contained in this presentation is proprietary. Copyright © 2013 Capgemini. All rights reserved. Rightshore® is a trademark belonging to Capgemini.