Re: Performance Killer 'IN' ?

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: Performance Killer 'IN' ?
Дата
Msg-id e51f66da0603310727o75f707f2uab7ae1c6f1720aaa@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Performance Killer 'IN' ?  (Kai Hessing <kai.hessing@hobsons.de>)
Ответы Re: Performance Killer 'IN' ?  (Kai Hessing <kai.hessing@hobsons.de>)
Список pgsql-general
On 3/31/06, Kai Hessing <kai.hessing@hobsons.de> wrote:
> The second one (UPDATE xyz WHERE id IN (xyz1, xyz2, ....) AND
> status>-1;) returns:
> ------------------
> Seq Scan on phon  (cost=0.00..1573304.58 rows=105931 width=148) (actual
> time=369563.565..369563.565 rows=0 loops=1)

Just a shot in the dark: does the plan stay the same,
when you remove the ' AND status > -1' ?

--
marko

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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: [Slightly OT] data model books/resources?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Performance Killer 'IN' ?