SlideShare a Scribd company logo
Copyright © 2009, Oracle. All rights reserved.
Core Concepts and Tools of the Oracle
Database
Copyright © 2009, Oracle. All rights reserved.
1 - 2
Objectives
After completing this lesson, you should be able to:
• Describe the core concepts of the Oracle Database
architecture with Automatic Storage Management (ASM)
• Use configuration and management DBA tools
• Describe the technical course environment
Copyright © 2009, Oracle. All rights reserved.
1 - 3
Naming the Core Components of an Oracle
Database Server
Database (Storage Structures)
Server
process
PGA
User
process
Instance
Memory Structures
(System Global Area)
Process Structures
Client
Server
Connection
Copyright © 2009, Oracle. All rights reserved.
1 - 4
Oracle Database Server Architecture Overview
Database (storage structures)
Server
process
PGA
User
process
Instance
Memory structures
(System Global Area)
Process structures
Client
Server
Session
Connection
Copyright © 2009, Oracle. All rights reserved.
1 - 6
Instance-Database Configurations
D1
D2
I1
I2
I1 I2 I3
D
Clustered system
Nonclustered system
Local
storage
Shared storage
Copyright © 2009, Oracle. All rights reserved.
1 - 7
Naming the Memory Structures
of an Oracle Database
Assign these names:
Shared
pool
Database
buffer
cache
Streams
pool
Large pool
Java
pool
Stack
Space
KEEP
buffer
pool
Recycle
buffer
pool
nK buffer
cache
User
Global
Area
Server
process
Redo log
buffer
Program Global Area (PGA)
System Global Area (SGA)
Copyright © 2009, Oracle. All rights reserved.
1 - 8
Oracle Database Memory Structures
Server
process 1
Shared pool
Database
buffer
cache
Redo log
buffer
Streams
pool
Large pool Java pool
Stack
Space
System Global Area (SGA)
Program Global Area (PGA)
Server
process 2
KEEP
buffer pool
Recycle
buffer pool
nK buffer
cache
User
Global
Area
Stack
Space
User
Global
Area
PGA
Copyright © 2009, Oracle. All rights reserved.
1 - 10
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
Copyright © 2009, Oracle. All rights reserved.
1 - 11
Process Structures
PMON
SMON
Others
Instances (ASM and Database separate)
RECO
ARCn
DBWn LGWR
CKPT
PGA
User
process
Server
process
Background processes
System Global Area (SGA)
Required:
ASMB RBAL
Optional:
Listener
Grid Infrastructure Processes
(ASM and Oracle Restart)
orarootagent
ohasd ocssd diskmon
oraagent cssdagent
Copyright © 2009, Oracle. All rights reserved.
1 - 13
Adding Process Names
1. The ______process writes the dirty
buffers to the data files.
2. The ______process writes the redo
entries to the online redo log files.
3. The ______process writes checkpoint
information in the control file and each
data file header.
4. The ______process performs recovery
on instance startup.
5. The ______process performs process
recovery when a user process fails.
6. The ______process resolves in-doubt
distributed transactions.
7. The ______processes copy redo log
files to a designated storage device.
A. Checkpoint process
(CKPT)
B. System monitor
process (SMON)
C. Recoverer process
(RECO)
D. Log writer process
(LGWR)
E. Archiver processes
(ARCn)
F. Process monitor
process (PMON)
G. Database writer
process (DBWn)
Copyright © 2009, Oracle. All rights reserved.
1 - 14
• Oracle Grid Infrastructure is started by the OS init daemon.
• Oracle Grid Infrastructure installation modifies the
/etc/inittab file to ensure startup every time the
machine is started in the corresponding run level.
Process Startup Sequence
init.ohasd
(root)
ohasd.bin
oraagent.bin
orarootagent.bin
diskmon.bin
cssdagent
ocssd.bin
init
Grid Infrastructure
Wrapper Script
Grid Infrastructure
Daemons and Processes
Operating System
Init Daemon
# cat /etc/inittab
..
h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null
ASM instance
Listener
DB instance
User-defined
applications
Copyright © 2009, Oracle. All rights reserved.
1 - 15
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
Copyright © 2009, Oracle. All rights reserved.
1 - 17
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
• RAW
Copyright © 2009, Oracle. All rights reserved.
1 - 19
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
Copyright © 2009, Oracle. All rights reserved.
1 - 20
ASM Storage Components
Oracle
Database
Data file
ASM
disk group
ASM disk
ASM file
ASM
extent
File system
or
Raw device
ASM
ASM allocation
Unit
Copyright © 2009, Oracle. All rights reserved.
1 - 21
ASM Instance
The ASM Instance is the process and memory components for
ASM.
Other misc. processes
System Global Area (SGA) – memory
Shared
pool
Large
pool
ASM
cache
Free
memory
Processes – CPU components
ASM instance
RBAL ARBn GMON Onnn PZ9n
MARK
Copyright © 2009, Oracle. All rights reserved.
1 - 23
DBA Configuration Tools
Setting up the technical environment for this course included
the following tasks and tools:
• Installing and configuring the Oracle Grid Infrastructure for
a stand-alone server with the OUI, including:
– Configuring a listener
– Creating an ASM instance (+ASM) and configuring the +DATA
disk group
– Configuring Oracle Restart
• Creating and configuring additional ASM disk groups (such
as +FRA) with asmca
• Installing the Oracle Database 11g software with OUI
• Creating the orcl Oracle database with dbca
Note: These tasks have already been performed for you.
Copyright © 2009, Oracle. All rights reserved.
1 - 25
Management Framework and Related DBA Tools
The Oracle database
management framework
includes:
• Database instance
• Listener
• Management interface:
– Management agent
(when using Grid Control)
– Database Control
Related tools and commands include:
SQL*Plus:
Listener Control utility:
Enterprise Manager Control utility:
$ emctl status dbconsole
$ emctl start dbconsole
$ emctl stop dbconsole
$ lsnrctl status
SQL> startup
SQL> shutdown immediate
Copyright © 2009, Oracle. All rights reserved.
1 - 26
Facilitating Database Management with
Oracle Restart
• Restarting Oracle components when the host computer
restarts or after hardware or software failure
• Monitoring components and restarting them, if needed
• For single-instance environments
• Considering component dependencies:
– Mounting disk groups and starting the ASM instance before
starting the database instance
– Soft dependency between the database instance and the
listener
• Starting Oracle Restart with the crsctl utility
• Managing Oracle Restart components with the srvctl
utility
$ srvctl stop database –d orcl –o abort
Copyright © 2009, Oracle. All rights reserved.
1 - 28
Quiz
Oracle Restart is installed and configured as part of an Oracle
Grid Infrastructure for stand-alone server installation.
1. True
2. False
Copyright © 2009, Oracle. All rights reserved.
1 - 29
Summary
In this lesson, you should have learned how to:
• Describe the core concepts of the Oracle Database
architecture with ASM
• Determine which DBA configuration and management
tools to use for which task
• Describe the technical course environment
orcl +asm
DATA
FRA
Enterprise Manager
Command line
Ad

More Related Content

Similar to les_01_core.ppt (20)

Oracle Database 11g SQL Tuning Workshop - Student Guide.pdf
Oracle Database 11g SQL Tuning Workshop - Student Guide.pdfOracle Database 11g SQL Tuning Workshop - Student Guide.pdf
Oracle Database 11g SQL Tuning Workshop - Student Guide.pdf
Rajendra Jain
 
Adavanced Databases and Mangement system
Adavanced Databases and Mangement systemAdavanced Databases and Mangement system
Adavanced Databases and Mangement system
MurtazaMughal13
 
Overview of Primary Components of the Oracle
Overview of Primary Components of the OracleOverview of Primary Components of the Oracle
Overview of Primary Components of the Oracle
umarodnguj
 
Lecture2 oracle ppt
Lecture2 oracle pptLecture2 oracle ppt
Lecture2 oracle ppt
Hitesh Kumar Markam
 
01-Oracle 19c-Architecture Overview Oracle
01-Oracle 19c-Architecture Overview Oracle01-Oracle 19c-Architecture Overview Oracle
01-Oracle 19c-Architecture Overview Oracle
FreddyRonaldSandoval
 
Oracle DB installation using Oracle universal installer
Oracle DB installation using Oracle universal installerOracle DB installation using Oracle universal installer
Oracle DB installation using Oracle universal installer
pshankarnarayan
 
Less01 db architecture
Less01 db architectureLess01 db architecture
Less01 db architecture
Imran Ali
 
Oracle apps dba training dba technologies
Oracle apps dba training   dba technologiesOracle apps dba training   dba technologies
Oracle apps dba training dba technologies
sanind88
 
Less02installation 100330034101-phpapp02
Less02installation 100330034101-phpapp02Less02installation 100330034101-phpapp02
Less02installation 100330034101-phpapp02
Rati Manandhar
 
Installing your Oracle Software.ppt
Installing your Oracle Software.pptInstalling your Oracle Software.ppt
Installing your Oracle Software.ppt
MohammedHdi1
 
Oracle Instance Architecture.ppt
Oracle Instance Architecture.pptOracle Instance Architecture.ppt
Oracle Instance Architecture.ppt
HODCA1
 
01_Architecture_JFV14_01_Architecture_JFV14.ppt
01_Architecture_JFV14_01_Architecture_JFV14.ppt01_Architecture_JFV14_01_Architecture_JFV14.ppt
01_Architecture_JFV14_01_Architecture_JFV14.ppt
MahmoudGad93
 
Oracle & sql server comparison 2
Oracle & sql server comparison 2Oracle & sql server comparison 2
Oracle & sql server comparison 2
Mohsen B
 
les12.pdf
les12.pdfles12.pdf
les12.pdf
VAMSICHOWDARY61
 
Less02 installation
Less02 installationLess02 installation
Less02 installation
Imran Ali
 
ora_sothea
ora_sotheaora_sothea
ora_sothea
thysothea
 
Oracle architecture
Oracle architectureOracle architecture
Oracle architecture
Soumya Das
 
Les 02 config
Les 02 configLes 02 config
Les 02 config
Femi Adeyemi
 
DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)
Gustavo Rene Antunez
 
Oracle Architecture software overview ppts
Oracle Architecture software overview pptsOracle Architecture software overview ppts
Oracle Architecture software overview ppts
ssuserf272701
 
Oracle Database 11g SQL Tuning Workshop - Student Guide.pdf
Oracle Database 11g SQL Tuning Workshop - Student Guide.pdfOracle Database 11g SQL Tuning Workshop - Student Guide.pdf
Oracle Database 11g SQL Tuning Workshop - Student Guide.pdf
Rajendra Jain
 
Adavanced Databases and Mangement system
Adavanced Databases and Mangement systemAdavanced Databases and Mangement system
Adavanced Databases and Mangement system
MurtazaMughal13
 
Overview of Primary Components of the Oracle
Overview of Primary Components of the OracleOverview of Primary Components of the Oracle
Overview of Primary Components of the Oracle
umarodnguj
 
01-Oracle 19c-Architecture Overview Oracle
01-Oracle 19c-Architecture Overview Oracle01-Oracle 19c-Architecture Overview Oracle
01-Oracle 19c-Architecture Overview Oracle
FreddyRonaldSandoval
 
Oracle DB installation using Oracle universal installer
Oracle DB installation using Oracle universal installerOracle DB installation using Oracle universal installer
Oracle DB installation using Oracle universal installer
pshankarnarayan
 
Less01 db architecture
Less01 db architectureLess01 db architecture
Less01 db architecture
Imran Ali
 
Oracle apps dba training dba technologies
Oracle apps dba training   dba technologiesOracle apps dba training   dba technologies
Oracle apps dba training dba technologies
sanind88
 
Less02installation 100330034101-phpapp02
Less02installation 100330034101-phpapp02Less02installation 100330034101-phpapp02
Less02installation 100330034101-phpapp02
Rati Manandhar
 
Installing your Oracle Software.ppt
Installing your Oracle Software.pptInstalling your Oracle Software.ppt
Installing your Oracle Software.ppt
MohammedHdi1
 
Oracle Instance Architecture.ppt
Oracle Instance Architecture.pptOracle Instance Architecture.ppt
Oracle Instance Architecture.ppt
HODCA1
 
01_Architecture_JFV14_01_Architecture_JFV14.ppt
01_Architecture_JFV14_01_Architecture_JFV14.ppt01_Architecture_JFV14_01_Architecture_JFV14.ppt
01_Architecture_JFV14_01_Architecture_JFV14.ppt
MahmoudGad93
 
Oracle & sql server comparison 2
Oracle & sql server comparison 2Oracle & sql server comparison 2
Oracle & sql server comparison 2
Mohsen B
 
Less02 installation
Less02 installationLess02 installation
Less02 installation
Imran Ali
 
Oracle architecture
Oracle architectureOracle architecture
Oracle architecture
Soumya Das
 
DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)
Gustavo Rene Antunez
 
Oracle Architecture software overview ppts
Oracle Architecture software overview pptsOracle Architecture software overview ppts
Oracle Architecture software overview ppts
ssuserf272701
 

Recently uploaded (20)

What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Download YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full ActivatedDownload YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full Activated
saniamalik72555
 
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& ConsiderationsDesigning AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Dinusha Kumarasiri
 
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
EASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License CodeEASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License Code
aneelaramzan63
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025
kashifyounis067
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
Egor Kaleynik
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Download YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full ActivatedDownload YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full Activated
saniamalik72555
 
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& ConsiderationsDesigning AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Dinusha Kumarasiri
 
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
EASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License CodeEASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License Code
aneelaramzan63
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025
kashifyounis067
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
Egor Kaleynik
 
Ad

les_01_core.ppt

  • 1. Copyright © 2009, Oracle. All rights reserved. Core Concepts and Tools of the Oracle Database
  • 2. Copyright © 2009, Oracle. All rights reserved. 1 - 2 Objectives After completing this lesson, you should be able to: • Describe the core concepts of the Oracle Database architecture with Automatic Storage Management (ASM) • Use configuration and management DBA tools • Describe the technical course environment
  • 3. Copyright © 2009, Oracle. All rights reserved. 1 - 3 Naming the Core Components of an Oracle Database Server Database (Storage Structures) Server process PGA User process Instance Memory Structures (System Global Area) Process Structures Client Server Connection
  • 4. Copyright © 2009, Oracle. All rights reserved. 1 - 4 Oracle Database Server Architecture Overview Database (storage structures) Server process PGA User process Instance Memory structures (System Global Area) Process structures Client Server Session Connection
  • 5. Copyright © 2009, Oracle. All rights reserved. 1 - 6 Instance-Database Configurations D1 D2 I1 I2 I1 I2 I3 D Clustered system Nonclustered system Local storage Shared storage
  • 6. Copyright © 2009, Oracle. All rights reserved. 1 - 7 Naming the Memory Structures of an Oracle Database Assign these names: Shared pool Database buffer cache Streams pool Large pool Java pool Stack Space KEEP buffer pool Recycle buffer pool nK buffer cache User Global Area Server process Redo log buffer Program Global Area (PGA) System Global Area (SGA)
  • 7. Copyright © 2009, Oracle. All rights reserved. 1 - 8 Oracle Database Memory Structures Server process 1 Shared pool Database buffer cache Redo log buffer Streams pool Large pool Java pool Stack Space System Global Area (SGA) Program Global Area (PGA) Server process 2 KEEP buffer pool Recycle buffer pool nK buffer cache User Global Area Stack Space User Global Area PGA
  • 8. Copyright © 2009, Oracle. All rights reserved. 1 - 10 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
  • 9. Copyright © 2009, Oracle. All rights reserved. 1 - 11 Process Structures PMON SMON Others Instances (ASM and Database separate) RECO ARCn DBWn LGWR CKPT PGA User process Server process Background processes System Global Area (SGA) Required: ASMB RBAL Optional: Listener Grid Infrastructure Processes (ASM and Oracle Restart) orarootagent ohasd ocssd diskmon oraagent cssdagent
  • 10. Copyright © 2009, Oracle. All rights reserved. 1 - 13 Adding Process Names 1. The ______process writes the dirty buffers to the data files. 2. The ______process writes the redo entries to the online redo log files. 3. The ______process writes checkpoint information in the control file and each data file header. 4. The ______process performs recovery on instance startup. 5. The ______process performs process recovery when a user process fails. 6. The ______process resolves in-doubt distributed transactions. 7. The ______processes copy redo log files to a designated storage device. A. Checkpoint process (CKPT) B. System monitor process (SMON) C. Recoverer process (RECO) D. Log writer process (LGWR) E. Archiver processes (ARCn) F. Process monitor process (PMON) G. Database writer process (DBWn)
  • 11. Copyright © 2009, Oracle. All rights reserved. 1 - 14 • Oracle Grid Infrastructure is started by the OS init daemon. • Oracle Grid Infrastructure installation modifies the /etc/inittab file to ensure startup every time the machine is started in the corresponding run level. Process Startup Sequence init.ohasd (root) ohasd.bin oraagent.bin orarootagent.bin diskmon.bin cssdagent ocssd.bin init Grid Infrastructure Wrapper Script Grid Infrastructure Daemons and Processes Operating System Init Daemon # cat /etc/inittab .. h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null ASM instance Listener DB instance User-defined applications
  • 12. Copyright © 2009, Oracle. All rights reserved. 1 - 15 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
  • 13. Copyright © 2009, Oracle. All rights reserved. 1 - 17 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 • RAW
  • 14. Copyright © 2009, Oracle. All rights reserved. 1 - 19 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
  • 15. Copyright © 2009, Oracle. All rights reserved. 1 - 20 ASM Storage Components Oracle Database Data file ASM disk group ASM disk ASM file ASM extent File system or Raw device ASM ASM allocation Unit
  • 16. Copyright © 2009, Oracle. All rights reserved. 1 - 21 ASM Instance The ASM Instance is the process and memory components for ASM. Other misc. processes System Global Area (SGA) – memory Shared pool Large pool ASM cache Free memory Processes – CPU components ASM instance RBAL ARBn GMON Onnn PZ9n MARK
  • 17. Copyright © 2009, Oracle. All rights reserved. 1 - 23 DBA Configuration Tools Setting up the technical environment for this course included the following tasks and tools: • Installing and configuring the Oracle Grid Infrastructure for a stand-alone server with the OUI, including: – Configuring a listener – Creating an ASM instance (+ASM) and configuring the +DATA disk group – Configuring Oracle Restart • Creating and configuring additional ASM disk groups (such as +FRA) with asmca • Installing the Oracle Database 11g software with OUI • Creating the orcl Oracle database with dbca Note: These tasks have already been performed for you.
  • 18. Copyright © 2009, Oracle. All rights reserved. 1 - 25 Management Framework and Related DBA Tools The Oracle database management framework includes: • Database instance • Listener • Management interface: – Management agent (when using Grid Control) – Database Control Related tools and commands include: SQL*Plus: Listener Control utility: Enterprise Manager Control utility: $ emctl status dbconsole $ emctl start dbconsole $ emctl stop dbconsole $ lsnrctl status SQL> startup SQL> shutdown immediate
  • 19. Copyright © 2009, Oracle. All rights reserved. 1 - 26 Facilitating Database Management with Oracle Restart • Restarting Oracle components when the host computer restarts or after hardware or software failure • Monitoring components and restarting them, if needed • For single-instance environments • Considering component dependencies: – Mounting disk groups and starting the ASM instance before starting the database instance – Soft dependency between the database instance and the listener • Starting Oracle Restart with the crsctl utility • Managing Oracle Restart components with the srvctl utility $ srvctl stop database –d orcl –o abort
  • 20. Copyright © 2009, Oracle. All rights reserved. 1 - 28 Quiz Oracle Restart is installed and configured as part of an Oracle Grid Infrastructure for stand-alone server installation. 1. True 2. False
  • 21. Copyright © 2009, Oracle. All rights reserved. 1 - 29 Summary In this lesson, you should have learned how to: • Describe the core concepts of the Oracle Database architecture with ASM • Determine which DBA configuration and management tools to use for which task • Describe the technical course environment orcl +asm DATA FRA Enterprise Manager Command line