Oracle DBA overview

‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ Introduction to Database administration Oracle Instance Oracle Server Oracle Architecture Database Structure Physical and Logical Structures Tablespace(s) Startup and shutdown System Global Area Memory Structures Background Processes Data Dictionary ± System tables Listener configuration Net configuration Backup and Recovery principles

Database Administration

‡ Database Administration perspective Users/Developers perspective ‡ Instance

Oracle server

‡ An Oracle server - consists of an Oracle database and an Oracle instance.
Start up and Shut down of Database

Oracle Server

Database Structure Physical structure ‡ Data files ‡ Redo log files ‡ Control files Logical Structures ‡ Tablespace ‡ Segments ‡ Extents ‡ Blocks

Tablespace(s)

Segments ‡ ‡ ‡ Data segment Index segment Rollback segment
± Temporarily stores undo information ± The information in a rollback segment is used:
1. To generate read-consistent database information 2. During database recovery 3. To rollback uncommitted transactions for users

‡ Temporary segment

Oracle Architecture

Memory Structures
‡ SGA - System Global Area
± Database buffer cache ± Redo log buffer ± Shared pool

‡ PGA ± Program Global Area

Background processes

‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡

DBWn LGWR CKPT SMON PMON Archiver (ARCn) Recoveror (RECO) Lock (LCKn) Dispatcher (Dnnn)

Backup and Recovery principles

‡ Types of Failures User error Statement and process failure Instance failure Media (disk failure) ‡ Logical Backups ‡ Physical Backups ± Full, Partial

Backup and Recovery principles

‡ Recovery Rolling Forward Rolling Backward ‡ Recovery Manager Maintains a Repository ± Recovery catalog

Backup and Recovery principles

‡ NoArchiveLog MODE ‡ ArchiveLog MODE

Data Dictionary

Oracle Net8

Listener Client configuration

Sign up to vote on this title
UsefulNot useful