Discover and read the best of Twitter Threads about #LogForceAtCommit

Most recents (1)

I answered on LinkedIn about how transaction log, redo log, and WAL are the same.

In practice MSSQL transaction log ~= Oracle redo log ~ PostgreSQL WAL
but with more details: ๐Ÿงต๐Ÿ‘‡๐Ÿป
1. A transaction log must include:
- undo log
- redo log
- transaction boundaries
for A,C,I properties of ACID

It can be in memory but must be synced to disk at commit (#LogForceAtCommit) for the D property of ACID
2. For performance, writing data buffers to disk is deferred and reordered because random writes are slow. The changes lost after a crash can be rolled forward from the redo log to recover the on-disk state
Read 7 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!