- Compact the database by using VACUUM command to defragment data. It will reduce time to access data since they are close together.
- Since data don't change, then set journaling switch off: PRAGMA journal_mode=OFF.
- Open SQLite database connection in read-only mode, SQLITE_OPEN_READONLY.