|
|
|
|
|
by ggm
687 days ago
|
|
"in case of disk loss, we wrote the things we were going to write to disk, to the WAL. which is also on disk" I never entirely got it. Either your WAL is on more reliable media, or duplicated. If its just "easier" to write the WAL and faster to read off properly indexed state, ok, thats a local optimisation. If your WAL is on the same filesystem behind a vendor specific RAID controller, you're still stuffed, if that RAID card dies. |
|
It doesn't guarantee you don't lose data written during the crash, but it does guarantee you can get the database back into a usable state.