SlidePub
Home
Categories
Login
Register
Home
General
01-Oracle 19c-Architecture Overview Oracle
01-Oracle 19c-Architecture Overview Oracle
FreddyRonaldSandoval
35 views
36 slides
Feb 20, 2025
Slide
1
of 36
Previous
Next
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
About This Presentation
Administracion Oracle
Size:
757 KB
Language:
en
Added:
Feb 20, 2025
Slides:
36 pages
Slide Content
Slide 1
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Oracle Database Architecture
Slide 2
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-2
Objectives
After completing this lesson, you should be able to:
•List the major architectural components of Oracle
Database
•Explain memory structures
•Describe background processes
•Correlate logical and physical storage structures
•Describe pluggable databases
•Describe ASM storage components
Slide 3
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-3
Database (Storage Structures)
Oracle Database Server Architecture: Overview
Server
process
PGA
User
process
Instance
Memory Structures
(System Global Area)
Process Structures
Client
Server
Slide 4
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-4
Oracle Database Instance Configurations
D1
D2
I1
I2
I1 I2 I3
D
Clustered System
Nonclustered System
Local Storage
Shared Storage
Slide 5
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-5
Connecting to the Database Instance
•Connection: Communication between a user process and
an instance
•Session: Specific connection of a user to an instance
through a user process
SQL> Select …
Session
User
User
process
Server
process
Session
Connection
Slide 6
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-6
Oracle Database Memory Structures
Server
process 1
Shared pool
Database
buffer
cache
Streams
pool
Large pool
Java pool
Stack
Space
System Global Area (SGA)
Program Global Area (PGA)
Server
process 2
User
Global
Area
Stack
Space
User
Global
Area
PGA
Fixed SGA
Redo log
buffer
Slide 7
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-7
Redo log
buffer
Shared pool
Database
buffer
cache
Streams
pool
Large pool
Java pool
System Global Area (SGA)
Shared Pool
•Is a portion of the SGA
•Contains:
–Library cache
—Shared SQL area
–Data dictionary cache
–Server result cache
Shared
SQL Area
Library
Cache
Data Dictionary
Cache
Server Result
Cache
Other
Reserved Pool
Fixed SGA
Slide 8
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-8
Shared pool
Database
buffer
cache
Streams
pool
Large pool
Java pool
System Global Area (SGA)
Keep pool
Recycle
pool
nK buffer
cache
Database Buffer Cache
•Is part of the SGA
•Holds copies of data blocks that are read from data files
•Is shared by all concurrent users
Fixed SGA
Redo log
buffer
Slide 9
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-9
Redo Log Buffer
•Is a circular buffer in the SGA
•Holds information about changes made to the database
•Contains redo entries that have the information to redo
changes made by operations such as DML and DDL
Shared pool
Database
buffer
cache
Streams
pool
Large pool
Java pool
System Global Area (SGA)
Redo log
buffer
Redo log
buffer
Fixed SGA
Slide 10
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-10
Large Pool
Provides large memory allocations for:
•Session memory for the shared server and the Oracle XA
interface
•I/O server processes
•Oracle Database backup and restore operations
Shared pool
Database
buffer
cache
Streams
pool
Large pool
Java pool
System Global Area (SGA)
RECYCLE
buffer pool
Fixed SGA
Redo log
buffer
Large pool
I/O buffer
Response
queue
Request
queue
Free
memory
Parallel
Query
Advanced
Queuing
Slide 11
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-11
Java Pool
Java pool memory is used to store all session-specific Java
code and data in the JVM.
Shared pool
Database
buffer
cache
Streams
pool
Large pool
Java pool
System Global Area (SGA)
Java pool
Fixed SGA
Redo log
buffer
Slide 12
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-12
Streams Pool
Streams pool memory is used exclusively by Oracle Streams
to:
•Store buffered queue messages
•Provide memory for Oracle Streams processes
Shared pool
Database
buffer
cache
Streams
pool
Large pool
Java pool
System Global Area (SGA)
nK buffer
cache
Redo log
buffer
Streams pool
Slide 13
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-13
Program Global Area (PGA)
Server
process 1
Stack
Space
System Global Area (SGA)
PGA
Shared pool
Database
buffer
cache
Streams
pool
Large pool
Java pool
User
Global
Area
User Session
Data
Cursor
State
Sort
Area
Hash
Area
Create Bitmap Area
SQL
Work Areas
Bitmap Merge Area
Fixed SGA
Redo log
buffer
Slide 14
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-14
Process Architecture
•User process
–Is the application or tool that connects to the Oracle
database
•Database processes
–Server process: Connects to the Oracle instance and is
started when a user establishes a session
–Background processes: Are started when an Oracle instance
is started
•Daemon / Application processes
–Networking listeners
–Grid Infrastructure daemons
Slide 15
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-15
Process Structures
PMONSMON
Others
Instances (ASM and Database separate)
LREG
ARCn
DBWn LGWRCKPT
PGA
Background processes
System Global Area (SGA)
Required:
Optional:
Grid Infrastructure Processes
(ASM and Oracle Restart)
orarootagent
ohas ocssd diskmon
oraagent cssdagent
User
process
Server
process
Listener
RECO MMON MMNL Others
Slide 16
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-16
Database Writer Process (DBWn)
Writes modified (dirty) buffers in the database buffer cache to
disk:
•Asynchronously while performing other processing
•To advance the checkpoint
Database buffer
cache
Database Writer
process
Data files
DBWn
Slide 17
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-17
Log Writer Process (LGWR)
•Writes the redo log buffer to a redo log file on disk
–When a user process commits a transaction
–When an online redo log switch occurs
–When the redo log buffer is one-third full or contains 1 MB of
buffered data
–Before a DBWnprocess writes modified buffers to disk
–When three seconds have passed since the last write
•Serves as coordinator of LGnnprocesses and ensures
correct order for operations that must be ordered
Redo log files
LGWR
Redo log
buffer
LGnn
LGnn
Slide 18
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-18
Checkpoint Process (CKPT)
•Records checkpoint information in
–Control file
–Each data file header
•Signals DBWnto write blocks to disk
Checkpoint
process
Data files
Control file
CKPT
Slide 19
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-19
System Monitor Process (SMON)
•Performs recovery at instance startup
•Cleans up unused temporary segments
Instance
Temporary
segment
System Monitor
process
SMON
Slide 20
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-20
Process Monitor Process (PMON)
•Performs process recovery when a user process fails
–Cleans up the database buffer cache
–Frees resources that are used by the user process
•Monitors sessions for idle session timeout
Process Monitor
process
Database buffer
cache
Failed user process
User
PMON
Server
process
Slide 21
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-21
Recoverer Process (RECO)
•Used with the distributed database configuration
•Automatically connects to other databases involved in in-
doubt distributed transactions
•Automatically resolves all in-doubt transactions
•Removes any rows that correspond to in-doubt
transactions
Recoverer process
in database A
In-doubt transaction
in database B
RECO
Slide 22
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-22
Listener Registration Process (LREG)
Registers information about the database instance and
dispatcher processes with the Oracle Net Listener
listener
Instance
Memory Structures
(System Global Area)
Process Structures
LREG
Slide 23
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-23
Archiver Processes (ARCn)
•Copy redo log files to a designated storage device after a
log switch has occurred
•Can collect transaction redo data and transmit that data to
standby destinations
Archiver process Archive destination Copies of redo log
files
ARCn
Slide 24
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-24
Database Storage Architecture
Online redo log files
Password file
Parameter file Archived redo log
files
Control files Data files
Alert log and trace files
Backup files
Slide 25
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-25
Logical and Physical Database Structures
Database
Logical Physical
Tablespace Data file
Segment
Extent
Oracle data
block
Storage System
•SAN
•NAS
•Exadata
•File System
•NFS
•ASM
Slide 26
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-26
Segments, Extents, and Blocks
•Segments exist in a tablespace.
•Segments are collections of extents.
•Extents are collections of data blocks.
•Data blocks are mapped to disk blocks.
Segment Extents Data
blocks
Disk blocks
(File System
Storage)
Slide 27
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-27
Tablespaces and Data Files
8Kb8Kb
8Kb8Kb
8Kb8Kb
8Kb8Kb
8Kb8Kb
8Kb8Kb
8Kb8Kb
8Kb8Kb
Tablespace 1
Data file 1 Data file 2
Extent
64 KB
Extent
64 KB
Segment
128 KB
Tablespace 2 (Bigfile)
Data file 3
Only 1 data file
allowed
<= 128 TB
Slide 28
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-28
SYSTEMand SYSAUXTablespaces
•The SYSTEMand SYSAUXtablespaces are mandatory
tablespaces that are created at the time of database
creation. They must be online.
•The SYSTEMtablespace is used for core functionality (for
example, data dictionary tables).
•The auxiliary SYSAUXtablespace is used for additional
database components.
•The SYSTEMand SYSAUXtablespaces should not be used
for application data.
Slide 29
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-29
Multitenant Architecture
Instance
System Global Area
Process Structures
Server
Instance
Multitenant
container
database
root container
Data files Redo Log filesControl files
UNDO
TEMP
SYSTEM
SYSAUX
SeedPDB
Data files
SYSTEM
SYSAUX
SALES PDB
SYSTEM
SYSAUX TBS2
HR PDB
Data files
TEMPO
Data files
TEMP2
PDBid2PDBid3 PDBid4 PDBid2 PDBid4
All PDBs share:
•Background
processes
•Shared/process
memory
•Oracle metadata
•Redo log files
•Control files
•Undo tablespace
Slide 30
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-30
Automatic Storage Management
•Is a portable and high-performance
cluster file system
•Manages Oracle database files
•Manages application files with
ASM Cluster File System (ACFS)
•Spreads data across disks
to balance load
•Mirrors data in case of failures
•Solves storage management
challenges
ASM Cluster
File
System
ASM Dynamic
Volume
Manager
Application
Oracle
Database
Operating system
ASM Files
for Oracle
Database
Automatic Storage Management
Slide 31
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-31
ASM Storage Components
Oracle
Database
Data file
ASM allocation
unit
ASM
disk group
ASM disk
ASM file
ASM
extent
File system
ASM
Slide 32
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-32
Interacting with an Oracle Database:
Memory, Processes, and Storage
User
PGA
User
process
Server
process
Listener
PMONSMON Others
Instance
RECODBWn LGWRCKPT
Shared pool
Database
buffer
cache
Streams
pool
Large pool
Java pool
ARCn
Redo log
buffer
Fixed SGA
Slide 33
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-33
Quiz
The memory region that contains data and control information
for a server or background process is called:
a.Shared pool
b.PGA
c.Buffer cache
d.User session data
Slide 34
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-34
Quiz
Whatis read into the database buffer cachefrom data files?
a.Rows
b.Changes
c.Blocks
d.SQL
Slide 35
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-35
Quiz
The Process Monitor process (PMON):
a.Performs recovery at instance startup
b.Performs process recovery when a user process fails
c.Automatically resolves all in-doubt transactions
d.Writes the redo log buffer to a redo log file
Slide 36
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.2-36
Summary
In this lesson, you should have learned how to:
•List the major architectural components of Oracle
Database
•Explain memory structures
•Describe background processes
•Correlate logical and physical storage structures
•Describe pluggable databases
•Describe ASM storage components
Tags
Categories
General
Download
Download Slideshow
Get the original presentation file
Quick Actions
Embed
Share
Save
Print
Full
Report
Statistics
Views
35
Slides
36
Age
287 days
Related Slideshows
22
Pray For The Peace Of Jerusalem and You Will Prosper
RodolfoMoralesMarcuc
32 views
26
Don_t_Waste_Your_Life_God.....powerpoint
chalobrido8
35 views
31
VILLASUR_FACTORS_TO_CONSIDER_IN_PLATING_SALAD_10-13.pdf
JaiJai148317
32 views
14
Fertility awareness methods for women in the society
Isaiah47
30 views
35
Chapter 5 Arithmetic Functions Computer Organisation and Architecture
RitikSharma297999
29 views
5
syakira bhasa inggris (1) (1).pptx.......
ourcommunity56
30 views
View More in This Category
Embed Slideshow
Dimensions
Width (px)
Height (px)
Start Page
Which slide to start from (1-36)
Options
Auto-play slides
Show controls
Embed Code
Copy Code
Share Slideshow
Share on Social Media
Share on Facebook
Share on Twitter
Share on LinkedIn
Share via Email
Or copy link
Copy
Report Content
Reason for reporting
*
Select a reason...
Inappropriate content
Copyright violation
Spam or misleading
Offensive or hateful
Privacy violation
Other
Slide number
Leave blank if it applies to the entire slideshow
Additional details
*
Help us understand the problem better