I really appreciate your response! Thank you Sir. Unfortunately, I cannot switch to WAL mode and i think, that changing busy_timeout is not the best option for app that I working on. I see that I will be forced to run pragma integrity_check during hours when the app is not used by users or just simply turn off the app and then check db.