Re:How to Efficiently Choose the Right Database for Your App...
by scottlamb on Sunday February 28, 2021 @12:23PM
(#26294973)
- occasionally accidentally truncates the database
If you're going to do this, at least write to a temporary file, fsync the file, rename into place, and fsync the directory. But I recommend SQLite any time someone is tempted to write these lines.
If you're going to do this, at least write to a temporary file, fsync the file, rename into place, and fsync the directory. But I recommend SQLite any time someone is tempted to write these lines.