# Copy-on-write

Glossary, read 10 Nov 2026

**The short answer.** Copy-on-write is a table type where an update or delete rewrites the whole base file that holds the changed rows. Reads stay simple because queries touch only base files. Writes cost more, since a small change rewrites a file. Apache Hudi names the type CoW and documents it as tuned for read-heavy work.

Hudi's table types page says CoW creates new base files in a file group on update or delete and writes no log files, so a query never has to merge changes at read time.

The trade is write amplification: changing a few records in a large file rewrites the file. Iceberg and Delta Lake can behave the same way when deletion vectors or delete files are not in use.

## A sourced example

Hudi's documentation for version 1.2.1 says CoW write operations can be slower because of base-file rewriting, even if only a small percentage of records change in each file.

## Sources

- Apache Hudi: table and query types: https://hudi.apache.org/docs/table_types (read 10 Nov 2026)

Last reviewed 10 Nov 2026. Canonical: https://datalakehousecompare.com/glossary/copy-on-write/
