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...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tong Pham
Дата:
Сообщение: Re: [postgresql 9.3.5] autovacuums stuck on non-existent pg_toast tables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ANALYZE after CREATE TABLE AS SELECT...