Re: followup to SELECT/INSERT problem

Поиск
Список
Период
Сортировка
От Jim Mercer
Тема Re: followup to SELECT/INSERT problem
Дата
Msg-id 20000623135415.J24735@reptiles.org
обсуждение исходный текст
Ответ на Re: followup to SELECT/INSERT problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Fri, Jun 23, 2000 at 12:00:31PM -0400, Tom Lane wrote:
> Jim Mercer <jim@reptiles.org> writes:
> > it appears that each call to UPDATE seems to be taking a long, long time to
> > complete.
>
> Poor choice of plan, maybe?  What does EXPLAIN say about how a typical
> example of the UPDATE will be executed?

silly me, i should have know to do more investigation before going to the list.

as it turns out, the index on the key was not being used.

a "vacuum verbose analyze" caused things to run much, much faster.
(hence the UPDATE ... WHERE key = ... was taking extra long)

--
[ Jim Mercer                 jim@reptiles.org              +1 416 410-5633 ]
[          Reptilian Research -- Longer Life through Colder Blood          ]
[  Don't be fooled by cheap Finnish imitations; BSD is the One True Code.  ]

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

Предыдущее
От: Vassili A Akimov
Дата:
Сообщение: Re: Need to improve performance
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Need to improve performance