Oracle Database Administration I study materials
Oracle Database Administration I study resources

Oracle Database Administration I key terms

Oracle Database Administration I · Get comfortable with the vocabulary.

System Global Area (SGA)

Shared memory region allocated when an instance starts, holding the buffer cache, shared pool, redo log buffer, and other memory structures that all server processes access concurrently.

Related: Program Global Area (PGA), Shared Pool, Database Buffer Cache
Program Global Area (PGA)

Private memory area owned by a single server or background process, containing session-specific data such as sort areas, hash join work areas, and cursor state.

Related: System Global Area (SGA), PGA_AGGREGATE_TARGET
Shared Pool

SGA component holding the library cache of parsed SQL and PL/SQL plus the data dictionary cache, letting sessions reuse execution plans instead of reparsing statements.

Related: Library Cache, Hard Parse, System Global Area (SGA)
Database Buffer Cache

SGA region where copies of data blocks read from datafiles are cached, so repeated access to the same blocks avoids physical I/O.

Related: System Global Area (SGA), Buffer Busy Wait
Library Cache

Part of the shared pool storing parsed SQL statements, PL/SQL code, and their execution plans, keyed by statement text and parsing environment.

Related: Shared Pool, Hard Parse, Soft Parse
Hard Parse

Full parsing of a SQL statement that requires syntax and semantic checks against the data dictionary plus generation of a new execution plan, consuming CPU and library cache space.

Related: Soft Parse, Library Cache, Bind Variable
Soft Parse

Reuse of an existing shared cursor when a submitted statement matches cached text and environment, skipping optimization and plan generation.

Related: Hard Parse, Library Cache
Server Process

Process that executes SQL on behalf of a user session, reading blocks into the buffer cache and returning results; dedicated mode gives one process per session, shared mode pools them.

Related: Background Process, Program Global Area (PGA)
Background Process

Oracle process such as DBWn, LGWR, CKPT, SMON, PMON, or ARCn that performs instance-wide maintenance tasks independently of any user session.

Related: Database Writer (DBWn), Log Writer (LGWR), System Monitor (SMON)
Database Writer (DBWn)

Background process that writes modified (dirty) buffers from the database buffer cache to datafiles, keeping free buffers available and advancing the checkpoint position.

Related: Checkpoint, Database Buffer Cache, Log Writer (LGWR)
Log Writer (LGWR)

Background process that writes redo entries from the redo log buffer to the online redo log files, flushing on commit and roughly every three seconds.

Related: Redo Log Buffer, Online Redo Log, Commit
System Monitor (SMON)

Background process that performs instance recovery at startup, coalesces free extents, and cleans up temporary segments left by terminated transactions.

Related: Instance Recovery, Background Process
Process Monitor (PMON)

Background process that cleans up after abnormally terminated sessions by rolling back their transactions, releasing locks, and freeing resources.

Related: Background Process, Rollback
Checkpoint

Event at which all dirty buffers up to a specific system change number are guaranteed written to disk, letting recovery start from that point rather than the whole redo stream.

Related: Database Writer (DBWn), System Change Number (SCN), Instance Recovery
System Change Number (SCN)

Monotonically increasing internal clock Oracle stamps on every change, used to order transactions, define read consistency, and bound recovery.

Related: Checkpoint, Read Consistency
Tablespace

Logical storage container grouping one or more datafiles, used to organize segments and to take objects offline or make them read-only as a unit.

Related: Datafile, Segment, Locally Managed Tablespace
Datafile

Operating system file belonging to exactly one tablespace that physically stores the data blocks of that tablespace's segments.

Related: Tablespace, Data Block
Segment

Set of extents allocated for a specific schema object such as a table, index, or undo segment; each segment lives in one tablespace.

Related: Extent, Tablespace, Data Block
Extent

Contiguous run of data blocks allocated as a single unit inside a datafile when a segment needs more space.

Related: Segment, Locally Managed Tablespace
Locally Managed Tablespace

Tablespace whose free-space map is stored in a bitmap inside its own datafiles rather than in the data dictionary, avoiding recursive space management.

Related: Tablespace, Extent, Automatic Segment Space Management (ASSM)
Automatic Segment Space Management (ASSM)

Locally managed tablespace option using bitmaps to track block free space, replacing freelists and simplifying tuning of insert performance and concurrency.

Related: Locally Managed Tablespace, PCTFREE
PCTFREE

Storage parameter reserving a percentage of each block for future row growth, so updates that enlarge rows can stay in the same block instead of migrating.

Related: Row Migration, Automatic Segment Space Management (ASSM)
Row Migration

Movement of an updated row to a new block because the original block lacks free space, leaving a pointer behind and adding I/O for every access.

Related: PCTFREE, Row Chaining
Row Chaining

Storage of a single row across multiple blocks, typically because the row is larger than the free space available in one block.

Related: Row Migration, PCTFREE
Undo Tablespace

Tablespace holding undo segments that store before-images of changed data, supporting rollback, read consistency, and flashback features.

Related: Undo Retention, Read Consistency, Rollback
Undo Retention

Minimum period Oracle tries to keep committed undo data available for consistent reads and flashback queries, subject to undo tablespace space pressure.

Related: Undo Tablespace, ORA-01555 Snapshot Too Old
ORA-01555 Snapshot Too Old

Error raised when a long-running query needs undo data that has already been overwritten, so it cannot reconstruct a consistent snapshot of the data.

Related: Undo Retention, Read Consistency
Read Consistency

Guarantee that a query sees data as of a single point in time, reconstructed from undo when blocks change during statement or transaction execution.

Related: Undo Tablespace, System Change Number (SCN)
Online Redo Log

Circularly reused set of files recording every change to the database, required for crash recovery and standby synchronization.

Related: Log Writer (LGWR), Archived Redo Log, Log Switch
Archived Redo Log

Copy of a filled online redo log file saved by the archiver process, forming the basis for media recovery and point-in-time recovery.

Related: Online Redo Log, ARCHIVELOG Mode, Media Recovery
Log Switch

Event where LGWR stops writing to the current online redo log group and begins writing to the next, allowing the previous group to be archived.

Related: Online Redo Log, Archived Redo Log
Commit

Statement that makes a transaction's changes permanent and visible, and triggers LGWR to flush the transaction's redo to disk.

Related: Rollback, Log Writer (LGWR)
Rollback

Ending a transaction by discarding its changes, using undo records to restore the before-images of modified blocks.

Related: Undo Tablespace, Commit
Profile

Named set of password and resource limits, such as failed login attempts or idle time, assigned to database users to constrain their sessions.

Related: Role, System Privilege
Role

Named collection of privileges that can be granted to users or other roles, simplifying administration and enabling dynamic privilege changes.

Related: System Privilege, Object Privilege, Profile
System Privilege

Right to perform a class of actions anywhere in the database, such as CREATE TABLE or SELECT ANY TABLE, typically granted by a DBA.

Related: Object Privilege, Role
Object Privilege

Right to perform a specific action on a specific schema object, such as SELECT or UPDATE on one named table.

Related: System Privilege, Role
PFILE / SPFILE

Server parameter files storing instance configuration; the SPFILE is binary and server-maintained, while the text PFILE can be edited manually and used to create an SPFILE.

Related: NOMOUNT Stage, SHUTDOWN IMMEDIATE
NOMOUNT Stage

Startup phase in which Oracle reads the parameter file, allocates the SGA, and starts background processes but does not open control files or datafiles.

Related: MOUNT Stage, OPEN Stage, PFILE / SPFILE
MOUNT Stage

Startup phase after NOMOUNT in which the instance opens the control files, learning datafile and redo log locations without opening the database itself.

Related: NOMOUNT Stage, OPEN Stage, Control File
OPEN Stage

Final startup phase in which datafiles and online redo logs are opened, making the database available for normal user connections.

Related: MOUNT Stage, SHUTDOWN IMMEDIATE
SHUTDOWN IMMEDIATE

Shutdown mode that disconnects sessions, rolls back uncommitted transactions, and writes a checkpoint before closing files, requiring no recovery on next start.

Related: Checkpoint, OPEN Stage
Control File

Small binary file recording the database name, datafile and redo log locations, and the current checkpoint, essential for mounting and recovery.

Related: MOUNT Stage, Checkpoint
ARCHIVELOG Mode

Database mode in which filled online redo logs are archived before reuse, enabling media recovery and online backups.

Related: Archived Redo Log, Media Recovery, RMAN
Media Recovery

Restoring lost datafiles from backups and applying archived and online redo to roll them forward to a chosen point in time.

Related: Archived Redo Log, RMAN, Instance Recovery
Instance Recovery

Automatic recovery after an instance crash, using online redo to roll forward committed changes and undo to remove uncommitted ones.

Related: System Monitor (SMON), Media Recovery
RMAN

Oracle's built-in backup and recovery utility that manages backup sets, image copies, and restore operations while tracking metadata in the control file or a recovery catalog.

Related: Media Recovery, ARCHIVELOG Mode
Flashback Query

Feature using undo data to display table contents as they appeared at an earlier timestamp or SCN, without restoring a backup.

Related: Undo Tablespace, System Change Number (SCN)
Listener

Separate process that receives incoming connection requests on a network address and hands them to a database instance, spawning server processes as needed.

Related: TNS Alias, Local Naming
TNS Alias

Short name resolving through naming methods to a connect descriptor containing protocol, host, port, and service name for a database connection.

Related: Listener, Local Naming
Local Naming

Resolution method in which client tnsnames.ora files map net service names to connect descriptors, requiring no central directory server.

Related: TNS Alias, Listener
Automatic Workload Repository (AWR)

Built-in repository that periodically captures performance statistics and active session samples, forming the basis for most diagnostic reports.

Related: Active Session History (ASH), ADDM
Active Session History (ASH)

In-memory and persisted samples of active sessions taken every second, used to identify where time is spent during a specific performance problem.

Related: Automatic Workload Repository (AWR), ADDM
ADDM

Advisory tool that analyzes AWR snapshots and reports the highest-impact performance problems plus recommended actions, ranked by estimated benefit.

Related: Automatic Workload Repository (AWR), Active Session History (ASH)
Automatic Maintenance Tasks

Scheduled jobs run during maintenance windows, including optimizer statistics gathering, automatic segment advisor, and automatic space advisory.

Related: Optimizer Statistics, ADDM
Optimizer Statistics

Metadata describing table and index data distribution, such as row counts and column histograms, used by the optimizer to choose execution plans.

Related: Automatic Maintenance Tasks, Hard Parse
Automatic Diagnostic Repository (ADR)

File-based directory structure storing trace files, alert logs, and incident dumps for the database and other Oracle components.

Related: Alert Log, ADDM
Alert Log

Chronological text record of significant database events such as startup, shutdown, errors, and log switches, stored inside the ADR.

Related: Automatic Diagnostic Repository (ADR)