You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both sqlite and duckdb allow multiple read connections, but only one write, we need to note about that in duckdb data connector, and duckdb/sqlite accelerator docs.
To write to a database, a process must first acquire a SHARED lock as described above (possibly rolling back incomplete changes if there is a hot journal). After a SHARED lock is obtained, a RESERVED lock must be acquired. The RESERVED lock signals that the process intends to write to the database at some point in the future. Only one process at a time can hold a RESERVED lock. But other processes can continue to read the database while the RESERVED lock is held.
SHARED | The database may be read but not written. Any number of processes can hold SHARED locks at the same time, hence there can be many simultaneous readers. But no other thread or process is allowed to write to the database file while one or more SHARED locks are active.
The text was updated successfully, but these errors were encountered:
Both sqlite and duckdb allow multiple read connections, but only one write, we need to note about that in duckdb data connector, and duckdb/sqlite accelerator docs.
https://duckdb.org/docs/connect/concurrency
https://www.sqlite.org/lockingv3.html
The text was updated successfully, but these errors were encountered: