Storage glossary · JSON corpus · llms.txt · hesela.com

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: Powersafe overwrite 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

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)
  4. Hesela: atomic writes and powersafe overwrite, synthetic byte-state examples. (accessed 2026-10-14)
  5. Hesela: synthetic recovery-state examples, code hash and executable tests. (accessed 2026-10-14)

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