Re: statistics about tamp tables ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: statistics about tamp tables ...
Дата
Msg-id 14939.1069860339@sss.pgh.pa.us
обсуждение исходный текст
Ответ на statistics about tamp tables ...  (Hans-Jürgen Schönig <postgres@cybertec.at>)
Ответы Re: statistics about tamp tables ...
Список pgsql-hackers
Hans-Jürgen Schönig <postgres@cybertec.at> writes:
> Recently I have come across a simple issue which made me think about it.
> When we create a tmp table (SELECT INTO, CREATE TABLE AS) the planner 
> won't know anything about its content after creating it.

Run ANALYZE on the temp table, if you intend to use it enough to justify
gathering stats about it.  VACUUM is more work than needed.
        regards, tom lane


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

Предыдущее
От: Shridhar Daithankar
Дата:
Сообщение: Re: Providing anonymous mmap as an option of sharing memory
Следующее
От: ow
Дата:
Сообщение: Re: pg_restore and create FK without verification check