DuckDB in Action
manning.com
manning.com
Does it write synchronously on COMMIT and never lose data? Is it reliable enough to use instead of SQLite?
As DuckDB is an analytics database, it has only minimal support for transactions and parallel write access. You therefore couldn’t use it in applications and APIs that process and store input data arriving arbitrarily. Similarly when multiple concurrent processes read from a writeable database.`duckdb.sql("SELECT foo, bar * 2 as bar_times_2 FROM ...").pl()` (now in polars format) -> other stuff
In Rust, it's a bit fuzzier to me, as DuckDB is a pretty heavy dependency. I'm looking more and more fondly at DataFusion.
DuckDB is a heavy dependency in terms of size. It's written in C++, so you can't work with it like a native rust dep.