SlideShare una empresa de Scribd logo
1 de 11
How Buffer Cache
Working in Oracle?
Buffer Cache
Management
A buffer cache is a portion of memory used to
temporarily hold data from storage devices for
quicker access.
It stores frequently accessed data to improve
the performance of reading and writing data.
It includes free buffers, pinned buffers, dirty
buffers, and the least recent use chain.
INTRODUCTION TO BUFFER CACHE IN ORACLE
Definition of buffer cache
The buffer cache helps improve performance by reducing the need to constantly read from and
write to the disk.
Free buffers are available for new data, pinned buffers are currently being used and cannot be
replaced, and dirty buffers need to be written back to the disk.
Checkpoints ensure that all modified data is written to the storage device, maintaining data
integrity.
INTRODUCTION TO BUFFER CACHE IN
ORACLE
Importance of buffer cache in database management
Free buffers are available for
new data to be read into.
Pinned buffers are currently
being used and cannot be
replaced.
Dirty buffers have been
modified and need to be
written back to the disk.
INTRODUCTION TO BUFFER CACHE IN ORACLE
Overview of different types of buffers (free, pinned,
dirty)
The least recent use chain tracks the order in
which buffers are accessed.
It identifies the least recently used buffer for
replacement when needed.
This optimises memory usage and
performance in the system.
BUFFER REPLACEMENT AND MANAGEMENT
Explanation of least recent
use chain
Buffer replacement is
managed through free,
pinned, and dirty buffers.
The system looks for free
buffers first and then
considers replacing from
the least recent use chain.
Periodic checkpoints ensure
that dirty buffers are written
to disk to free up space for
new data.
BUFFER REPLACEMENT AND
MANAGEMENT
How buffer replacement is managed
Buffer Replacement and Management
Impact of buffer replacement on system performance
Buffer replacement can
significantly affect data
retrieval and processing
speed and efficiency.
A large number of dirty
buffers during a
checkpoint can slow
down system
performance.
The use of the least
recent use chain for
buffer replacement
directly impacts overall
system performance.
To ensure all modified (dirty) buffers are written to disk
Reducing the risk of data loss in the event of a system failure
Maintaining data integrity and consistency
Freeing up dirty buffers for reuse
CHECKPOINT MECHANISM
Purpose of checkpoint in buffer cache
Using the checkpoint process to flush all dirty buffers to disk
Preventing overwriting of modified buffers before writing to disk
Utilizing pinned buffers to safeguard modified buffers
Reducing the number of dirty buffers for efficient recovery
CHECKPOINT
MECHANISM
Ensuring all modified buffers are written to
disk
Reducing the amount of work needed for recovery after a system failure
Minimizing the number of dirty buffers for efficient recovery
Maintaining database consistency by writing data from buffer cache to database
files
Facilitating restoration of the database to a consistent state after a system failure
CHECKPOINT MECHANISM
Effect of checkpoint on database consistency and
recovery
Build Strong Career Using Kendba Academy
https://www.kendba.com & https://academy.kendba.com

Más contenido relacionado

Similar a Oracle Database Buffer Cache Management.pptx

Buffer Management in DBMS systemsss.pptx
Buffer Management in DBMS systemsss.pptxBuffer Management in DBMS systemsss.pptx
Buffer Management in DBMS systemsss.pptx
HemaSenthil5
 
Guide tohelpyouunderstandvariousmethodsofsystemcopy
Guide tohelpyouunderstandvariousmethodsofsystemcopyGuide tohelpyouunderstandvariousmethodsofsystemcopy
Guide tohelpyouunderstandvariousmethodsofsystemcopy
umang1982
 
Progress OE performance management
Progress OE performance managementProgress OE performance management
Progress OE performance management
Yassine MOALLA
 
Deploying PP in a virtualized environment
Deploying PP in a virtualized environmentDeploying PP in a virtualized environment
Deploying PP in a virtualized environment
Ambareesh Kulkarni
 
Oracle ocp backup exam
Oracle ocp backup examOracle ocp backup exam
Oracle ocp backup exam
sriram raj
 
Oracle OCP Backup Exam
Oracle OCP Backup ExamOracle OCP Backup Exam
Oracle OCP Backup Exam
Inprise Group
 

Similar a Oracle Database Buffer Cache Management.pptx (20)

Buffer Management in DBMS systemsss.pptx
Buffer Management in DBMS systemsss.pptxBuffer Management in DBMS systemsss.pptx
Buffer Management in DBMS systemsss.pptx
 
Performance Tuning
Performance TuningPerformance Tuning
Performance Tuning
 
Exchange Server 2013 High Availability - Site Resilience
Exchange Server 2013 High Availability - Site ResilienceExchange Server 2013 High Availability - Site Resilience
Exchange Server 2013 High Availability - Site Resilience
 
Linux%20 memory%20management
Linux%20 memory%20managementLinux%20 memory%20management
Linux%20 memory%20management
 
Guide tohelpyouunderstandvariousmethodsofsystemcopy
Guide tohelpyouunderstandvariousmethodsofsystemcopyGuide tohelpyouunderstandvariousmethodsofsystemcopy
Guide tohelpyouunderstandvariousmethodsofsystemcopy
 
Progress OE performance management
Progress OE performance managementProgress OE performance management
Progress OE performance management
 
Progress Openedge performance management
Progress Openedge performance managementProgress Openedge performance management
Progress Openedge performance management
 
PostGreSQL Performance Tuning
PostGreSQL Performance TuningPostGreSQL Performance Tuning
PostGreSQL Performance Tuning
 
Mass storage systemsos
Mass storage systemsosMass storage systemsos
Mass storage systemsos
 
Oracle architecture
Oracle architectureOracle architecture
Oracle architecture
 
Buffer cache unix ppt Mrs.Sowmya Jyothi
Buffer cache unix ppt Mrs.Sowmya JyothiBuffer cache unix ppt Mrs.Sowmya Jyothi
Buffer cache unix ppt Mrs.Sowmya Jyothi
 
Deploying PP in a virtualized environment
Deploying PP in a virtualized environmentDeploying PP in a virtualized environment
Deploying PP in a virtualized environment
 
VLDB Administration Strategies
VLDB Administration StrategiesVLDB Administration Strategies
VLDB Administration Strategies
 
Memory comp
Memory compMemory comp
Memory comp
 
Oracle ocp backup exam
Oracle ocp backup examOracle ocp backup exam
Oracle ocp backup exam
 
Oracle OCP Backup Exam
Oracle OCP Backup ExamOracle OCP Backup Exam
Oracle OCP Backup Exam
 
Rdbms
Rdbms Rdbms
Rdbms
 
Managing Memory & Locks - Series 1 Memory Management
Managing  Memory & Locks - Series 1 Memory ManagementManaging  Memory & Locks - Series 1 Memory Management
Managing Memory & Locks - Series 1 Memory Management
 
Multiprocessor Systems
Multiprocessor SystemsMultiprocessor Systems
Multiprocessor Systems
 
kerch04.ppt
kerch04.pptkerch04.ppt
kerch04.ppt
 

Más de Remote DBA Services

Más de Remote DBA Services (10)

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
do's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Jobdo's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Job
 
logical backup of Oracle Datapump-detailed.pptx
logical backup of Oracle Datapump-detailed.pptxlogical backup of Oracle Datapump-detailed.pptx
logical backup of Oracle Datapump-detailed.pptx
 
oracle 23c new features for developer and dba
oracle 23c new features for developer and dbaoracle 23c new features for developer and dba
oracle 23c new features for developer and dba
 
Oracle dba advance-24-7-running databases
Oracle dba advance-24-7-running databasesOracle dba advance-24-7-running databases
Oracle dba advance-24-7-running databases
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
1Z0-052 Oracle 11g Administration I
1Z0-052 Oracle 11g Administration I1Z0-052 Oracle 11g Administration I
1Z0-052 Oracle 11g Administration I
 
Remote Dba Team Oracle Architecture In Nutshell
Remote Dba Team   Oracle Architecture In NutshellRemote Dba Team   Oracle Architecture In Nutshell
Remote Dba Team Oracle Architecture In Nutshell
 
Remote DBA team-1Z0-042 Oracle Sga In Nutshell Oracle Dba Learn By Presentation
Remote DBA team-1Z0-042 Oracle Sga In Nutshell Oracle Dba Learn By PresentationRemote DBA team-1Z0-042 Oracle Sga In Nutshell Oracle Dba Learn By Presentation
Remote DBA team-1Z0-042 Oracle Sga In Nutshell Oracle Dba Learn By Presentation
 

Último

Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
drm1699
 
Jax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined DeckJax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined Deck
Marc Lester
 

Último (20)

GraphSummit Milan - Neo4j: The Art of the Possible with Graph
GraphSummit Milan - Neo4j: The Art of the Possible with GraphGraphSummit Milan - Neo4j: The Art of the Possible with Graph
GraphSummit Milan - Neo4j: The Art of the Possible with Graph
 
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
 
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale IbridaUNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
UNI DI NAPOLI FEDERICO II - Il ruolo dei grafi nell'AI Conversazionale Ibrida
 
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanWorkshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
 
Your Ultimate Web Studio for Streaming Anywhere | Evmux
Your Ultimate Web Studio for Streaming Anywhere | EvmuxYour Ultimate Web Studio for Streaming Anywhere | Evmux
Your Ultimate Web Studio for Streaming Anywhere | Evmux
 
Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...
Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...
Abortion Clinic In Johannesburg ](+27832195400*)[ 🏥 Safe Abortion Pills in Jo...
 
Lessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfLessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdf
 
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
 
The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)The mythical technical debt. (Brooke, please, forgive me)
The mythical technical debt. (Brooke, please, forgive me)
 
The Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test AutomationThe Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test Automation
 
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
 
Rapidoform for Modern Form Building and Insights
Rapidoform for Modern Form Building and InsightsRapidoform for Modern Form Building and Insights
Rapidoform for Modern Form Building and Insights
 
From Knowledge Graphs via Lego Bricks to scientific conversations.pptx
From Knowledge Graphs via Lego Bricks to scientific conversations.pptxFrom Knowledge Graphs via Lego Bricks to scientific conversations.pptx
From Knowledge Graphs via Lego Bricks to scientific conversations.pptx
 
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
 
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
 
Software Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements EngineeringSoftware Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements Engineering
 
Encryption Recap: A Refresher on Key Concepts
Encryption Recap: A Refresher on Key ConceptsEncryption Recap: A Refresher on Key Concepts
Encryption Recap: A Refresher on Key Concepts
 
BusinessGPT - Security and Governance for Generative AI
BusinessGPT  - Security and Governance for Generative AIBusinessGPT  - Security and Governance for Generative AI
BusinessGPT - Security and Governance for Generative AI
 
Jax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined DeckJax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined Deck
 
Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...
 

Oracle Database Buffer Cache Management.pptx

  • 1. How Buffer Cache Working in Oracle? Buffer Cache Management
  • 2. A buffer cache is a portion of memory used to temporarily hold data from storage devices for quicker access. It stores frequently accessed data to improve the performance of reading and writing data. It includes free buffers, pinned buffers, dirty buffers, and the least recent use chain. INTRODUCTION TO BUFFER CACHE IN ORACLE Definition of buffer cache
  • 3. The buffer cache helps improve performance by reducing the need to constantly read from and write to the disk. Free buffers are available for new data, pinned buffers are currently being used and cannot be replaced, and dirty buffers need to be written back to the disk. Checkpoints ensure that all modified data is written to the storage device, maintaining data integrity. INTRODUCTION TO BUFFER CACHE IN ORACLE Importance of buffer cache in database management
  • 4. Free buffers are available for new data to be read into. Pinned buffers are currently being used and cannot be replaced. Dirty buffers have been modified and need to be written back to the disk. INTRODUCTION TO BUFFER CACHE IN ORACLE Overview of different types of buffers (free, pinned, dirty)
  • 5. The least recent use chain tracks the order in which buffers are accessed. It identifies the least recently used buffer for replacement when needed. This optimises memory usage and performance in the system. BUFFER REPLACEMENT AND MANAGEMENT Explanation of least recent use chain
  • 6. Buffer replacement is managed through free, pinned, and dirty buffers. The system looks for free buffers first and then considers replacing from the least recent use chain. Periodic checkpoints ensure that dirty buffers are written to disk to free up space for new data. BUFFER REPLACEMENT AND MANAGEMENT How buffer replacement is managed
  • 7. Buffer Replacement and Management Impact of buffer replacement on system performance Buffer replacement can significantly affect data retrieval and processing speed and efficiency. A large number of dirty buffers during a checkpoint can slow down system performance. The use of the least recent use chain for buffer replacement directly impacts overall system performance.
  • 8. To ensure all modified (dirty) buffers are written to disk Reducing the risk of data loss in the event of a system failure Maintaining data integrity and consistency Freeing up dirty buffers for reuse CHECKPOINT MECHANISM Purpose of checkpoint in buffer cache
  • 9. Using the checkpoint process to flush all dirty buffers to disk Preventing overwriting of modified buffers before writing to disk Utilizing pinned buffers to safeguard modified buffers Reducing the number of dirty buffers for efficient recovery CHECKPOINT MECHANISM Ensuring all modified buffers are written to disk
  • 10. Reducing the amount of work needed for recovery after a system failure Minimizing the number of dirty buffers for efficient recovery Maintaining database consistency by writing data from buffer cache to database files Facilitating restoration of the database to a consistent state after a system failure CHECKPOINT MECHANISM Effect of checkpoint on database consistency and recovery
  • 11. Build Strong Career Using Kendba Academy https://www.kendba.com & https://academy.kendba.com