set up WAL mode
optimizations