Copy-on-write: Difference between revisions

Content deleted Content added
Other applications of copy-on-write: citation needed for C++11 inhibiting CoW
Line 13:
== Copy-on-write in storage media ==
 
COW may also be used as the underlying mechanism for disk storage [[Snapshot (computer storage)|snapshots]] such as those provided by [[logical volume management]], Microsoft [[Shadow Copy|Volume Shadow Copy Service]] or file systems such as [[btrfs]] in [[Linux]], and [[ZFS]] on [[Solaris 10]], [[Solaris 11]], [[Illumos]], [[OmniOS]], [[FreeBSD] and [[Linux]].
 
Copy-on-write is also used in maintenance of instant snapshot on database servers like Microsoft SQL Server 2005. Instant snapshots preserve a static view of a database by storing a pre-modification copy of data when underlying data are updated. Instant snapshots are used for testing uses or moment-dependent reports and should not be used to replace backups. On the other hand, snapshots enable database back-ups in a consistent state without taking them offline.