SQLite Forum

LockingMode Exclusive for a shared readonly database
Login
I would like to know, if there is an issue, if the locking_mode is set to exclusive on a shared readonly database?

Use case:

I have a large sqlite3 file, which is used by multiple docker container. The sqlite3 database is used only for reads (SELECT). 

Can I set all the connections to use locking_mode exclusive so that all connections have better performance, as I dont use any write operation? Or could the connections block each other while reading because they assume that there could be a writelock be acquired by another process?