performance: PRAGMA journal_mode = OFF for log DB
temp_store = MEMORY instead of temp_store = 2 to improve readability