0% found this document useful (0 votes)
36 views

Oracle Database Architecture

Oracle Database Memory Architecture along with Background processess and Physical files. Soft Parsing and Hard Parsing.

Uploaded by

dineshramdhn
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

Oracle Database Architecture

Oracle Database Memory Architecture along with Background processess and Physical files. Soft Parsing and Hard Parsing.

Uploaded by

dineshramdhn
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Instance

Shared Pool Buffer Cache


User PC
Library Cache
Shared SQL
Area

Listener Dictionary Result


Cache Cache

SP SMON PMON DBWR

Physical files stored in Disk


Data File Control File Log File Password File
System DataFile
Redo
User DataFile Log File
Undo File It is used to
It keeps track of
authenticate
Temp File all database files
while starting
like DataFile, log
Blocks Redo up the
file, password
Log Database.
file, parameter
Archive Password of
file etc.
files SYSDBA.

After commit, not necessary that dirty blocks will be written immediately to disk. It will be written at a certain frequency.
All redo log buffer can be flushed to redo log file whether Commit issued or not. But, SCN will only assigned to Committed
Buffer Cache Redo Log Buffer Java Pool Large Pool Streams Pool
EMPID:101 Old_Sal: 100 NewSal: 200
EMPID:102 Old_Sal: 300 NewSal: 400
EMPID:103 Old_Sal: 500 NewSal: 600 This memory
used for huge
data sorting,
grouping,
Redo
Log calculation
Undo Segment Buffer etc.

CKPT LGWR

Redo Log File


isk Storage Units
Parameter file TableSpaces
Segments Group1 Group2 Group..n
Extents 10 MB 20 MB
PFile and SPFile Blocks M1
20
MB
It contains a list DataBase 10
of parameters M1 MB
which used M2 20
while starting Archive Log File MB
10
up the Instance. M2 MB
We can define upto 30 archive
destinations 20
M3 MB

Each Member is Redo Log File


Minimum 2 groups are required
ately to disk. It will be written at a certain frequency. Group1 is Active Group. Group2 is InActive/Current Group.
sued or not. But, SCN will only assigned to Committed transactions LGWR overwrites only when the Group is Inactive Group and that group is Archived.
On every swith of Group, A Log sequence number is incremented.
SGA
(System Global Area
or
Shared Global Area)

Background Processes

le

Group..n

20
MB

20
MB

20
MB

ent Group.
ve Group and that group is Archived.
er is incremented.
PGA
Stores Session information of each user.
Session Area Stores session variables, login information, session sta

Private SQL Area


Persistent Area Persistent area stores the bind variables.

RunTime Area RunTime area stores the execution state info.

Cursors Area Cursors area stores the information of Cursors.

SQL Work Area


Sort Area
Hash Join Area
Bitmap Merge Area
Bitmap Create Area
on of each user.
login information, session status etc.

he bind variables.

e execution state info.

information of Cursors.
SQL Text
------
--------
---- Syntax Check

Semantic Check

Privilege Check

Allocate Private SQL Area


d
ar
(H se)
No Par Allocate Shared SQL Area
Existing Shared
SQL Area? Optimization

Row Source Generation


Yes (Soft Parse)
Execute Statement
Allocate Shared SQL Area

Optimization

Row Source Generation

You might also like