Enable the following pragmas: synchronous=NORMAL, journal_mode=WAL. This offers a significant speedup to INSERT times compared to synchronous=FULL, and is roughly the same as synchronous=OFF but should be a bit safer.