encyclopegia.org

Shadow paging

In computer science, shadow paging is a technique for providing atomicity and durability (two of the ACID properties) in database systems.[src] A page in this context refers to a unit of physical storage (probably on a hard disk), typically of the order of 1 to 64 KiB.[src] Shadow paging is a copy-on-write technique for avoiding in-place updates of pages.[src] Instead, when a page is to be modified, a shadow page is allocated.[src] Since the shadow page has no references (from other pages on disk), it can be modified without concern for consistency constraints, etc.[src] When the page is ready to become durable, all pages that referred to the original are updated to refer to the new replacement page instead.[src] Since the page is "activated" only when it is ready, it is atomic.[src] If the referring pages must also be updated via shadow paging, this procedure may recurse many times, becoming costly.[src] One solution, employed by the Write Anywhere File Layout (WAFL) file system, is to be lazy about making pages durable (i.e., write-behind caching).[src] This increases performance significantly by avoiding many writes on hotspots high in the referential hierarchy (e.g., a file system superblock) at the cost of high commit latency.[src] Write-ahead logging is a more popular solution that uses in-place updates.…[src]

In computer science, shadow paging is a technique for providing atomicity and durability (two of the ACID properties) in database systems.[src] A page in this context refers to a unit of physical storage (probably on a hard disk), typically of the order of 1 to 64 KiB.[src] Shadow paging is a copy-on-write technique for avoiding in-place updates of pages.[src] Instead, when a page is to be modified, a shadow page is allocated.[src] Since the shadow page has no references (from other pages on disk), it can be modified without concern for consistency constraints, etc.[src] When the page is ready to become durable, all pages that referred to the original are updated to refer to the new replacement page instead.[src] Since the page is "activated" only when it is ready, it is atomic.[src] If the referring pages must also be updated via shadow paging, this procedure may recurse many times, becoming costly.[src] One solution, employed by the Write Anywhere File Layout (WAFL) file system, is to be lazy about making pages durable (i.e., write-behind caching).[src] This increases performance significantly by avoiding many writes on hotspots high in the referential hierarchy (e.g., a file system superblock) at the cost of high commit latency.[src] Write-ahead logging is a more popular solution that uses in-place updates.[src] Shadow paging is similar to the old master–new master batch processing technique used in mainframe database systems.[src] In these systems, the output of each batch run (possibly a day's work) was written to two separate disks or other form of storage medium.[src] One was kept for backup, and the other was used as the starting point for the next day's work.[src] Shadow paging is also similar to purely functional data structures, in that in-place updates are avoided.[src] ==References==[src]

27 sentences · 27 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Shadow paging." encyclopegia.org, 2026, https://encyclopegia.org/wiki/shadow-paging. Accessed 25 November 2026.

Chicago

"Shadow paging." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/shadow-paging.

APA

encyclopegia.org. (2026). Shadow paging. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/shadow-paging

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

Related articles

The Screaming Shadow

stub · references available

Me and My Shadow

stub · references available

Shadow Dancer

stub · references available

Spiral Shadow

stub · references available

Shadow

stub · references available

The Shadow of the Sun

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

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

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