SlideShare a Scribd company logo
1 of 19
WELCOME TO DBA TECHNOLOGIES
ORACLE DATABASE ARCHITECTURE – 1
By
Mr. PRASAD MYNUMPATI
18 Years Real Time in
INDIA-USA

http://www.dbatechnologies.net/
www.dbatechnologies.net
Building Career With Passion
Architecture

Main components of Architecture
1. ORACLE

INSTANCE

SGA (Memory) &
Background Process
2.

ORACLE DATABASE

Storage Level
ORACLE Instance Architecture – SGA

What is ORACLE INSTANCE?
Physical Memory (SGA) & Processes
SGA should be able to open in physical memory

What is SWAP?
Swap also a type of file system on HDD, it is used by OS when Real memory usage is at high
Swap must be available before installing Oracle Software
Oracle Instance Architecture – PROCESSES

Each connection to UNIX operating system is process
While starting up instance
– SGA (Memory Structures)
– Background Process ($ps)
Background process are required to manage memory structures and
database files.
Some of the important background process are: DBWn, LGWR,
SMON, PMON, ARCH,RECO
Instance Architecture
SGA - Mandate and Optional memory structures and background processes

Streams Pool

Large
DBWn

LGWR

SMON

PMON

CKPT

RECO
What is ORACLE DATABASE?

ORACLE DATABASE is a combination of 3 different types of files
Different types of files (C,R,D)
-Control Files
-Redo log files
-Data files
DB Architecture - Control Files

Control Files – Holds data about database structure (physical database
structural information)

Importance of control file
– Database can not be started with out control file
– Multiplexing to support from failures
– Supports up to 8 file copies
DB Architecture – Control Files

Contents of Control file
•

Database Name and database id

• Database creation date and time

• All database file names (data files)
• Location of each data file
• Age of each file (Checkpoint Information)
• Current online log sequence number
• Checkpoint number
• Backup information
DB Architecture - Data File

Data Files
Stores actual data permanently in ORACLE proprietary
files called data files.
Data files are going to be on file system like
-UNIX
-EXT2
-EXT3
-NTFS (in case of windows)

Minimum 3 data base files are required from 10g
-System
-Undo
-Sysaux
DB Architecture - Redo log files

Stores all changes in the form of change vectors for recovery
Changes are saved to Data Files and Redo Log Files – what is the
difference?

Changes to REDO LOG FILES are in the form of change vectors
– Block id
– File id
– Change details

Changes to Data files are in the form of rows and blocks
DB Architecture
Control files : minimum 1. Stores Database structural information.
Recommended 3 files.
Disk1
Control

Disk2
Control

Disk3
Control

Data files : Minimum 3 from 10g. Stores data permanently for retrieval purpose.

System

Undo

Sysaux

Redo log files: Minimum -2

holds all changes in the form
of changes vectors for recovery

Rego1a
.log

Redo2a
.log
Oracle Server
Oracle Server is the combination of Oracle Instance &
Oracle database.
Database access is only via Instance
SGA

Database

> Select
From

Emp;
User Process

DBBC

SP
LC

DDC

REDO LOG

BUFFERS

Back ground Processes

Control
Redo
Data
Files
Logical and Physical aspect of Oracle database

DATABASE

PHYSICAL

LOGICAL

Control
Files
Data Files
Redo Log
Files

Tables
Views
Procedures
Triggers
IS INSTANCE PHYSICAL OR LOGICAL ?
LOGICAL

INSTANCE

PHYSICAL

?

NEITHER

IT IS VOLATILE
ORACLE Database TS Architecture
SYSTEM TABLE SPACE

SYSAUX TABLESPACE
UNDO TABLESPACE
TEMPORARY TABLESAPCE

DATA TABLESPACE

INDEX TABLESPACE
Database Architecture – SYSTEM TS

Users should not keep application data on SYSTEM
tablespace.It is only to support base tables like.
TAB$
COL$
IND$
Base Tables are created during the creation of data base
to support metadata.
Database Architecture – SYSAUX TS
SYSAUX tablespace introduced in version 10g
Supports work load repository Reports such as AWR
and ADDM willmake use of SYSAUX to generate
reports
Helps in understanding the performance at SERVER
level
Database Architecture – UNDO TS

UNDO tablespace is to support image during DML
operations
Supports Read consistency
Flashback operations
Rollback transactions
Contents of UNDO TS type is UNDO it is not
permanent
Building career with passion

QUESTION AND ANSWER SESSION

DSNR:944 11 72 718/040-65555689

www.dbatechnologies.net

More Related Content

What's hot

Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and Architecture
Sidney Chen
 
Oracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ AutodeskOracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ Autodesk
Alan Williams
 

What's hot (20)

Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and Architecture
 
Presentation oracle net services
Presentation    oracle net servicesPresentation    oracle net services
Presentation oracle net services
 
Introduction to oracle(2)
Introduction to oracle(2)Introduction to oracle(2)
Introduction to oracle(2)
 
Oracle DBA
Oracle DBAOracle DBA
Oracle DBA
 
Rman Presentation
Rman PresentationRman Presentation
Rman Presentation
 
153 Oracle dba interview questions
153 Oracle dba interview questions153 Oracle dba interview questions
153 Oracle dba interview questions
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
 
Oracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ AutodeskOracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ Autodesk
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
 
Rear
RearRear
Rear
 
12. oracle database architecture
12. oracle database architecture12. oracle database architecture
12. oracle database architecture
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oracle
 
Oracle database introduction
Oracle database introductionOracle database introduction
Oracle database introduction
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentation
 
Rac questions
Rac questionsRac questions
Rac questions
 
White Paper, System Z Dataset Naming Standards
White Paper, System Z Dataset Naming StandardsWhite Paper, System Z Dataset Naming Standards
White Paper, System Z Dataset Naming Standards
 
11.file system implementation
11.file system implementation11.file system implementation
11.file system implementation
 
10 Problems with your RMAN backup script
10 Problems with your RMAN backup script10 Problems with your RMAN backup script
10 Problems with your RMAN backup script
 
Presentation backup and recovery best practices for very large databases (v...
Presentation   backup and recovery best practices for very large databases (v...Presentation   backup and recovery best practices for very large databases (v...
Presentation backup and recovery best practices for very large databases (v...
 

Similar to Oracle apps dba training dba technologies

les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_
tricantino1973
 
Oracle Instance Architecture.ppt
Oracle Instance Architecture.pptOracle Instance Architecture.ppt
Oracle Instance Architecture.ppt
HODCA1
 
Less01 db architecture
Less01 db architectureLess01 db architecture
Less01 db architecture
Imran Ali
 
Capitulo 01 Dba 2
Capitulo 01 Dba 2Capitulo 01 Dba 2
Capitulo 01 Dba 2
Julio Pari
 

Similar to Oracle apps dba training dba technologies (20)

exploring-the-oracle-database-architecture.ppt
exploring-the-oracle-database-architecture.pptexploring-the-oracle-database-architecture.ppt
exploring-the-oracle-database-architecture.ppt
 
Exploring the Oracle Database Architecture.ppt
Exploring the Oracle Database Architecture.pptExploring the Oracle Database Architecture.ppt
Exploring the Oracle Database Architecture.ppt
 
Less01_Architecture.ppt
Less01_Architecture.pptLess01_Architecture.ppt
Less01_Architecture.ppt
 
les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_
 
Les 01 core
Les 01 coreLes 01 core
Les 01 core
 
les_01_core.ppt
les_01_core.pptles_01_core.ppt
les_01_core.ppt
 
Introduction to oracle
Introduction to oracleIntroduction to oracle
Introduction to oracle
 
Oracle architecture
Oracle architectureOracle architecture
Oracle architecture
 
Oracle Instance Architecture.ppt
Oracle Instance Architecture.pptOracle Instance Architecture.ppt
Oracle Instance Architecture.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)
DBA 101 : Calling all New Database Administrators (PPT)
 
ora_sothea
ora_sotheaora_sothea
ora_sothea
 
Les 01 Arch
Les 01 ArchLes 01 Arch
Les 01 Arch
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case study
 
RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)
 
App D
App DApp D
App D
 
5 backuprecoveryw imp
5 backuprecoveryw imp5 backuprecoveryw imp
5 backuprecoveryw imp
 
Tendencias Storage
Tendencias StorageTendencias Storage
Tendencias Storage
 
Less01 db architecture
Less01 db architectureLess01 db architecture
Less01 db architecture
 
Business Continuty Solution
Business Continuty SolutionBusiness Continuty Solution
Business Continuty Solution
 
Capitulo 01 Dba 2
Capitulo 01 Dba 2Capitulo 01 Dba 2
Capitulo 01 Dba 2
 

Recently uploaded

Recently uploaded (20)

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Oracle apps dba training dba technologies

  • 1. WELCOME TO DBA TECHNOLOGIES ORACLE DATABASE ARCHITECTURE – 1 By Mr. PRASAD MYNUMPATI 18 Years Real Time in INDIA-USA http://www.dbatechnologies.net/ www.dbatechnologies.net Building Career With Passion
  • 2. Architecture Main components of Architecture 1. ORACLE INSTANCE SGA (Memory) & Background Process 2. ORACLE DATABASE Storage Level
  • 3. ORACLE Instance Architecture – SGA What is ORACLE INSTANCE? Physical Memory (SGA) & Processes SGA should be able to open in physical memory What is SWAP? Swap also a type of file system on HDD, it is used by OS when Real memory usage is at high Swap must be available before installing Oracle Software
  • 4. Oracle Instance Architecture – PROCESSES Each connection to UNIX operating system is process While starting up instance – SGA (Memory Structures) – Background Process ($ps) Background process are required to manage memory structures and database files. Some of the important background process are: DBWn, LGWR, SMON, PMON, ARCH,RECO
  • 5. Instance Architecture SGA - Mandate and Optional memory structures and background processes Streams Pool Large DBWn LGWR SMON PMON CKPT RECO
  • 6. What is ORACLE DATABASE? ORACLE DATABASE is a combination of 3 different types of files Different types of files (C,R,D) -Control Files -Redo log files -Data files
  • 7. DB Architecture - Control Files Control Files – Holds data about database structure (physical database structural information) Importance of control file – Database can not be started with out control file – Multiplexing to support from failures – Supports up to 8 file copies
  • 8. DB Architecture – Control Files Contents of Control file • Database Name and database id • Database creation date and time • All database file names (data files) • Location of each data file • Age of each file (Checkpoint Information) • Current online log sequence number • Checkpoint number • Backup information
  • 9. DB Architecture - Data File Data Files Stores actual data permanently in ORACLE proprietary files called data files. Data files are going to be on file system like -UNIX -EXT2 -EXT3 -NTFS (in case of windows) Minimum 3 data base files are required from 10g -System -Undo -Sysaux
  • 10. DB Architecture - Redo log files Stores all changes in the form of change vectors for recovery Changes are saved to Data Files and Redo Log Files – what is the difference? Changes to REDO LOG FILES are in the form of change vectors – Block id – File id – Change details Changes to Data files are in the form of rows and blocks
  • 11. DB Architecture Control files : minimum 1. Stores Database structural information. Recommended 3 files. Disk1 Control Disk2 Control Disk3 Control Data files : Minimum 3 from 10g. Stores data permanently for retrieval purpose. System Undo Sysaux Redo log files: Minimum -2 holds all changes in the form of changes vectors for recovery Rego1a .log Redo2a .log
  • 12. Oracle Server Oracle Server is the combination of Oracle Instance & Oracle database. Database access is only via Instance SGA Database > Select From Emp; User Process DBBC SP LC DDC REDO LOG BUFFERS Back ground Processes Control Redo Data Files
  • 13. Logical and Physical aspect of Oracle database DATABASE PHYSICAL LOGICAL Control Files Data Files Redo Log Files Tables Views Procedures Triggers
  • 14. IS INSTANCE PHYSICAL OR LOGICAL ? LOGICAL INSTANCE PHYSICAL ? NEITHER IT IS VOLATILE
  • 15. ORACLE Database TS Architecture SYSTEM TABLE SPACE SYSAUX TABLESPACE UNDO TABLESPACE TEMPORARY TABLESAPCE DATA TABLESPACE INDEX TABLESPACE
  • 16. Database Architecture – SYSTEM TS Users should not keep application data on SYSTEM tablespace.It is only to support base tables like. TAB$ COL$ IND$ Base Tables are created during the creation of data base to support metadata.
  • 17. Database Architecture – SYSAUX TS SYSAUX tablespace introduced in version 10g Supports work load repository Reports such as AWR and ADDM willmake use of SYSAUX to generate reports Helps in understanding the performance at SERVER level
  • 18. Database Architecture – UNDO TS UNDO tablespace is to support image during DML operations Supports Read consistency Flashback operations Rollback transactions Contents of UNDO TS type is UNDO it is not permanent
  • 19. Building career with passion QUESTION AND ANSWER SESSION DSNR:944 11 72 718/040-65555689 www.dbatechnologies.net