News for hackers. Stuff that matters.
Re:What's New in SQLite 3.35 by exyi on Friday March 12, 2021 @04:35PM (#26441262)
DuckDB is designed for query processing, not updating data - I guess you would not want to use it for the transaction processing workloads just because it's easier to install. If you are doing mostly complex queries, then DuckDB is great, but I think there is going to be little usage directly in production, I'd expect it's more used for data processing
Re:What's New in SQLite 3.35 by bondant on Friday March 12, 2021 @04:44PM (#26441355)
Yes I'm doing very few update or insert, but I run a lot of queries, so I guess it should be more than okay for DuckDB.
Re:What's New in SQLite 3.35 by snicker7 on Friday March 12, 2021 @04:44PM (#26441352)
And how great is SQLite for transactional workloads? Every transaction locks up the entire db. There is no page or even table level locking. DuckDB can't be worse than that.
Re:What's New in SQLite 3.35 by nalgeon on Friday March 12, 2021 @04:58PM (#26441487)
SQLite in WAL mode allows single concurrent writer and unlimited readers. Which is completely fine for a wide range of production use cases.
Re:What's New in SQLite 3.35 by simonw on Friday March 12, 2021 @05:33PM (#26441786)
In practice, I've found that most SQLite write operations take low-milliseconds to complete - so even under a very heavy write load (assuming WAL mode) you're unlikely to see any contention between writes.

For my own stuff I maintain an in-memory Python queue of write operations and apply them in order against a single write connection - while running numerous other read-only connections to serve SELECTs.

Re:What's New in SQLite 3.35 by infogulch on Friday March 12, 2021 @04:53PM (#26441432)
SQLite is not at the top of the charts, but there's a looong ways to drop below it among the wide variety of desirable properties that it offers.