Re: Very slow updates when using IN syntax subselect

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Very slow updates when using IN syntax subselect
Дата
Msg-id 200602112134.57572.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Very slow updates when using IN syntax subselect  (Bryce Nesbitt <bryce1@obviously.com>)
Ответы Re: Very slow updates when using IN syntax subselect  (Bryce Nesbitt <bryce1@obviously.com>)
Re: Very slow updates when using IN syntax subselect  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Bryce Nesbitt wrote:
> > It seems pretty clear that you've never vacuumed nor analyzed these
> > tables ... else the planner would have some clue about their sizes.
> > Do that and then see what you get.
>
> They occur in fine time.  That's good, thanks.  But jeeze, can't
> postgres figure this out for itself?

I'm sure you wouldn't appreciate it if PostgreSQL did a full table scan 
before each query to figure out the total size of the involved tables.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Bryce Nesbitt
Дата:
Сообщение: Re: Very slow updates when using IN syntax subselect
Следующее
От: Bryce Nesbitt
Дата:
Сообщение: Re: Very slow updates when using IN syntax subselect