Entering WAL mode for sqlite`

 
Written By Sanjir Habib On Oct-25th, 2018
PRAGMA journal_mode=WAL;  

You can then read the database while it’s been written to by a separate process.