Usually what is seen here is the opposite, that tables are restored and ANALYZE is not run and performance on the subsequent queries is poor due to lack of current statistics.
What is the restore process?
For these specific legacy db tables, they are isolated in a separate schema. We then use pg_restore to restore the entire schema. Essentially just: