Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Oracle Database overview
Oracle Database overview
ObjectivesAfter completing this lesson, you should be able to:• Describe the Oracle Database architecture• Oracle server a...
The Oracle DatabaseThe Oracle Relational Database Management System(RDBMS) is a database management system that providesan...
DatabaseData filesOnline redolog filesControlfilesOracle Database Architecture: OverviewDatabasebuffercacheShared poolData...
Connecting to the Database• Connection: Communication between a user processand an instance• Session: Specific connection ...
DatabaseOracle Database Server StructuresPMONSMON OthersData filesInstanceARCnControlfilesDBWn LGWRCKPTStorage structuresU...
Oracle Memory ArchitectureSGADatabase buffercacheRedo logbufferJavapoolStreamspoolShared poolLarge poolPGA PGA PGABackgrou...
Process Architecture• User process– Is started when a database user or a batch processconnects to Oracle Database• Databas...
Process Structures…Server nprocessesSGA…OraclebackgroundprocessesPMON SMON OthersRECO ARCnDBWn LGWRCKPTServer ServerServer...
Oracle Memory StructuresSGAJava poolDatabasebuffer cacheShared poolRedobufferLarge poolStreams poolServerprocess1PGAServer...
Database Storage ArchitectureOnline redo log filesPassword fileParameter file Archived redo logfilesControl files Data fil...
Logical and Physical Database StructuresDatabaseLogical PhysicalTablespace Data fileOS blockSegmentExtentOracle datablockS...
Tablespaces and Data Files• Tablespaces consist of one or more data files.• Data files belong to only one tablespace.USERS...
Buffer CacheData filesSGACheckpointqueueDBWnServerDB_BLOCK_SIZEDB_CACHE_SIZEDB_RECYCLE_CACHE_SIZEDB_KEEP_CACHE_SIZELRUlist...
Oracle Backup and RecoverySolutionsThese Oracle utilities and features providethe tools necessary to maintain arecoverable...
Types of RMAN CommandsRMAN commands are of the followingtypes:• Stand-alone command:– Is executed individually at the RMAN...
Configuring ARCHIVELOGModeTo place the database in ARCHIVELOGmode, perform the following steps:• Using Enterprise Manager–...
Configuring Your Database forBackup and RecoveryOperations• Operate the database in ARCHIVELOG mode.• Configure the Flash ...
ARCHIVELOG ModeArchiver(ARCn)Archivedredo log filesOnline redolog files
Upcoming SlideShare
Loading in …5
×

Oracle Architecture

13,439 views

Published on

An overview to understand Oracle Database Architecture.

  • Login to see the comments

Oracle Architecture

  1. 1. Oracle Database overview
  2. 2. Oracle Database overview
  3. 3. ObjectivesAfter completing this lesson, you should be able to:• Describe the Oracle Database architecture• Oracle server architecture.• Memory architecture• Backup and Recovery using manual method and RMAN.
  4. 4. The Oracle DatabaseThe Oracle Relational Database Management System(RDBMS) is a database management system that providesan open, comprehensive, integrated approach toinformation management.
  5. 5. DatabaseData filesOnline redolog filesControlfilesOracle Database Architecture: OverviewDatabasebuffercacheShared poolData dictionarycacheLibrarycachePMONSMON OthersServerprocessPGAArchivedlog filesUserprocessInstanceARCnSGADBWnRedo logbufferLGWRCKPT
  6. 6. Connecting to the Database• Connection: Communication between a user processand an instance• Session: Specific connection of a user to an instancethrough a user processSQL> Select … SessionConnectionUSERUser
  7. 7. DatabaseOracle Database Server StructuresPMONSMON OthersData filesInstanceARCnControlfilesDBWn LGWRCKPTStorage structuresUserprocessServerprocessOnline redolog filesMemory structuresProcessesDatabasebuffercacheShared poolData dict.cacheLibrarycacheSGARedo logbuffer
  8. 8. Oracle Memory ArchitectureSGADatabase buffercacheRedo logbufferJavapoolStreamspoolShared poolLarge poolPGA PGA PGABackgroundprocessServerprocess 1Serverprocess 2SharedSQL areaLibrarycacheData DictionarycacheOtherI/O BufferResponsequeueRequestqueueFreememory
  9. 9. Process Architecture• User process– Is started when a database user or a batch processconnects to Oracle Database• Database processes– Server process: Connects to the Oracle instance and isstarted when a user establishes a session– Background processes: Are started when an Oracleinstance is startedPMONSMON OthersInstanceARCnDBWn LGWRCKPTPGAUserprocessServerprocess Background processesDatabasebuffercacheShared poolData dictionarycacheLibrarycacheSGARedo logbuffer
  10. 10. Process Structures…Server nprocessesSGA…OraclebackgroundprocessesPMON SMON OthersRECO ARCnDBWn LGWRCKPTServer ServerServerServer ServerDatabasebuffercacheShared poolData dict.cacheLibrarycacheSGARedo logbuffer
  11. 11. Oracle Memory StructuresSGAJava poolDatabasebuffer cacheShared poolRedobufferLarge poolStreams poolServerprocess1PGAServerprocess2PGABack-groundprocessPGAKeep buffercacheRecyclebuffer cachenK block sizebuffer caches
  12. 12. Database Storage ArchitectureOnline redo log filesPassword fileParameter file Archived redo logfilesControl files Data filesAlert log and trace filesBackup files
  13. 13. Logical and Physical Database StructuresDatabaseLogical PhysicalTablespace Data fileOS blockSegmentExtentOracle datablockSchema
  14. 14. Tablespaces and Data Files• Tablespaces consist of one or more data files.• Data files belong to only one tablespace.USERS tablespaceData file 1 Data file 2
  15. 15. Buffer CacheData filesSGACheckpointqueueDBWnServerDB_BLOCK_SIZEDB_CACHE_SIZEDB_RECYCLE_CACHE_SIZEDB_KEEP_CACHE_SIZELRUlists DB buffer cache
  16. 16. Oracle Backup and RecoverySolutionsThese Oracle utilities and features providethe tools necessary to maintain arecoverable system:• Recovery Manager (RMAN)– Incremental backups– Block media recovery– Unused block compression– Binary compression– Backup encryption• Data Pump
  17. 17. Types of RMAN CommandsRMAN commands are of the followingtypes:• Stand-alone command:– Is executed individually at the RMAN prompt– Cannot appear as subcommands within RUN• Job command:– Must be within the braces of a RUN command– Is executed as a groupSome commands can be executed aseither a stand-alone or a job command.
  18. 18. Configuring ARCHIVELOGModeTo place the database in ARCHIVELOGmode, perform the following steps:• Using Enterprise Manager– Select the “ARCHIVELOG Mode” check box.– Click Apply. The database can be set toARCHIVELOG mode only from the MOUNT state.– Click Yes when asked whether you want to restartthe database.• Using SQL commands– Mount the database.– Issue the ALTER DATABASE ARCHIVELOGcommand.
  19. 19. Configuring Your Database forBackup and RecoveryOperations• Operate the database in ARCHIVELOG mode.• Configure the Flash Recovery Area.Archiver(ARCn)Archivedredo log filesOnline redolog filesArchivedredo log filesControl filebackupsData file backups
  20. 20. ARCHIVELOG ModeArchiver(ARCn)Archivedredo log filesOnline redolog files

×