Objectives
After completing this lesson, you should e a le to! " #ist the ma$or architectural components of Oracle %ata ase " &'plain the memory structures " %escri e the ac(ground processes " Correlate the logical and physical storage structures " %escri e A)* storage components
1-2
Oracle Database
,he Oracle relational data ase management system -.%/*)0 provides an open, comprehensive, integrated approach to information management
1-+
Connecting to a Server
Client
Middle tier
Server
rocess Structures
"ser process
#' #(
#'
#(
#)
1-3
"ser
SQL> Select
"ser process
Server process
Session
Connection Session
1-4
!A
Stac. Space "ser !lobal Area
Shared pool
+arge pool
-ava pool
Strea$s pool
Shared ool
" " 7s a portion of the )8A Contains!
9 #i rary cache
:
Shared pool
+ibrar% Other cache /EE bu&&er pool ,edo log bu&&er ,EC0C+E bu&&er pool Strea$s pool n/ bu&&er cache
+arge pool
-ava pool
Shared pool
+arge pool
-ava pool
Strea$s pool
Shared pool
+arge pool
-ava pool
Strea$s pool
+arge ool
=rovides large memory allocations for! " )ession memory for the shared server and the Oracle >A interface " 7?O server processes " Oracle %ata ase ac(up and restore operations
/EE bu&&er pool 2ree arallel #4O bu&&er ,EC0C+E$e$or% 1uer% bu&&er pool ,esponse ,e5uest Advanced 5ueue n/ bu&&er 5ueue 1ueuing cache +arge pool
Shared pool
+arge pool
-ava pool
Strea$s pool
Shared pool
-ava pool
Strea$s pool
1 - 1+
Shared pool
+arge pool
-ava pool
Strea$s pool
rocess Architecture
" Cser process
9 7s the application or tool that connects to the Oracle data ase
"
"
1 - 12
rocess Structures
#nstances (ASM and Database separate) S%ste$ !lobal Area (S!A) !A
Server process
+istener
1 - 13
1 - 14
+!7, ,edo log bu&&er +og 7riter process ,edo log &iles
1 - 16
C/ 8
Chec.point process
Control &ile
Data &iles
1 - 19
SMO*
S%ste$ Monitor process
#nstance
8e$porar% seg$ent
1 - 20
" "
*onitors sessions for idle session timeout %ynamically registers data ase services 5ith listeners
Server process
MO* "ser
2ailed user process rocess Monitor process
tnslsnr
1 - 21
,ecoverer rocess
" " " " Csed 5ith the distri uted data ase configuration Automatically connects to other data ases involved in in-dou t distri uted transactions Automatically resolves all in-dou t transactions .emoves any ro5s that correspond to in-dou t transactions
,ECO
,ecoverer process in database A #n9doubt transaction in database 3
1 - 22
A,Cn
Archiver process
Archive destination
1 - 2+
Operating S%ste$ !rid #n&rastructure !rid #n&rastructure #nit Dae$on 7rapper Script Dae$ons and rocesses init init:ohasd (root) ohasd:bin oraagent:bin orarootagent:bin dis.$on:bin cssdagent ocssd:bin ASM #nstance +istener D3 #nstance "ser De&ined Applications
"
Oracle 8rid 7nfrastructure installation modifies the /etc/inittab file to ensure startup every time machine is started in corresponding run level.
# cat /etc/inittab .. h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2> 1 !/dev/null
1 - 21
Control &iles
Data &iles
ara$eter &ile
3ac.up &iles
assword &ile
1 - 22
8ablespace
Data &ile
Seg$ent Storage S%ste$ Extent " SA* " *AS " *2S " ASM
1 - 23
Seg$ent
Extents
Data bloc.s
1 - 24
Data&ile )
Extent
=>/3
Extent
?=/3
Seg$ent
'=@/3
1 - 26
" "
"
1 - 29
Application
Oracle Database
Operating s%ste$
1 - +0
ASM dis.
1 - +1
!A
Server process
Shared pool
+arge pool
+istener D37n C/ 8
Strea$s pool
MO* ,ECO
"ser process
"ser
1 - +2
Su$$ar%
7n this lesson, you should have learned ho5 to! " #ist the ma$or architectural components of Oracle %ata ase " &'plain the memory structures " %escri e the ac(ground processes " Correlate the logical and physical storage structures " %escri e the A)* storage components
1 - ++