The database system writes data changes from different caches (working memory) to the volumes (permanent storage) at savepoints.
See also:
Concepts of the Database System, Savepoint