Skip to content

Explain how the DB is locked #1669

Open
@szarnyasg

Description

@szarnyasg

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions