encyclopegia.org

Redo log

In the Oracle RDBMS environment, redo logs comprise files in a proprietary format which log a history of all changes made to the database.[src] Each redo log file consists of redo records.[src] A redo record, also called a redo entry, holds a group of change vectors, each of which describes or represents a change made to a single block in the database.[src] For example, if a user UPDATE s a salary-value in a table containing employee-related data, the DBMS generates a redo record containing change-vectors that describe changes to the data segment block for the table.[src] And if the user then COMMIT s the update, Oracle generates another redo record and assigns the change a "system change number" (SCN).[src] Whenever something changes in a datafile, Oracle records the change in the redo log.[src] The name redo log indicates its purpose: If the database crashes, the RDBMS can redo (re-process) all changes on datafiles which will take the database data back to the state it was when the last redo record was written.[src] DBAs use the views V$LOG , V$LOGFILE , V$LOG_HISTORY and V$THREAD to find information about the redo log of the database.[src] Each redo log file belongs to exactly one group (of which at least two must exist).[src] Exactly one of these groups is the CURRENT group (can be queried using the column status of v$log).[src] Oracle uses that current group to write the redo log entries.…[src]

In the Oracle RDBMS environment, redo logs comprise files in a proprietary format which log a history of all changes made to the database.[src] Each redo log file consists of redo records.[src] A redo record, also called a redo entry, holds a group of change vectors, each of which describes or represents a change made to a single block in the database.[src] For example, if a user UPDATE s a salary-value in a table containing employee-related data, the DBMS generates a redo record containing change-vectors that describe changes to the data segment block for the table.[src] And if the user then COMMIT s the update, Oracle generates another redo record and assigns the change a "system change number" (SCN).[src] Whenever something changes in a datafile, Oracle records the change in the redo log.[src] The name redo log indicates its purpose: If the database crashes, the RDBMS can redo (re-process) all changes on datafiles which will take the database data back to the state it was when the last redo record was written.[src] DBAs use the views V$LOG , V$LOGFILE , V$LOG_HISTORY and V$THREAD to find information about the redo log of the database.[src] Each redo log file belongs to exactly one group (of which at least two must exist).[src] Exactly one of these groups is the CURRENT group (can be queried using the column status of v$log).[src] Oracle uses that current group to write the redo log entries.[src] When the group is full, a log switch occurs, making another group the current one.[src] Each log switch causes checkpoint, however, the converse is not true: a checkpoint does not cause a redo log switch.[src] One can also manually cause a redo-log switch using the ALTER SYSTEM SWITCH LOGFILE command.[src] ==See also== Transaction log[src]

26 sentences · 26 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Redo log." encyclopegia.org, 2025, https://encyclopegia.org/wiki/redo-log. Accessed 27 November 2026.

Chicago

"Redo log." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/redo-log.

APA

encyclopegia.org. (2025). Redo log. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/redo-log

Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Evangelion: 3.0 You Can (Not) Redo

stub · references available

log house

stub · references available

log flume

stub · references available

Log v Bohinju

stub · references available

log-Laplace distribution

stub · references available

Log pri Mlinšah

stub · references available

Hudi Log

stub · references available

Police Log

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1323338996 · 0.5 · snapshot enwiki-001323338996

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.