In what order should I call ANALYZE
and VACUUM
in an SQLite3 database? What is the difference if there is any? My use case is to create a database for lookup, so I fill it with data, call ANALYZE
and VACUUM
and then never modify the database again.
Insight about whether the order matters for other databases like PostgreSQL and others is also appreciated.