SQLite Forum

Detect whether database was opened in shared cache mode
Login
That's a good suggestion.  I just checked, and omitting shared-cache makes
the SQLite both smaller (by about 1%) and faster (by about 0.3%).  I will
consider changing shared-cache to an opt-in rather than opt-out beginning
with 3.33.0.