Flash storage topics
Flash storage topics
Posted Jun 7, 2018 19:15 UTC (Thu) by andresfreund (subscriber, #69562)In reply to: Flash storage topics by drh
Parent article: Flash storage topics
Not necessarily. You can still get durability with barriers by waiting for the barrier to complete. But IMHO barriers are more useful for things like flushing the write ahead log because you want to write out buffers, rather than WAL flushes due to commits. Usually you have to sync the log before writing out a buffer that's covered by not yet flushed entries. Barriers can make that a lot more efficient.