Analyze SQLite DB before finishing