In my transaction, I am creating a temporary table:
create temporary table x on commit drop as
select ...
I also add an index on that table:
create index on x(some_column);
Is it now necessary to run analyze
on that table? Or do I only need to analyze the table for updates/deletes after index creation?
In other words, my question is: does the creation of an index already imply an analyze
execution?