SQLite User Forum

sqlite write performance is slower than the filesystem
Login
Try removing the VACUUM call, there's no empty pages to defragment anyway.

Furthermore, you're doing a bunch of PRAGMA calls that may or may not help. Try not doing those.