SlideShare a Scribd company logo
Oracle DBA Training
Relational Database Management System
(RDBMS)
 RDBMS is based on the relational model. Data and
relations are stored in the form of tables. Tables are
accessed via Primary Keys, Foreign Keys and Indexes.
 RDBMS provides consistency which means transactions
are either completed fully or no effect at all
 RDBMS provides concurrency which means multiple
users accessing the same group of resources (such as
tables, rows)
RDBMS & SQL
Database Market Share is 40 % dominated by
Oracle whereas IBM occupies 31%, Microsoft
12% and remaining by others.
User interface with RDBMS in SQL – a standard
interactive and programming language for
querying and modifying data and managing
databases.
Installing and upgrading Database software and
application tools
 Allocating system storage and planning future
allocation
 Creating Database and its storage parameters .
 Creating Database structures , objects, users and
granting privileges
DBA Tasks
DBA Tasks
 Set up Database security and auditing
 Set up Database Backup and Recovery when
required
 Set up Database Monitoring
 Database Optimization and Performance Tuning
 Maintaining Database and implementing High
Availability
Oracle Database Architecture
Oracle  dba    training
Oracle Architecture contd…
Oracle  dba    training
What is an Oracle Instance ?
An Oracle instance is a means to access the Oracle Database
Always opens one and only one database
What is SGA ?
SGA is System Global Area . It constitutes DBBC ( Database
Buffer Cache ), RBC(Redolog Buffer Cache) , Shared Pool and
Shared Server.
What is server process ?
Services a single user process in the dedicated server and
multiple user processes in a shared server.
What is user process?
Runs on a client machine using tools like SQL Plus , OEM etc.
Significant Terms to be known
What is an Instance ?
• An Instance is made up of background
processes and memory structures .
• An instance controls zero or more databases.
• A database can have one or more instances.
• Examples : PMON, SMON, DBWR, LOGWR
etc..
Oracle Instance and Database
Oracle Instance constitutes :
 Background Processes and
 Memory Structures
Oracle Database constitutes :
Data files
Redo log files
Control files
Archive log files
Parameter files
Oracle Instance Architecture
Oracle  dba    training
Oracle Process Architecture
Background Processes
Performs functions on behalf of user process
Input, Output and Monitor other Oracle Processes
to provide improved parallelism for better
performance and reliability
Background Processes
DBWR:
When it writes into datafiles :
When dirty buffer of the whole block reaches
threshold limit
When Checkpoint occurs
When there are no free buffers
Time out Occurs
Tablespace is taken offline /read only/begin
backup
Drop/truncate a table
BGP
Log Writer:
Performs sequential writes from Redolog Buffer
When LGWR writes:
Commit
When 1/3 of memory is full
Every 3 seconds
When it reaches 1 MB
Before DBWR writes
Calls on DBWR to write into data files
Used for Recovery purposes
BGP
SYSTEM MONITOR ( SMON )
Used for Instance Recovery (System/Media Failure )
Rollforward committed transactions (changes in redolog files)
Open Database for access
Rollback uncommitted transactions
Coalesces free spaces
Deallocates Temporary Segmen
PROCESS MONITOR (PMON )
Cleans the failed process
Rolls back user’s current transactions
Releasing locks
Releasing other resources
Restoring dead dispatchers
BGP
CheckPoint:
Checkpoint is an event that occurs whenever the
log switches
Signals the DBWR to flush the data from DBBC to DF
Updates SCN and LSN
Stages of Redolog:
Active – written over, ready to move to archive
Inactive – ready to overwrite , information passed to
archive
Current – currently writing
Unused - Freshly created group
BGP
Members Status
1. Stale – Half-written and switched log
2. Blank - Currently Writing
3. delete - dropped members
4. invalid – corrupted, inaccessible
System Global Area (SGA)
SGA is dynamic
Allocated and tracked in granules by SGA
Components
Contiguous Virtual Memory Allocation
A Granule is the unit of contiguous Memory
Allocation
DBBC and Shared Pool grow and Shrink
sga
SGA_MAX_SIZE
v$buffer_pool
Fixed SGA – Shared Pool, DBBC ,RLBC
Dynamic SGA – Changes made while DB is up
DB_CACHE_SIZE
LOG_BUFFER
SHARED_POOL_SIZE
LARGE_POOL_SIZE
JAVA_POOL_SIZE
Shared Pool
This is used for objects shared globally such as
reusable execution plans, pl/sql packages,
procedures, functions, cursor information etc.,
LRU Algorithm : As the Cache fills, less recently
used execution plans and parse trees are removed
from LC to make room for the new entries
Shared Pool Contains : Library Cache and Data
Dictionary Cache
Library Cache
Stores information about the shared sql and pl/sql
statements
Enables the sharing of commonly used statements
LRU Algorithm
SharedSQL
Shared PL/SQL
Shared_pool_size
Memory is allocated when a statement is parsed or a
program unit is called
Shared SQL
Stores and Shares the execution plan and parse
trees for sql statements run against the database
If second time an sql statement is run, it can take
parse information already available is reused
The text,schema and bind variables must be
same to ensure that sql statements share the
shared SQL Area
Shared PL/SQL
Stores and shares the most recently used pl/sql
statements. Parsed and compiled programs with
units and Procedures are stored in this area
Data Dictionary Cache
Also called as Row Cache
Most recently used data definitions in the Database
Includes information about database files, users,
privileges, tables, indexes, column and other
database objects
To resolve object names and validate access the
server process looks at data dictionary Information
about user data,data file names,segment
names,extent location,table description
Ad

More Related Content

What's hot (20)

Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant Architecture
Pini Dibask
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
Satishbabu Gunukula
 
Oracle archi ppt
Oracle archi pptOracle archi ppt
Oracle archi ppt
Hitesh Kumar Markam
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
Simon Huang
 
Oracle Architecture
Oracle ArchitectureOracle Architecture
Oracle Architecture
Neeraj Singh
 
The oracle database architecture
The oracle database architectureThe oracle database architecture
The oracle database architecture
Akash Pramanik
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Aaron Shilo
 
Ms sql server architecture
Ms sql server architectureMs sql server architecture
Ms sql server architecture
Ajeet Singh
 
Oracle db architecture
Oracle db architectureOracle db architecture
Oracle db architecture
Simon Huang
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Database
puja_dhar
 
Analyzing and Interpreting AWR
Analyzing and Interpreting AWRAnalyzing and Interpreting AWR
Analyzing and Interpreting AWR
pasalapudi
 
Basic oracle-database-administration
Basic oracle-database-administrationBasic oracle-database-administration
Basic oracle-database-administration
sreehari orienit
 
Oracle Database 12c : Multitenant
Oracle Database 12c : MultitenantOracle Database 12c : Multitenant
Oracle Database 12c : Multitenant
Digicomp Academy Suisse Romande SA
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
Markus Michalewicz
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
Satishbabu Gunukula
 
Oracle database introduction
Oracle database introductionOracle database introduction
Oracle database introduction
Mohammad Javad Beheshtian
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
Mohamed Farouk
 
12. oracle database architecture
12. oracle database architecture12. oracle database architecture
12. oracle database architecture
Amrit Kaur
 
Sql server basics
Sql server basicsSql server basics
Sql server basics
VishalJharwade
 
Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)
Bilal Arshad
 
Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant Architecture
Pini Dibask
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
Simon Huang
 
Oracle Architecture
Oracle ArchitectureOracle Architecture
Oracle Architecture
Neeraj Singh
 
The oracle database architecture
The oracle database architectureThe oracle database architecture
The oracle database architecture
Akash Pramanik
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Aaron Shilo
 
Ms sql server architecture
Ms sql server architectureMs sql server architecture
Ms sql server architecture
Ajeet Singh
 
Oracle db architecture
Oracle db architectureOracle db architecture
Oracle db architecture
Simon Huang
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Database
puja_dhar
 
Analyzing and Interpreting AWR
Analyzing and Interpreting AWRAnalyzing and Interpreting AWR
Analyzing and Interpreting AWR
pasalapudi
 
Basic oracle-database-administration
Basic oracle-database-administrationBasic oracle-database-administration
Basic oracle-database-administration
sreehari orienit
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
Markus Michalewicz
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
Satishbabu Gunukula
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
Mohamed Farouk
 
12. oracle database architecture
12. oracle database architecture12. oracle database architecture
12. oracle database architecture
Amrit Kaur
 
Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)
Bilal Arshad
 

Similar to Oracle dba training (20)

Introduction to oracle
Introduction to oracleIntroduction to oracle
Introduction to oracle
durgaprasad1407
 
Oracle architecture
Oracle architectureOracle architecture
Oracle architecture
Sandeep Kamath
 
App D
App DApp D
App D
Sudharsan S
 
Oracle RBMS Architecture SVG PVG background process
Oracle RBMS Architecture SVG PVG background processOracle RBMS Architecture SVG PVG background process
Oracle RBMS Architecture SVG PVG background process
BhawanaMayankKothari
 
Less01 Dba1
Less01 Dba1Less01 Dba1
Less01 Dba1
vivaankumar
 
ora_sothea
ora_sotheaora_sothea
ora_sothea
thysothea
 
Oracle 10g Introduction 1
Oracle 10g Introduction 1Oracle 10g Introduction 1
Oracle 10g Introduction 1
Eryk Budi Pratama
 
MS-SQL SERVER ARCHITECTURE
MS-SQL SERVER ARCHITECTUREMS-SQL SERVER ARCHITECTURE
MS-SQL SERVER ARCHITECTURE
Douglas Bernardini
 
Oracle architecture
Oracle architectureOracle architecture
Oracle architecture
Soumya Das
 
R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07
zeesniper
 
Oracle Instance Architecture.ppt
Oracle Instance Architecture.pptOracle Instance Architecture.ppt
Oracle Instance Architecture.ppt
HODCA1
 
Oracle11g notes
Oracle11g notesOracle11g notes
Oracle11g notes
Manish Mudhliyar
 
Oracle tutorial
Oracle tutorialOracle tutorial
Oracle tutorial
Lalit Shaktawat
 
oraclearchitectureppt-150805094353-lva1-app6891.pptx
oraclearchitectureppt-150805094353-lva1-app6891.pptxoraclearchitectureppt-150805094353-lva1-app6891.pptx
oraclearchitectureppt-150805094353-lva1-app6891.pptx
ayesha420248
 
DBA 101 : Calling all New Database Administrators (WP)
DBA 101 : Calling all New Database Administrators (WP)DBA 101 : Calling all New Database Administrators (WP)
DBA 101 : Calling all New Database Administrators (WP)
Gustavo Rene Antunez
 
tablespaces and datafiles in database administration
tablespaces and datafiles in database administrationtablespaces and datafiles in database administration
tablespaces and datafiles in database administration
AsharJaved14
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
Samar Prasad
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
Samar Prasad
 
1 ISACA JOURNAL VOLUME 1, 2012FeatureThe ability to r.docx
1 ISACA JOURNAL  VOLUME 1, 2012FeatureThe ability to r.docx1 ISACA JOURNAL  VOLUME 1, 2012FeatureThe ability to r.docx
1 ISACA JOURNAL VOLUME 1, 2012FeatureThe ability to r.docx
honey725342
 
Oracle Architecture software overview ppts
Oracle Architecture software overview pptsOracle Architecture software overview ppts
Oracle Architecture software overview ppts
ssuserf272701
 
Oracle RBMS Architecture SVG PVG background process
Oracle RBMS Architecture SVG PVG background processOracle RBMS Architecture SVG PVG background process
Oracle RBMS Architecture SVG PVG background process
BhawanaMayankKothari
 
Oracle architecture
Oracle architectureOracle architecture
Oracle architecture
Soumya Das
 
R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07
zeesniper
 
Oracle Instance Architecture.ppt
Oracle Instance Architecture.pptOracle Instance Architecture.ppt
Oracle Instance Architecture.ppt
HODCA1
 
oraclearchitectureppt-150805094353-lva1-app6891.pptx
oraclearchitectureppt-150805094353-lva1-app6891.pptxoraclearchitectureppt-150805094353-lva1-app6891.pptx
oraclearchitectureppt-150805094353-lva1-app6891.pptx
ayesha420248
 
DBA 101 : Calling all New Database Administrators (WP)
DBA 101 : Calling all New Database Administrators (WP)DBA 101 : Calling all New Database Administrators (WP)
DBA 101 : Calling all New Database Administrators (WP)
Gustavo Rene Antunez
 
tablespaces and datafiles in database administration
tablespaces and datafiles in database administrationtablespaces and datafiles in database administration
tablespaces and datafiles in database administration
AsharJaved14
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
Samar Prasad
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
Samar Prasad
 
1 ISACA JOURNAL VOLUME 1, 2012FeatureThe ability to r.docx
1 ISACA JOURNAL  VOLUME 1, 2012FeatureThe ability to r.docx1 ISACA JOURNAL  VOLUME 1, 2012FeatureThe ability to r.docx
1 ISACA JOURNAL VOLUME 1, 2012FeatureThe ability to r.docx
honey725342
 
Oracle Architecture software overview ppts
Oracle Architecture software overview pptsOracle Architecture software overview ppts
Oracle Architecture software overview ppts
ssuserf272701
 
Ad

Recently uploaded (20)

ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Ad

Oracle dba training

  • 2. Relational Database Management System (RDBMS)  RDBMS is based on the relational model. Data and relations are stored in the form of tables. Tables are accessed via Primary Keys, Foreign Keys and Indexes.  RDBMS provides consistency which means transactions are either completed fully or no effect at all  RDBMS provides concurrency which means multiple users accessing the same group of resources (such as tables, rows)
  • 3. RDBMS & SQL Database Market Share is 40 % dominated by Oracle whereas IBM occupies 31%, Microsoft 12% and remaining by others. User interface with RDBMS in SQL – a standard interactive and programming language for querying and modifying data and managing databases.
  • 4. Installing and upgrading Database software and application tools  Allocating system storage and planning future allocation  Creating Database and its storage parameters .  Creating Database structures , objects, users and granting privileges DBA Tasks
  • 5. DBA Tasks  Set up Database security and auditing  Set up Database Backup and Recovery when required  Set up Database Monitoring  Database Optimization and Performance Tuning  Maintaining Database and implementing High Availability
  • 10. What is an Oracle Instance ? An Oracle instance is a means to access the Oracle Database Always opens one and only one database What is SGA ? SGA is System Global Area . It constitutes DBBC ( Database Buffer Cache ), RBC(Redolog Buffer Cache) , Shared Pool and Shared Server. What is server process ? Services a single user process in the dedicated server and multiple user processes in a shared server. What is user process? Runs on a client machine using tools like SQL Plus , OEM etc. Significant Terms to be known
  • 11. What is an Instance ? • An Instance is made up of background processes and memory structures . • An instance controls zero or more databases. • A database can have one or more instances. • Examples : PMON, SMON, DBWR, LOGWR etc..
  • 12. Oracle Instance and Database Oracle Instance constitutes :  Background Processes and  Memory Structures Oracle Database constitutes : Data files Redo log files Control files Archive log files Parameter files
  • 16. Background Processes Performs functions on behalf of user process Input, Output and Monitor other Oracle Processes to provide improved parallelism for better performance and reliability
  • 17. Background Processes DBWR: When it writes into datafiles : When dirty buffer of the whole block reaches threshold limit When Checkpoint occurs When there are no free buffers Time out Occurs Tablespace is taken offline /read only/begin backup Drop/truncate a table
  • 18. BGP Log Writer: Performs sequential writes from Redolog Buffer When LGWR writes: Commit When 1/3 of memory is full Every 3 seconds When it reaches 1 MB Before DBWR writes Calls on DBWR to write into data files Used for Recovery purposes
  • 19. BGP SYSTEM MONITOR ( SMON ) Used for Instance Recovery (System/Media Failure ) Rollforward committed transactions (changes in redolog files) Open Database for access Rollback uncommitted transactions Coalesces free spaces Deallocates Temporary Segmen PROCESS MONITOR (PMON ) Cleans the failed process Rolls back user’s current transactions Releasing locks Releasing other resources Restoring dead dispatchers
  • 20. BGP CheckPoint: Checkpoint is an event that occurs whenever the log switches Signals the DBWR to flush the data from DBBC to DF Updates SCN and LSN Stages of Redolog: Active – written over, ready to move to archive Inactive – ready to overwrite , information passed to archive Current – currently writing Unused - Freshly created group
  • 21. BGP Members Status 1. Stale – Half-written and switched log 2. Blank - Currently Writing 3. delete - dropped members 4. invalid – corrupted, inaccessible
  • 22. System Global Area (SGA) SGA is dynamic Allocated and tracked in granules by SGA Components Contiguous Virtual Memory Allocation A Granule is the unit of contiguous Memory Allocation DBBC and Shared Pool grow and Shrink
  • 23. sga SGA_MAX_SIZE v$buffer_pool Fixed SGA – Shared Pool, DBBC ,RLBC Dynamic SGA – Changes made while DB is up DB_CACHE_SIZE LOG_BUFFER SHARED_POOL_SIZE LARGE_POOL_SIZE JAVA_POOL_SIZE
  • 24. Shared Pool This is used for objects shared globally such as reusable execution plans, pl/sql packages, procedures, functions, cursor information etc., LRU Algorithm : As the Cache fills, less recently used execution plans and parse trees are removed from LC to make room for the new entries Shared Pool Contains : Library Cache and Data Dictionary Cache
  • 25. Library Cache Stores information about the shared sql and pl/sql statements Enables the sharing of commonly used statements LRU Algorithm SharedSQL Shared PL/SQL Shared_pool_size Memory is allocated when a statement is parsed or a program unit is called
  • 26. Shared SQL Stores and Shares the execution plan and parse trees for sql statements run against the database If second time an sql statement is run, it can take parse information already available is reused The text,schema and bind variables must be same to ensure that sql statements share the shared SQL Area Shared PL/SQL Stores and shares the most recently used pl/sql statements. Parsed and compiled programs with units and Procedures are stored in this area
  • 27. Data Dictionary Cache Also called as Row Cache Most recently used data definitions in the Database Includes information about database files, users, privileges, tables, indexes, column and other database objects To resolve object names and validate access the server process looks at data dictionary Information about user data,data file names,segment names,extent location,table description