A Postgres DBA at work, waiting hours while a fresh database is being provisioned, to optimize a complex query.