SQLite performance tweak