ANALYZE after CREATE TABLE AS SELECT...

Поиск
Список
Период
Сортировка
От Semyon Reyfman
Тема ANALYZE after CREATE TABLE AS SELECT...
Дата
Msg-id 00c801d051f6$32fa8d30$98efa790$@therealauthority.com
обсуждение исходный текст
Ответы Re: ANALYZE after CREATE TABLE AS SELECT...
Список pgsql-general

Hi,

 

When I create a table with “CREATE TABLE name AS SELECT…” statement and immediately afterward use this new table in a query does it make sense to run ANALYZE on the new table in between?  It appears that postgres should be able to collect very detailed statistics while emitting the table but I am not sure if this is done.

 

Thanks

 

Simon

В списке pgsql-general по дате отправления: