added PRAGMA synchronous=OFF. to hopefully speed database write