powersafe-overwrite · shipping · also PSOW

Powersafe overwrite

Powersafe overwrite is the storage property that an interrupted file write leaves bytes outside its requested range unchanged.

Related Observatory article: Read on hesela.com

This property does not constrain the target bytes to an entirely old or new value and does not establish durable completion. [1] SQLite reports PSOW separately from atomic-write size, safe-append and sequential-write capabilities. [2] A psow URI parameter changes an assumption in supported VFS implementations; it is not a hardware test and may be ignored by a custom VFS. [3]

Relations

related
Torn write, RWF_ATOMIC, Physical sector, Power loss protection, Crash consistency

Limitations

  • An unchanged surrounding range can coexist with a torn write inside the target. [1]

Citations

  1. SQLite: Powersafe Overwrite, scope, assumptions and torn pages. (accessed 2026-10-14)
  2. SQLite C interface: Device Characteristics. (accessed 2026-10-14)
  3. SQLite: URI filenames, enabling URI handling and psow overrides. (accessed 2026-10-14)

Further reading

  1. Hesela: atomic writes and powersafe overwrite, synthetic byte-state examples. (accessed 2026-10-14)
  2. Hesela: synthetic recovery-state examples, code hash and executable tests. (accessed 2026-10-14)

JSON: /data/terms/powersafe-overwrite.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Powersafe overwrite. Hesela. 2026-10-14. https://hesela.dev/terms/powersafe-overwrite/