LWN.net Logo

Better than POSIX?

Better than POSIX?

Posted Mar 17, 2009 18:31 UTC (Tue) by butlerm (subscriber, #13312)
In reply to: Better than POSIX? by walters
Parent article: Better than POSIX?

That SQLite explanation you quoted is an excellent example. It is worth
noting however that high performance databases can commit a durable
transaction as soon as the necessary journal update has made it to
persistent storage. Nothing else needs to be touched.

SQLite on the other hand, appears to do a checkpoint (i.e. finish the
updates to all the actual data files) as part of every commit. That is not
necessary in a good design. There is nothing fundamental about filesystem
or database design that requires anything except the journal to be
synchronously updated on transaction commit. If durability is not
required, not even that.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds