Skip to content

open working database in another notebook #4226

Answered by astafan8
osagi2 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @osagi2 ! it is safe to have more than one process read from the same database file, but not write. This is thanks to the fact that we use sqlite database with the Write-Ahead Log (WAL) mode turned on by default. Once you'd like to write from more than one process to the same database file, then you need to be careful because that's not supported.

to make the answer closer to your use case - if the analysis notebook only reads and does not write to the database file, then everything will just work. In case in your analysis notebook, you'd like to write results to the same database file, then you can do that but only when the first notebook is not writing to the database file. If it hap…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by astafan8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants