SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Oracle Architecture in Nutshell
1Z0-042 Oracle Administration I
                      Chapter-2
DBA learning by presentation offered by
    DBAMETRIX Solutions.
    This all presentations have been prepared by





    Gitesh P Trivedi.
    Gitesh Trivedi has work excellent 14 years





    experience in DBA field and as consultant
    faculty.





    For more details please contact to
    www.dbametrix.com or gitesh@dbametrix.com
    or giteshtrivedi@yahoo.com

There are two components of Oracle
    Software.
    First is Database component.





    Second is Instance component.





    There are lots of sub components attached
    with these parent components.





    In this chapter we will get depth study of





    each component.

There are 2 sub-components of Database
    layout.
    First called as Physical Structure of





    Database.
    Second called as Logical Structure of





    Database.
    Both sub-components have own properties.





    Both sub-components have own
    importance.



Database




                               LOGICAL Database
PHYSICAL Database
Physical database structure contains following
    layouts.
    Control files





    Datafiles
    Redo Log files





    Parameter file (init.ora and spfile.ora)





    Password file





    Trace files (including alert.log)





    Audit files (if sys audit is enabled in database).





    All are equally important for database.





There is no physical identity for logical
    structure of database.
    Schema





    Tablespace





    Segment





    Extent





    Oracle block



Each database logically divides in to one or more
    tablespaces.
    Each tablespace consists with one or more physical





    datafile.
    Total size of datafiles in the database is the total size





    of database.
    Each tablespace contains one or more logical





    segments.
    Each segment contains with extents.





    Each tablespace contains more than one extents.
    Each extents contains contagious Oracle data blocks.





Tablespace contains
number of schema or
      extents




                                                  Schema contains
                                                 number of segments


                                          Segment contains No of
                                                extents




                                          Extent contains Oracle
                                               cont. blocks

                      Oracle Data Block
Oracle data block is the finest unit of Oracle database.
    Extent is made by contiguous oracle blocks.
    Segment contains one or more extents.





    Schema is made up by one or more segments.





    Tablespace contains one or more schema.





    Means logical tablespace divides in to logical Oracle data





    blocks.





    Logical tablespace contains one or more PHYSICAL





    datafile.
    Each Oracle data block occupies physical Operating





    system’s block.
    Actually finest physical unit is Operating System block.





Instance populates in Memory.
    It consists with System Global Area and
    background processes.





    When Database starts Oracle server reads





    parameter meter file for allocating SGA.
    Sub-components of SGA and background





    processes started called “instance started”.
    Populated in memory region of server.






rrrrr Irrrrrrr
O



                                                           C
                      Log                                  o
      Buffer Cache                   Shared Pool           n
                     Buffer
                                                           S
                                                           tr



      Java Pool         Large Pool           Stream Pool




                         LGWR
At startup of database Oracle server reads
    Parameter file for parameters about SGA’s sub-
    components like buffer cache, log buffer, shared





    pool, java pool etc.
    It allocating granules for these all sub parts of SGA.
    Simultaneously mandatory background processes
    are started like SMON, DBWR, LGWR, CKPT, PMON.





    If instance was crashed during past shutdown or





    abnormal shutdown was performed then Instance
    recovery will be enabling during Instance start.





   Instance recovery held by SMON.
SMON is called System Monitor.
    Performs Instance recovery.





    Performs temporary segment allocation and
    de-allocation.





    Performs coal lesion of tablespace





    fragmentations.
    Mandatory background process for Instance.





    If died or killed then Oracle instance will crash.



DBWR is called Database Writer.
    Writes buffers from Database Buffer Cache to
    datafiles.





    May be one or more DBWR process available in





    Database. Shadow process called slave process
    can be configured.





    More DBWR writes faster on disk.
    When CKPT triggers, DBWR writes data dirty
    buffers in to datafiles.





    Maximum processes are available 20.





CKPT is called as Checkpoint process.
    It triggers when empty buffers are needed in Buffer Cache.
    It updates control file and data file’s header with system change no.





    It is very useful for synchronization of data.





    Types of ckpt are full checkpoint, fast checkpoint, local checkpoint and





    global checkpoint.





    During fast checkpoint it contains checkpoint queue which reflects in





    controlfile and log buffer with respective SCN number.
    It controls instance recovery time.





    During redo log switch it also occurs.
     We can perform manual checkpoint using command “alter system





    checkpoint”





    During shutdown normal, transactional, immediate it occurs.





    During tablespace taking online or offline it also occurs.
    It occurs while issuing command “alter system switch logfile”





LGWR is called as Log Writer Process.
     It writes from Redo log buffer to Redo log files.
    During commit operation, LGWR writes data





    from log buffer to redo log file.





    If log buffer is 1/3 full then also it flushes data





    in to redo log file.
    It writes data in to redo files every 3 sec.





    It flushes data while DBWR singled.
    Only one process is available.





PMON is called as Process Monitor.
    It clears locks.
    It clears resource of dead user process.





    It wakes up periodically (every 3 seconds) and





    pings every user process connection for





    housekeeping.





    It registers connection between dispatcher and
    instance to listener in MTS server.
    It clears up and rollback uncommitted





    transactions.

Oracle Server has 2 primary components.
    Called Database and Instance.
    Both part contains 2 sub components.





    Physical and Logical are sub-parts of Database.





    SGA and Background processes are sub-parts





    of Instance.





    All part has own characteristic & importance.





    After clearing this, learning of DBA becomes
    very easy.



Oracle Architecture in Nutshell
1Z0-042 Oracle Administration I
                      Chapter-2
 Prepared by Gitesh Trivedi
gitesh@www.dbametrix.com

Weitere ähnliche Inhalte

Was ist angesagt?

Oracle Architecture
Oracle ArchitectureOracle Architecture
Oracle ArchitectureNeeraj Singh
 
Rman Presentation
Rman PresentationRman Presentation
Rman PresentationRick van Ek
 
Oracle RDBMS architecture
Oracle RDBMS architectureOracle RDBMS architecture
Oracle RDBMS architectureMartin Berger
 
Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture pptDeepak Shetty
 
What’s new in oracle 12c recovery manager (rman)
What’s new in oracle 12c recovery manager (rman)What’s new in oracle 12c recovery manager (rman)
What’s new in oracle 12c recovery manager (rman)Satishbabu Gunukula
 
Presentation oracle net services
Presentation    oracle net servicesPresentation    oracle net services
Presentation oracle net servicesxKinAnx
 
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 @ AutodeskAlan Williams
 
Backup and Recovery Procedure
Backup and Recovery ProcedureBackup and Recovery Procedure
Backup and Recovery ProcedureAnar Godjaev
 
Active dataguard
Active dataguardActive dataguard
Active dataguardManoj Kumar
 
Memory management in oracle
Memory management in oracleMemory management in oracle
Memory management in oracleDavin Abraham
 
Présentation Oracle DataBase 11g
Présentation Oracle DataBase 11gPrésentation Oracle DataBase 11g
Présentation Oracle DataBase 11gCynapsys It Hotspot
 
Database recovery techniques
Database recovery techniquesDatabase recovery techniques
Database recovery techniquespusp220
 
Oracle rac cachefusion - High Availability Day 2015
Oracle rac cachefusion - High Availability Day 2015Oracle rac cachefusion - High Availability Day 2015
Oracle rac cachefusion - High Availability Day 2015aioughydchapter
 
Oracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slidesOracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slidesSaiful
 
Sap basis administrator user guide
Sap basis administrator   user guideSap basis administrator   user guide
Sap basis administrator user guidePoguttuezhiniVP
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationFrancisco Alvarez
 

Was ist angesagt? (20)

Rac questions
Rac questionsRac questions
Rac questions
 
Oracle Architecture
Oracle ArchitectureOracle Architecture
Oracle Architecture
 
Rman Presentation
Rman PresentationRman Presentation
Rman Presentation
 
Oracle RDBMS architecture
Oracle RDBMS architectureOracle RDBMS architecture
Oracle RDBMS architecture
 
Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture ppt
 
Less01 Dba1
Less01 Dba1Less01 Dba1
Less01 Dba1
 
What’s new in oracle 12c recovery manager (rman)
What’s new in oracle 12c recovery manager (rman)What’s new in oracle 12c recovery manager (rman)
What’s new in oracle 12c recovery manager (rman)
 
Presentation oracle net services
Presentation    oracle net servicesPresentation    oracle net services
Presentation oracle net services
 
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 Recovery Procedure
Backup and Recovery ProcedureBackup and Recovery Procedure
Backup and Recovery Procedure
 
Active dataguard
Active dataguardActive dataguard
Active dataguard
 
Memory management in oracle
Memory management in oracleMemory management in oracle
Memory management in oracle
 
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
 
Présentation Oracle DataBase 11g
Présentation Oracle DataBase 11gPrésentation Oracle DataBase 11g
Présentation Oracle DataBase 11g
 
Les 01 Arch
Les 01 ArchLes 01 Arch
Les 01 Arch
 
Database recovery techniques
Database recovery techniquesDatabase recovery techniques
Database recovery techniques
 
Oracle rac cachefusion - High Availability Day 2015
Oracle rac cachefusion - High Availability Day 2015Oracle rac cachefusion - High Availability Day 2015
Oracle rac cachefusion - High Availability Day 2015
 
Oracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slidesOracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slides
 
Sap basis administrator user guide
Sap basis administrator   user guideSap basis administrator   user guide
Sap basis administrator user guide
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? Presentation
 

Andere mochten auch

Baaer Oracle services
Baaer Oracle servicesBaaer Oracle services
Baaer Oracle servicesAssen Natchev
 
marubesystems.com: Web Design, Web Development, Digital Marketing, SAP/Oracle...
marubesystems.com: Web Design, Web Development, Digital Marketing, SAP/Oracle...marubesystems.com: Web Design, Web Development, Digital Marketing, SAP/Oracle...
marubesystems.com: Web Design, Web Development, Digital Marketing, SAP/Oracle...Marube Systems
 
YKP CONSULTING - ORACLE, JD EDWARDS, IBM, THOMSON REUTERS, SOFTWAY
YKP CONSULTING - ORACLE, JD EDWARDS, IBM, THOMSON REUTERS, SOFTWAYYKP CONSULTING - ORACLE, JD EDWARDS, IBM, THOMSON REUTERS, SOFTWAY
YKP CONSULTING - ORACLE, JD EDWARDS, IBM, THOMSON REUTERS, SOFTWAYykpconsulting
 
iWare Logic Oracle Applications And Technologies Services Company
iWare Logic Oracle Applications And Technologies Services Company iWare Logic Oracle Applications And Technologies Services Company
iWare Logic Oracle Applications And Technologies Services Company iWare Logic Technologies Pvt. Ltd.
 
Company Profile SAP and Oracle 2016 1.1
Company Profile SAP and Oracle 2016 1.1Company Profile SAP and Oracle 2016 1.1
Company Profile SAP and Oracle 2016 1.1Sajjad Syed
 
Raport z monitoringu budżetu obywatelskiego w Kętach
Raport z monitoringu budżetu obywatelskiego w KętachRaport z monitoringu budżetu obywatelskiego w Kętach
Raport z monitoringu budżetu obywatelskiego w KętachStowarzyszenie Bona Fides
 
Raport z monitoringu polityki senioralnej w Kluczborku
Raport z monitoringu polityki senioralnej w KluczborkuRaport z monitoringu polityki senioralnej w Kluczborku
Raport z monitoringu polityki senioralnej w KluczborkuStowarzyszenie Bona Fides
 
Presentation 3d5x group
Presentation 3d5x groupPresentation 3d5x group
Presentation 3d5x groupDavy Lantenois
 
Internet Data Center the Business
Internet Data Center   the BusinessInternet Data Center   the Business
Internet Data Center the BusinessMehmet Cetin
 

Andere mochten auch (20)

Baaer Oracle services
Baaer Oracle servicesBaaer Oracle services
Baaer Oracle services
 
Offshore DBA Services
Offshore DBA ServicesOffshore DBA Services
Offshore DBA Services
 
marubesystems.com: Web Design, Web Development, Digital Marketing, SAP/Oracle...
marubesystems.com: Web Design, Web Development, Digital Marketing, SAP/Oracle...marubesystems.com: Web Design, Web Development, Digital Marketing, SAP/Oracle...
marubesystems.com: Web Design, Web Development, Digital Marketing, SAP/Oracle...
 
YKP CONSULTING - ORACLE, JD EDWARDS, IBM, THOMSON REUTERS, SOFTWAY
YKP CONSULTING - ORACLE, JD EDWARDS, IBM, THOMSON REUTERS, SOFTWAYYKP CONSULTING - ORACLE, JD EDWARDS, IBM, THOMSON REUTERS, SOFTWAY
YKP CONSULTING - ORACLE, JD EDWARDS, IBM, THOMSON REUTERS, SOFTWAY
 
iWare Logic Oracle Applications And Technologies Services Company
iWare Logic Oracle Applications And Technologies Services Company iWare Logic Oracle Applications And Technologies Services Company
iWare Logic Oracle Applications And Technologies Services Company
 
Company Profile SAP and Oracle 2016 1.1
Company Profile SAP and Oracle 2016 1.1Company Profile SAP and Oracle 2016 1.1
Company Profile SAP and Oracle 2016 1.1
 
Financial Advisor
Financial AdvisorFinancial Advisor
Financial Advisor
 
Raport z monitoringu budżetu obywatelskiego w Kętach
Raport z monitoringu budżetu obywatelskiego w KętachRaport z monitoringu budżetu obywatelskiego w Kętach
Raport z monitoringu budżetu obywatelskiego w Kętach
 
Raport z monitoringu polityki senioralnej w Kluczborku
Raport z monitoringu polityki senioralnej w KluczborkuRaport z monitoringu polityki senioralnej w Kluczborku
Raport z monitoringu polityki senioralnej w Kluczborku
 
Corporate Reward Program US
Corporate Reward Program USCorporate Reward Program US
Corporate Reward Program US
 
Presentation 3d5x group
Presentation 3d5x groupPresentation 3d5x group
Presentation 3d5x group
 
Internet Data Center the Business
Internet Data Center   the BusinessInternet Data Center   the Business
Internet Data Center the Business
 
Resume
ResumeResume
Resume
 
Забавин Г.Н
Забавин Г.НЗабавин Г.Н
Забавин Г.Н
 
Evs w archipelagos
Evs w archipelagosEvs w archipelagos
Evs w archipelagos
 
Port as a paradim
Port as a paradimPort as a paradim
Port as a paradim
 
Split
SplitSplit
Split
 
simasamar
simasamarsimasamar
simasamar
 
Publication
PublicationPublication
Publication
 
CV Johan Toennessen
CV   Johan ToennessenCV   Johan Toennessen
CV Johan Toennessen
 

Ähnlich wie Remote Dba Team Oracle Architecture In Nutshell

515689311-Postgresql-DBA-Architecture.pptx
515689311-Postgresql-DBA-Architecture.pptx515689311-Postgresql-DBA-Architecture.pptx
515689311-Postgresql-DBA-Architecture.pptxssuser03ec3c
 
Remote DBA team-1Z0-042 Oracle Sga In Nutshell Oracle Dba Learn By Presentation
Remote DBA team-1Z0-042 Oracle Sga In Nutshell Oracle Dba Learn By PresentationRemote DBA team-1Z0-042 Oracle Sga In Nutshell Oracle Dba Learn By Presentation
Remote DBA team-1Z0-042 Oracle Sga In Nutshell Oracle Dba Learn By PresentationRemote DBA Services
 
Oracle Database Introduction
Oracle Database IntroductionOracle Database Introduction
Oracle Database IntroductionChhom Karath
 
Oracle Instance Architecture.ppt
Oracle Instance Architecture.pptOracle Instance Architecture.ppt
Oracle Instance Architecture.pptHODCA1
 
Oracle Database Architecture
Oracle Database ArchitectureOracle Database Architecture
Oracle Database ArchitectureHamzaakmak1
 
Exploring the Oracle Database Architecture.ppt
Exploring the Oracle Database Architecture.pptExploring the Oracle Database Architecture.ppt
Exploring the Oracle Database Architecture.pptMohammedHdi1
 
exploring-the-oracle-database-architecture.ppt
exploring-the-oracle-database-architecture.pptexploring-the-oracle-database-architecture.ppt
exploring-the-oracle-database-architecture.pptAmitavaRoy49
 
Oracle training institutes in hyderabad
Oracle training institutes in hyderabadOracle training institutes in hyderabad
Oracle training institutes in hyderabadsreehari orienit
 
Ora01_OraArc.pdf
Ora01_OraArc.pdfOra01_OraArc.pdf
Ora01_OraArc.pdfNamNguynMu
 
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.pdfRajendra Jain
 
Oracle dba training
Oracle  dba    training Oracle  dba    training
Oracle dba training P S Rani
 
Adavanced Databases and Mangement system
Adavanced Databases and Mangement systemAdavanced Databases and Mangement system
Adavanced Databases and Mangement systemMurtazaMughal13
 
Less14 Br Concepts
Less14 Br ConceptsLess14 Br Concepts
Less14 Br Conceptsvivaankumar
 
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)Gary Jackson MBCS
 

Ähnlich wie Remote Dba Team Oracle Architecture In Nutshell (20)

Introduction to oracle
Introduction to oracleIntroduction to oracle
Introduction to oracle
 
Oracle architecture
Oracle architectureOracle architecture
Oracle architecture
 
515689311-Postgresql-DBA-Architecture.pptx
515689311-Postgresql-DBA-Architecture.pptx515689311-Postgresql-DBA-Architecture.pptx
515689311-Postgresql-DBA-Architecture.pptx
 
Remote DBA team-1Z0-042 Oracle Sga In Nutshell Oracle Dba Learn By Presentation
Remote DBA team-1Z0-042 Oracle Sga In Nutshell Oracle Dba Learn By PresentationRemote DBA team-1Z0-042 Oracle Sga In Nutshell Oracle Dba Learn By Presentation
Remote DBA team-1Z0-042 Oracle Sga In Nutshell Oracle Dba Learn By Presentation
 
Oracle Database Introduction
Oracle Database IntroductionOracle Database Introduction
Oracle Database Introduction
 
App D
App DApp D
App D
 
Oracle Instance Architecture.ppt
Oracle Instance Architecture.pptOracle Instance Architecture.ppt
Oracle Instance Architecture.ppt
 
Lecture2 oracle ppt
Lecture2 oracle pptLecture2 oracle ppt
Lecture2 oracle ppt
 
Oracle11g notes
Oracle11g notesOracle11g notes
Oracle11g notes
 
Oracle Database Architecture
Oracle Database ArchitectureOracle Database Architecture
Oracle Database Architecture
 
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
 
Oracle training institutes in hyderabad
Oracle training institutes in hyderabadOracle training institutes in hyderabad
Oracle training institutes in hyderabad
 
ora_sothea
ora_sotheaora_sothea
ora_sothea
 
Ora01_OraArc.pdf
Ora01_OraArc.pdfOra01_OraArc.pdf
Ora01_OraArc.pdf
 
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
 
Oracle dba training
Oracle  dba    training Oracle  dba    training
Oracle dba training
 
Adavanced Databases and Mangement system
Adavanced Databases and Mangement systemAdavanced Databases and Mangement system
Adavanced Databases and Mangement system
 
Less14 Br Concepts
Less14 Br ConceptsLess14 Br Concepts
Less14 Br Concepts
 
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
SAP HANA System Replication (HSR) versus SAP Replication Server (SRS)
 

Mehr von Remote DBA Services

do's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Jobdo's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of JobRemote DBA Services
 
logical backup of Oracle Datapump-detailed.pptx
logical backup of Oracle Datapump-detailed.pptxlogical backup of Oracle Datapump-detailed.pptx
logical backup of Oracle Datapump-detailed.pptxRemote DBA Services
 
oracle 23c new features for developer and dba
oracle 23c new features for developer and dbaoracle 23c new features for developer and dba
oracle 23c new features for developer and dbaRemote DBA Services
 
Oracle Database Buffer Cache Management.pptx
Oracle Database Buffer Cache Management.pptxOracle Database Buffer Cache Management.pptx
Oracle Database Buffer Cache Management.pptxRemote DBA Services
 
What is the Oracle Database Buffer Cache
What is the Oracle Database Buffer CacheWhat is the Oracle Database Buffer Cache
What is the Oracle Database Buffer CacheRemote DBA Services
 
Oracle dba advance-24-7-running databases
Oracle dba advance-24-7-running databasesOracle dba advance-24-7-running databases
Oracle dba advance-24-7-running databasesRemote DBA Services
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new featuresRemote DBA Services
 
1Z0-052 Oracle 11g Administration I
1Z0-052 Oracle 11g Administration I1Z0-052 Oracle 11g Administration I
1Z0-052 Oracle 11g Administration IRemote DBA Services
 

Mehr von Remote DBA Services (8)

do's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Jobdo's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Job
 
logical backup of Oracle Datapump-detailed.pptx
logical backup of Oracle Datapump-detailed.pptxlogical backup of Oracle Datapump-detailed.pptx
logical backup of Oracle Datapump-detailed.pptx
 
oracle 23c new features for developer and dba
oracle 23c new features for developer and dbaoracle 23c new features for developer and dba
oracle 23c new features for developer and dba
 
Oracle Database Buffer Cache Management.pptx
Oracle Database Buffer Cache Management.pptxOracle Database Buffer Cache Management.pptx
Oracle Database Buffer Cache Management.pptx
 
What is the Oracle Database Buffer Cache
What is the Oracle Database Buffer CacheWhat is the Oracle Database Buffer Cache
What is the Oracle Database Buffer Cache
 
Oracle dba advance-24-7-running databases
Oracle dba advance-24-7-running databasesOracle dba advance-24-7-running databases
Oracle dba advance-24-7-running databases
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
1Z0-052 Oracle 11g Administration I
1Z0-052 Oracle 11g Administration I1Z0-052 Oracle 11g Administration I
1Z0-052 Oracle 11g Administration I
 

Kürzlich hochgeladen

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 

Kürzlich hochgeladen (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 

Remote Dba Team Oracle Architecture In Nutshell

  • 1. Oracle Architecture in Nutshell 1Z0-042 Oracle Administration I Chapter-2
  • 2. DBA learning by presentation offered by DBAMETRIX Solutions. This all presentations have been prepared by  Gitesh P Trivedi. Gitesh Trivedi has work excellent 14 years  experience in DBA field and as consultant faculty.  For more details please contact to www.dbametrix.com or gitesh@dbametrix.com or giteshtrivedi@yahoo.com 
  • 3. There are two components of Oracle Software. First is Database component.  Second is Instance component.  There are lots of sub components attached with these parent components.  In this chapter we will get depth study of  each component. 
  • 4.
  • 5. There are 2 sub-components of Database layout. First called as Physical Structure of  Database. Second called as Logical Structure of  Database. Both sub-components have own properties.  Both sub-components have own importance.  
  • 6. Database LOGICAL Database PHYSICAL Database
  • 7. Physical database structure contains following layouts. Control files  Datafiles Redo Log files  Parameter file (init.ora and spfile.ora)  Password file  Trace files (including alert.log)  Audit files (if sys audit is enabled in database).  All are equally important for database.   
  • 8.
  • 9. There is no physical identity for logical structure of database. Schema  Tablespace  Segment  Extent  Oracle block  
  • 10.
  • 11. Each database logically divides in to one or more tablespaces. Each tablespace consists with one or more physical  datafile. Total size of datafiles in the database is the total size  of database. Each tablespace contains one or more logical  segments. Each segment contains with extents.  Each tablespace contains more than one extents. Each extents contains contagious Oracle data blocks.   
  • 12. Tablespace contains number of schema or extents Schema contains number of segments Segment contains No of extents Extent contains Oracle cont. blocks Oracle Data Block
  • 13. Oracle data block is the finest unit of Oracle database. Extent is made by contiguous oracle blocks. Segment contains one or more extents.  Schema is made up by one or more segments.  Tablespace contains one or more schema.  Means logical tablespace divides in to logical Oracle data  blocks.  Logical tablespace contains one or more PHYSICAL  datafile. Each Oracle data block occupies physical Operating  system’s block. Actually finest physical unit is Operating System block.  
  • 14. Instance populates in Memory. It consists with System Global Area and background processes.  When Database starts Oracle server reads  parameter meter file for allocating SGA. Sub-components of SGA and background  processes started called “instance started”. Populated in memory region of server.  
  • 15. rrrrr Irrrrrrr O C Log o Buffer Cache Shared Pool n Buffer S tr Java Pool Large Pool Stream Pool LGWR
  • 16. At startup of database Oracle server reads Parameter file for parameters about SGA’s sub- components like buffer cache, log buffer, shared  pool, java pool etc. It allocating granules for these all sub parts of SGA. Simultaneously mandatory background processes are started like SMON, DBWR, LGWR, CKPT, PMON.  If instance was crashed during past shutdown or  abnormal shutdown was performed then Instance recovery will be enabling during Instance start.   Instance recovery held by SMON.
  • 17. SMON is called System Monitor. Performs Instance recovery.  Performs temporary segment allocation and de-allocation.  Performs coal lesion of tablespace  fragmentations. Mandatory background process for Instance.  If died or killed then Oracle instance will crash.  
  • 18. DBWR is called Database Writer. Writes buffers from Database Buffer Cache to datafiles.  May be one or more DBWR process available in  Database. Shadow process called slave process can be configured.  More DBWR writes faster on disk. When CKPT triggers, DBWR writes data dirty buffers in to datafiles.  Maximum processes are available 20.  
  • 19. CKPT is called as Checkpoint process. It triggers when empty buffers are needed in Buffer Cache. It updates control file and data file’s header with system change no.  It is very useful for synchronization of data.  Types of ckpt are full checkpoint, fast checkpoint, local checkpoint and  global checkpoint.  During fast checkpoint it contains checkpoint queue which reflects in  controlfile and log buffer with respective SCN number. It controls instance recovery time.  During redo log switch it also occurs. We can perform manual checkpoint using command “alter system  checkpoint”  During shutdown normal, transactional, immediate it occurs.  During tablespace taking online or offline it also occurs. It occurs while issuing command “alter system switch logfile”   
  • 20. LGWR is called as Log Writer Process. It writes from Redo log buffer to Redo log files. During commit operation, LGWR writes data  from log buffer to redo log file.  If log buffer is 1/3 full then also it flushes data  in to redo log file. It writes data in to redo files every 3 sec.  It flushes data while DBWR singled. Only one process is available.   
  • 21. PMON is called as Process Monitor. It clears locks. It clears resource of dead user process.  It wakes up periodically (every 3 seconds) and  pings every user process connection for  housekeeping.  It registers connection between dispatcher and instance to listener in MTS server. It clears up and rollback uncommitted  transactions. 
  • 22.
  • 23. Oracle Server has 2 primary components. Called Database and Instance. Both part contains 2 sub components.  Physical and Logical are sub-parts of Database.  SGA and Background processes are sub-parts  of Instance.  All part has own characteristic & importance.  After clearing this, learning of DBA becomes very easy.  
  • 24. Oracle Architecture in Nutshell 1Z0-042 Oracle Administration I Chapter-2 Prepared by Gitesh Trivedi gitesh@www.dbametrix.com