Re: ANALYZE after CREATE TABLE AS SELECT... - Mailing list pgsql-general

From Tom Lane
Subject Re: ANALYZE after CREATE TABLE AS SELECT...
Date
Msg-id 16810.1424977544@sss.pgh.pa.us
Whole thread Raw
In response to ANALYZE after CREATE TABLE AS SELECT...  ("Semyon Reyfman" <sreyfman@therealauthority.com>)
Responses Re: ANALYZE after CREATE TABLE AS SELECT...  (David Steele <david@pgmasters.net>)
List pgsql-general
"Semyon Reyfman" <sreyfman@therealauthority.com> writes:
> 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?

Yes.

            regards, tom lane


pgsql-general by date:

Previous
From: "Semyon Reyfman"
Date:
Subject: ANALYZE after CREATE TABLE AS SELECT...
Next
From: Hanns Hartman
Date:
Subject: Re: How is autovacuum affected by a change in year.