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
{{ message }}
Repository navigation
Release the DuckDB file lock when a connection goes idle #2518
DuckDB takes a read-write lock on the file for the life of the connection. While TablePro holds one, no other process can open that database, so leaving a tab open blocks a script, a notebook or a second tool with an error that names no owner.
Proposed solution
Close the DuckDB handle after a configurable idle period and reopen it on the next query, with the reopen invisible to the user.
A Release lock item on the connection's menu for releasing it now.
Read-only mode on the connection form, using DuckDB's own read-only open so several processes can read one file at once.
When an open fails because another process holds the lock, say that is what happened.
Alternatives considered
Close the tab every time another tool needs the file.
Activity
maheshrijal commentedon Sep 8, 2026
Was looking for something like this but on MySQL