Re: Very slow updates when using IN syntax subselect

Поиск
Список
Период
Сортировка
От Bryce Nesbitt
Тема Re: Very slow updates when using IN syntax subselect
Дата
Msg-id 43F0C189.2050501@obviously.com
обсуждение исходный текст
Ответ на Re: Very slow updates when using IN syntax subselect  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>   
>> Bryce Nesbitt wrote:
>>     
>>> They occur in finite 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.
>>     
>
> It's also less than polite to complain about the behavior of
> two-year-old releases, without making any effort to ascertain
> whether more-current versions are smarter.
>   
Sorry to offend.  Are current versions smarter?
The DB I was working with still had row counts of 1 after tens of thousands
of records had been added.

With new versions, must the DB still be VACUUMED, or is that a bit
more automatic?


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

Предыдущее
От: Mathieu Arnold
Дата:
Сообщение: Re: ORDER BY CASE ...
Следующее
От: George Weaver
Дата:
Сообщение: Re: CREATE VIEW form stored in database?