Referential integrity is nice, though not losing data is always job #1. In that respect, SQLite is pretty hard to beat. Seems like half the linux filesystem bugs I read about have a sidenote of "
SQLite unaffected".
Richard Hipp did some very solid engineering on it.