Skip to content

Why the database writes everything twice

A database writes a change to a log before applying it to the data files, so the change is written twice. Why is that faster and safer than writing once?