Oracle Database Administration I study plan
Oracle Database Administration I · Give each week a clear focus.
8 weeks · About 6 hours per week
Oracle Database Architecture and Instance Management
Map the Oracle instance memory structures (SGA components such as buffer cache, shared pool, large pool, redo log buffer) and name the role of each background process (DBWn, LGWR, CKPT, SMON, PMON, MMON, ARCn)
Trace the flow of a user query from client to server process to shared pool parse to buffer cache fetch, writing the sequence out step by step
Start a database instance with STARTUP, then query V$INSTANCE, V$SGA, and V$BGPROCESS to confirm each component is present and note its current value
Distinguish dedicated from shared server connections and identify which dynamic views reveal each mode
Your checkpoint
A one-page annotated instance architecture diagram plus a saved SQL script that reports SGA component sizes and background process status, with output captured in a log file
Oracle Database Architecture and Instance Management & Database Storage Structures and Space Management
Explain the difference between logical storage (tablespace, segment, extent, block) and physical storage (data file, OS block) and map one object through all four levels
Create a smallfile tablespace with explicit data file size, AUTOEXTEND settings, and uniform extent allocation, then query DBA_TABLESPACES and DBA_DATA_FILES to verify the result
Use DBA_SEGMENTS and DBA_EXTENTS to locate where a specific table's blocks live and calculate its space consumption
Interpret segment space management (ASSM vs manual) and explain how it affects block-level free space tracking
Read a tablespace's used and free space from DBA_FREE_SPACE and DBA_TABLESPACE_USAGE_METRICS and describe when each view is appropriate
Your checkpoint
A tablespace provisioning lab: a script that creates a tablespace, adds a table, reports its segment and extent layout, and prints free-space metrics, all with captured output
Database Storage Structures and Space Management & Schema Objects and Data Management
Create and alter tables with the main Oracle data types and constraints (NOT NULL, CHECK, UNIQUE, PRIMARY KEY, FOREIGN KEY), including enabling and disabling constraints
Build indexes (B-tree and bitmap) and demonstrate with an execution plan when the optimizer chooses each
Manage schema objects end to end: rename, truncate, drop with and without PURGE, and recover a dropped table from the recycle bin
Load rows with INSERT, INSERT ... SELECT, and direct-path behavior, then compare the resulting segment sizes
Use DBA_OBJECTS and USER_OBJECTS to confirm object status after each change
Your checkpoint
A schema-objects lab script covering table creation, constraint toggling, index creation, and recycle bin recovery, with EXPLAIN PLAN output showing at least one index access path and one full scan
Managing Users, Privileges, and Profiles
Create users with explicit default and temporary tablespaces, quota limits, and a non-default profile, then verify with DBA_USERS and DBA_TS_QUOTAS
Grant system and object privileges, test the WITH ADMIN OPTION and WITH GRANT OPTION behaviors, and revoke each to observe the difference
Assign roles, set a default role, and demonstrate how a password-protected role changes access
Configure a profile with password lifetime, reuse limits, and failed-login lockout, then trigger a lockout and unlock the account as an administrator
Query DBA_SYS_PRIVS, DBA_TAB_PRIVS, and DBA_ROLE_PRIVS to audit exactly what a test user can do
Your checkpoint
A privilege audit report for two test users listing every system privilege, object privilege, and role held, plus a profile configuration sheet with the password rules applied and a demonstrated lockout/unlock
Database Creation, Startup/Shutdown, and Configuration
Describe the stages of instance startup (NOMOUNT, MOUNT, OPEN) and name what is read at each stage
Perform a clean SHUTDOWN IMMEDIATE and a SHUTDOWN ABORT, then explain the recovery implications of each and what happens on the next startup
Use the DBCA in silent or interactive mode to create a database, or walk through the CREATE DATABASE statement components and explain each clause
Inspect and change key initialization parameters with ALTER SYSTEM, distinguishing SCOPE=MEMORY, SPFILE, and BOTH
Read the alert log and trace the startup sequence entries, matching each message to the stage it represents
Your checkpoint
A startup/shutdown runbook with captured alert log excerpts for each shutdown mode and a parameter change log showing the before and after value plus the scope used
Undo, Redo, and Transaction Management
Explain undo segment behavior across a transaction and query V$TRANSACTION and V$UNDOSTAT to observe undo consumption
Set UNDO_RETENTION and demonstrate the effect of a small undo tablespace on a long-running query, capturing the ORA-01555 error
Trace redo generation: perform DML, force a log switch with ALTER SYSTEM SWITCH LOGFILE, and inspect V$LOG and V$LOG_HISTORY
Describe commit and rollback mechanics, including what LGWR writes at commit and how checkpoints advance the checkpoint position
Identify the differences between the three redo log modes and explain how each affects durability
Your checkpoint
A transaction and redo lab report showing undo consumption for a test transaction, a reproduced ORA-01555 with the fix applied, and a log switch history table from V$LOG_HISTORY
Backup, Recovery, and Flashback Fundamentals
Configure the database in ARCHIVELOG mode and confirm with V$DATABASE and V$ARCHIVED_LOG
Take a full RMAN backup, list it with LIST BACKUP, and validate it with RESTORE ... VALIDATE
Perform a point-in-time recovery of a tablespace after simulated data loss and document each RMAN command used
Use Flashback Query and Flashback Table to recover from a mistaken DML statement, and explain what undo retention each requires
Compare RMAN backup types (full, incremental, image copy) and state when each is appropriate
Your checkpoint
A recovery drill document containing the RMAN backup command, the simulated failure, the point-in-time recovery transcript, and a Flashback Table recovery, each with verification queries proving data was restored
Oracle Net Services and Connectivity & Performance Monitoring and Advisory Framework & Diagnostic Tools and Automated Maintenance
Configure a local naming entry in tnsnames.ora and a listener in listener.ora, then connect with sqlplus using the alias and diagnose one deliberately broken entry with tnsping and lsnrctl status
Use the Automatic Workload Repository: generate an AWR snapshot, produce a report, and identify the top wait events in it
Query V$SESSION, V$SQL, and V$ACTIVE_SESSION_HISTORY to find the top SQL by elapsed time and explain what the ADDM advisor would flag
Locate and interpret the alert log, trace files, and the Automatic Diagnostic Repository structure, and run a health check with the appropriate ADR command
Review the automated maintenance tasks (optimizer statistics, segment advisor, automatic SQL tuning) and state their default maintenance windows
Your checkpoint
A monitoring toolkit: a saved connection configuration set, one AWR report with the top three wait events annotated, and an ADR directory map showing where alert and trace files live
Milestones
Week 2: Without notes, sketch the instance memory and process architecture and map a table through tablespace, segment, extent, and block, scoring at least 80 percent on a self-made 20-question quiz
Week 4: Create a user, grant privileges through a role, apply a profile with password rules, trigger and clear a lockout, and prove each step with a data dictionary query, all unaided
Week 6: Explain undo and redo behavior for a committed and a rolled-back transaction, and correctly predict the outcome of a log switch and a checkpoint, before checking your prediction against V$ views
Week 8: Complete a timed 60-question mixed-domain practice set covering all ten domains at 75 percent or better, and list every missed question by domain to drive final review