Skip to content
All concepts

Concept

Write amplification

Write amplification is how many bytes a database writes to storage for each byte the application asked it to write. One row change is written to the log, to the table and to every index, and log-structured engines rewrite data again during compaction. The same traffic therefore costs more disk writes with every index added.

Watch one order arrive and fan out: one write to the table and one more for each index. A live step from the lesson Write amplification (Databases). Timings and counts are illustrative.

Where you'll see it