Professional Documents
Culture Documents
System Preformance
System Preformance
• A DBMS operates within the context of a much larger environment that consists of other
software and hardware components.
• Each of these components must be installed, configured, and managed effectively for
the DBMS to function as required.
Library
Database cache
Redo log
buffer
buffer
cache Data dictionary
cache
PGA
Server
process DBWn CKPT LGWR ARCn
User Archived
process Control Online redo log files
Data files files log files
Database
ﻣﺛﻳﻝ ﺃﻭﺭﺍﻛﻝ ﻫﻭ ﻣﺯﻳﺞ ﻣﻥ ﻛﻝ ﺍﻟﻬﻳﺎﻛﻝ ﺍﻟﺫﺍﻛﺭﺓ ﻭﺍﻟﻌﻣﻠﻳﺎﺕ ﺍﻟﺧﻠﻔﻳﺔ ﺍﻟﺗﻲ ﻳﺗﻡ ﺗﺧﺻﻳﺻﻬﺎ
.ﻋﻧﺩ ﺑﺩء ﻗﺎﻋﺩﺓ ﺑﻳﺎﻧﺎﺕ ﺃﻭﺭﺍﻛﻝ
ﺻﻠﺔConnection
Database
Storage structures
ﻫﻳﺎﻛﻝ ﺍﻟﺗﺧﺯﻳﻥ
Library Other
cache
SGA
Shared pool
Library
cache
Database
Redo log
buffer
buffer
cache
PGA Data dictionary
cache
User Server
process process Background processes
– Memory structures:
• System Global Area (SGA): Database buffer cache, redo
buffer, and various pools
• Program Global Area (PGA)
– Process structures:
• User process and server process
• Background processes: SMON, PMON, DBWn, CKPT,
LGWR, ARCn, and so on
– Storage structures:
• Logical: Database, schema, tablespace, segment, extent,
and Oracle block
• Physical: data files, control files, and redo log files
ﻣﻨﻄﻘﻲLogical ﻣﺎﺩﻱPhysical
Database
Tablespace
Schema Data file
ﻣﺳﺎﺣﺔ ﺍﻟﻁﺎﻭﻟﺔ
Segmentﻗﻁﻌﺔ
Extent
Oracle data
OS block
block
Segments : The level of logical database storage above an extent is called a segment.
. ﻳُﻄﻠﻖ ﻋﻠﻰ ﻣﺴﺘﻮﻯ ﺗﺨﺰﻳﻦ ﻗﺎﻋﺪﺓ ﺍﻟﺒﻴﺎﻧﺎﺕ ﺍﻟﻤﻨﻄﻘﻲ ﻓﻮﻕ ﺣﺪ ﻣﺎ ﺍﺳﻢ ﻣﻘﻄﻊ:ﺍﻟﻤﻘﺎﻁﻊ
A segment is a set of extents allocated for a certain logical structure. For example, the
different types of segments include
ﺗﺸﻤﻞ ﺍﻷﻧﻮﺍﻉ، ﻋﻠﻰ ﺳﺒﻴﻞ ﺍﻟﻤﺜﺎﻝ.ﺍﻟﻤﻘﻄﻊ ﻋﺒﺎﺭﺓ ﻋﻦ ﻣﺠﻤﻮﻋﺔ ﻣﻦ ﺍﻟﻨﻄﺎﻗﺎﺕ ﺍﻟﻤﺨﺼﺼﺔ ﻟﻬﻴﻜﻞ ﻣﻨﻄﻘﻲ ﻣﻌﻴﻦ
ﺍﻟﻤﺨﺘﻠﻔﺔ ﻣﻦ ﺍﻟﺸﺮﺍﺋﺢ
– Tablespaces consist of one or more data files. ﺗﺗﻛﻭﻥ ﻣﺳﺎﺣﺎﺕ ﺍﻟﺟﺩﺍﻭﻝ ﻣﻥ ﻣﻠﻑ ﺑﻳﺎﻧﺎﺕ
.ﻭﺍﺣﺩ ﺃﻭ ﺃﻛﺛﺭ
– Data files belong to only one tablespace..ﺗﻧﺗﻣﻲ ﻣﻠﻔﺎﺕ ﺍﻟﺑﻳﺎﻧﺎﺕ ﺇﻟﻰ ﻣﺳﺎﺣﺔ ﺟﺩﻭﻝ ﻭﺍﺣﺩﺓ ﻓﻘﻁ
USERS tablespace
– Memory structures:
• System Global Area (SGA): Database buffer cache, redo
buffer, and various pools
• Program Global Area (PGA)
– Process structures:
• User process and server process
• Background processes: SMON, PMON, DBWn, CKPT,
LGWR, ARCn, and so on
– Storage structures:
• Logical: Database, schema, tablespace, segment, extent,
and Oracle block
• Physical: data files, control files, and redo log files