Oracle Database Administration I key terms
Oracle Database Administration I · Get comfortable with the vocabulary.
- System Global Area (SGA)
- Related: Program Global Area (PGA), Shared Pool, Database Buffer Cache
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.
- Program Global Area (PGA)
- Related: System Global Area (SGA), PGA_AGGREGATE_TARGET
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.
- Shared Pool
- Related: Library Cache, Hard Parse, System Global Area (SGA)
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.
- Database Buffer Cache
- Related: System Global Area (SGA), Buffer Busy Wait
SGA region where copies of data blocks read from datafiles are cached, so repeated access to the same blocks avoids physical I/O.
- Library Cache
- Related: Shared Pool, Hard Parse, Soft Parse
Part of the shared pool storing parsed SQL statements, PL/SQL code, and their execution plans, keyed by statement text and parsing environment.
- Hard Parse
- Related: Soft Parse, Library Cache, Bind Variable
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.
- Soft Parse
- Related: Hard Parse, Library Cache
Reuse of an existing shared cursor when a submitted statement matches cached text and environment, skipping optimization and plan generation.
- Server Process
- Related: Background Process, Program Global Area (PGA)
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.
- Background Process
- Related: Database Writer (DBWn), Log Writer (LGWR), System Monitor (SMON)
Oracle process such as DBWn, LGWR, CKPT, SMON, PMON, or ARCn that performs instance-wide maintenance tasks independently of any user session.
- Database Writer (DBWn)
- Related: Checkpoint, Database Buffer Cache, Log Writer (LGWR)
Background process that writes modified (dirty) buffers from the database buffer cache to datafiles, keeping free buffers available and advancing the checkpoint position.
- Log Writer (LGWR)
- Related: Redo Log Buffer, Online Redo Log, Commit
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.
- System Monitor (SMON)
- Related: Instance Recovery, Background Process
Background process that performs instance recovery at startup, coalesces free extents, and cleans up temporary segments left by terminated transactions.
- Process Monitor (PMON)
- Related: Background Process, Rollback
Background process that cleans up after abnormally terminated sessions by rolling back their transactions, releasing locks, and freeing resources.
- Checkpoint
- Related: Database Writer (DBWn), System Change Number (SCN), Instance Recovery
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.
- System Change Number (SCN)
- Related: Checkpoint, Read Consistency
Monotonically increasing internal clock Oracle stamps on every change, used to order transactions, define read consistency, and bound recovery.
- Tablespace
- Related: Datafile, Segment, Locally Managed 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.
- Datafile
- Related: Tablespace, Data Block
Operating system file belonging to exactly one tablespace that physically stores the data blocks of that tablespace's segments.
- Segment
- Related: Extent, Tablespace, Data Block
Set of extents allocated for a specific schema object such as a table, index, or undo segment; each segment lives in one tablespace.
- Extent
- Related: Segment, Locally Managed Tablespace
Contiguous run of data blocks allocated as a single unit inside a datafile when a segment needs more space.
- Locally Managed Tablespace
- Related: Tablespace, Extent, Automatic Segment Space Management (ASSM)
Tablespace whose free-space map is stored in a bitmap inside its own datafiles rather than in the data dictionary, avoiding recursive space management.
- Automatic Segment Space Management (ASSM)
- Related: Locally Managed Tablespace, PCTFREE
Locally managed tablespace option using bitmaps to track block free space, replacing freelists and simplifying tuning of insert performance and concurrency.
- PCTFREE
- Related: Row Migration, Automatic Segment Space Management (ASSM)
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.
- Row Migration
- Related: PCTFREE, Row Chaining
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.
- Row Chaining
- Related: Row Migration, PCTFREE
Storage of a single row across multiple blocks, typically because the row is larger than the free space available in one block.
- Undo Tablespace
- Related: Undo Retention, Read Consistency, Rollback
Tablespace holding undo segments that store before-images of changed data, supporting rollback, read consistency, and flashback features.
- Undo Retention
- Related: Undo Tablespace, ORA-01555 Snapshot Too Old
Minimum period Oracle tries to keep committed undo data available for consistent reads and flashback queries, subject to undo tablespace space pressure.
- ORA-01555 Snapshot Too Old
- Related: Undo Retention, Read Consistency
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.
- Read Consistency
- Related: Undo Tablespace, System Change Number (SCN)
Guarantee that a query sees data as of a single point in time, reconstructed from undo when blocks change during statement or transaction execution.
- Online Redo Log
- Related: Log Writer (LGWR), Archived Redo Log, Log Switch
Circularly reused set of files recording every change to the database, required for crash recovery and standby synchronization.
- Archived Redo Log
- Related: Online Redo Log, ARCHIVELOG Mode, Media Recovery
Copy of a filled online redo log file saved by the archiver process, forming the basis for media recovery and point-in-time recovery.
- Log Switch
- Related: Online Redo Log, Archived Redo Log
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.
- Commit
- Related: Rollback, Log Writer (LGWR)
Statement that makes a transaction's changes permanent and visible, and triggers LGWR to flush the transaction's redo to disk.
- Rollback
- Related: Undo Tablespace, Commit
Ending a transaction by discarding its changes, using undo records to restore the before-images of modified blocks.
- Profile
- Related: Role, System Privilege
Named set of password and resource limits, such as failed login attempts or idle time, assigned to database users to constrain their sessions.
- Role
- Related: System Privilege, Object Privilege, Profile
Named collection of privileges that can be granted to users or other roles, simplifying administration and enabling dynamic privilege changes.
- System Privilege
- Related: Object Privilege, Role
Right to perform a class of actions anywhere in the database, such as CREATE TABLE or SELECT ANY TABLE, typically granted by a DBA.
- Object Privilege
- Related: System Privilege, Role
Right to perform a specific action on a specific schema object, such as SELECT or UPDATE on one named table.
- PFILE / SPFILE
- Related: NOMOUNT Stage, SHUTDOWN IMMEDIATE
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.
- NOMOUNT Stage
- Related: MOUNT Stage, OPEN Stage, PFILE / SPFILE
Startup phase in which Oracle reads the parameter file, allocates the SGA, and starts background processes but does not open control files or datafiles.
- MOUNT Stage
- Related: NOMOUNT Stage, OPEN Stage, Control File
Startup phase after NOMOUNT in which the instance opens the control files, learning datafile and redo log locations without opening the database itself.
- OPEN Stage
- Related: MOUNT Stage, SHUTDOWN IMMEDIATE
Final startup phase in which datafiles and online redo logs are opened, making the database available for normal user connections.
- SHUTDOWN IMMEDIATE
- Related: Checkpoint, OPEN Stage
Shutdown mode that disconnects sessions, rolls back uncommitted transactions, and writes a checkpoint before closing files, requiring no recovery on next start.
- Control File
- Related: MOUNT Stage, Checkpoint
Small binary file recording the database name, datafile and redo log locations, and the current checkpoint, essential for mounting and recovery.
- ARCHIVELOG Mode
- Related: Archived Redo Log, Media Recovery, RMAN
Database mode in which filled online redo logs are archived before reuse, enabling media recovery and online backups.
- Media Recovery
- Related: Archived Redo Log, RMAN, Instance Recovery
Restoring lost datafiles from backups and applying archived and online redo to roll them forward to a chosen point in time.
- Instance Recovery
- Related: System Monitor (SMON), Media Recovery
Automatic recovery after an instance crash, using online redo to roll forward committed changes and undo to remove uncommitted ones.
- RMAN
- Related: Media Recovery, ARCHIVELOG Mode
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.
- Flashback Query
- Related: Undo Tablespace, System Change Number (SCN)
Feature using undo data to display table contents as they appeared at an earlier timestamp or SCN, without restoring a backup.
- Listener
- Related: TNS Alias, Local Naming
Separate process that receives incoming connection requests on a network address and hands them to a database instance, spawning server processes as needed.
- TNS Alias
- Related: Listener, Local Naming
Short name resolving through naming methods to a connect descriptor containing protocol, host, port, and service name for a database connection.
- Local Naming
- Related: TNS Alias, Listener
Resolution method in which client tnsnames.ora files map net service names to connect descriptors, requiring no central directory server.
- Automatic Workload Repository (AWR)
- Related: Active Session History (ASH), ADDM
Built-in repository that periodically captures performance statistics and active session samples, forming the basis for most diagnostic reports.
- Active Session History (ASH)
- Related: Automatic Workload Repository (AWR), ADDM
In-memory and persisted samples of active sessions taken every second, used to identify where time is spent during a specific performance problem.
- ADDM
- Related: Automatic Workload Repository (AWR), Active Session History (ASH)
Advisory tool that analyzes AWR snapshots and reports the highest-impact performance problems plus recommended actions, ranked by estimated benefit.
- Automatic Maintenance Tasks
- Related: Optimizer Statistics, ADDM
Scheduled jobs run during maintenance windows, including optimizer statistics gathering, automatic segment advisor, and automatic space advisory.
- Optimizer Statistics
- Related: Automatic Maintenance Tasks, Hard Parse
Metadata describing table and index data distribution, such as row counts and column histograms, used by the optimizer to choose execution plans.
- Automatic Diagnostic Repository (ADR)
- Related: Alert Log, ADDM
File-based directory structure storing trace files, alert logs, and incident dumps for the database and other Oracle components.
- Alert Log
- Related: Automatic Diagnostic Repository (ADR)
Chronological text record of significant database events such as startup, shutdown, errors, and log switches, stored inside the ADR.