Difficulty: Easy
Correct Answer: Valid (SCN is a database-wide logical timestamp advanced by changes/commits)
Explanation:
Introduction / Context: Oracle’s System Change Number (SCN) is a cornerstone of read consistency, recovery, flashback, and replication features. Understanding that the SCN represents a monotonically increasing, database-wide logical time helps explain how Oracle ensures consistent views and coordinates recovery.
Given Data / Assumptions:
Concept / Approach: Each committed transaction advances the SCN; Oracle tags blocks and undo with SCNs to reconstruct consistent snapshots for queries. During recovery, Oracle rolls forward or back to target SCNs. Thus, the description that the SCN is “database-wide and incremented whenever changes are made” captures the essential behavior (details vary internally, but this abstraction is correct).
Step-by-Step Solution:
Issue a DML and COMMIT; the database SCN advances.Queries can request data “as of” an SCN using flashback features.Recovery operations choose an SCN target to restore consistency.Data Guard synchronizes using SCN progression to maintain standby alignment.Verification / Alternative check: Querying CURRENT_SCN before and after a COMMIT shows growth. RMAN backups record checkpoint SCNs for recoverability.
Why Other Options Are Wrong:
Common Pitfalls: Assuming SCN equals physical time; confusing SCN with object identifiers.
Final Answer: Valid (SCN is a database-wide logical timestamp advanced by changes/commits)
Discussion & Comments