3 ms·
Think about what the code looks like. What you say about the log isn't true. A log is also the restore. The database must make sure that if it's written to the
by nolok 3y ago
Think about what the code looks like.
What you say about the log isn't true. A log is also the restore. The database must make sure that if it's written to the log, it's written to the database, and vice versa. Both for restore in case of crash, and for sync across databases, and ...
This alone will ensure performances are not those of the disk, you need to write twice and use synced writes instead of async.