Understanding Write Ahead Logging

I am trying to understand WAL (Write Ahead Logging) from the perspective of sqlite3, HBase etc. Below is a summary of my understanding. Refer to these links for more information: sqlite3, postgresql, sqlserver, hbase, bigtable. ###General stuff What is WAL Write new content of a write at end of a WAL file instead overwriting content in the actual database file Advantages of WAL Writes and reads are faster Writes and reads can be concurrent (for a given data file) More sequential disk I/O Fewer fsync() calls Allows crash recovery ###Sqlite3 ...

April 6, 2014 · 3 min · Bharath