duckdb-web icon indicating copy to clipboard operation
duckdb-web copied to clipboard

Explain how the DB is locked

Open szarnyasg opened this issue 1 year ago • 1 comments

There is a short FAQ entry about this but it is rather vague https://duckdb.org/faq#how-can-multiple-processes-write-to-duckdb

  1. Explain why does this limitation exist? Compared to SQLite (which does not have a cache) or Postgres (where you cannot launch multiple Postgres instances on the same database file).

  2. How do your design patterns need to change --> that's a guide e.g., "double-buffering style" for locking. Here's how you do this in Python.

szarnyasg avatar Nov 28 '23 08:11 szarnyasg

This should go under the new Concurrency page.

szarnyasg avatar Feb 01 '24 17:02 szarnyasg