SQLite Forum

Can -wal -shm files be deleted if -wal file is empty?
Login
The problem is that I have the -wal -shm files on two different locations which are synced. The -shm files are out of synce, but -wal files are both empty. And I am sure there are no running sqlite3 processes accessing the databases on either locations.

In this case, I am not sure that updating the database files using the command that you mentioned on two locations makes sense. So just deleting the -wal and -shm files should be sufficient?