Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2-2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Oracle Database Server Architecture: Overview
Instance
PGA
Server
process Memory Structures
(System Global Area)
Server
Process Structures
User
process
2-3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Oracle Database Instance Configurations
I1
I1 I2 I3
I2
D1
D2
Local Storage D
Shared Storage
2-4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Connecting to the Database Instance
User Server
SQL> Select … process process
User
Session
Connection
Session
2-5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Oracle Database Memory Structures
Database
Redo log
Shared pool buffer
buffer
cache
2-6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Shared Pool
Library
Cache Reserved Pool
Database
Redo log
Shared pool buffer
buffer
cache
2-8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Database Buffer Cache
Keep pool
Recycle Database
pool Redo log
Shared pool buffer
buffer
cache
nK buffer
cache
Database
Redo log
Shared pool buffer
buffer
cache
Redo log
Database
buffer
Shared pool buffer
cache Free Parallel
I/O buffer
RECYCLE memory
Query
buffer pool
Response Request Advanced
Streams queue
Large pool Java pool Fixed SGA queue Queuing
pool
Large pool
System Global Area (SGA)
Database
Redo log
Shared pool buffer buffer
cache
What is read into the database buffer cache from data files?
a. Rows
b. Changes
c. Blocks
d. SQL
• 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
DBWn
LGWR
Redo log
buffer
LGnn
Checkpoint
process
Data files
Instance
SMON
System Monitor
process
Temporary
segment
Server
process
PMON
User
Database buffer
Failed user process Process Monitor
cache
process
RECO
Instance
Memory Structures
(System Global Area)
Process Structures
LREG listener
ARCn
Logical Physical
Database
Segment
Storage System
• SAN • NFS
Extent
• NAS • ASM
• Exadata
Oracle data
• File System
block
Extent Extent
64 KB 64 KB
Segment
128 KB
Multitenant
container
database Data files Control files Redo Log files
UNDO
SYSTEM
Operating system
ASM
Oracle
ASM
Database ASM file
disk group
Data file
ASM
extent
Database
Redo log
Shared pool buffer
PGA buffer
cache
Server
process
Java pool Streams
Large pool Fixed SGA
pool
Listener
DBWn CKPT LGWR SMON PMON RECO ARCn Others
User
process
User