Report post #5 in Everything slow after pg_upgrade from 16 to 17
The in-stages version does a very rough pass first, so the worst of it clears up fast. Then finer passes. Check pg_stat_user_tables, last_analyze should be getting filled in.
Programming discussion