Re: Why is seq search preferred here by planner?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Why is seq search preferred here by planner?
Дата
Msg-id 200304231321.06443.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Why is seq search preferred here by planner?  (<mallah@trade-india.com>)
Список pgsql-sql
Mallah,

> Got it , you mean to say userid being pkey  is affecting the method of
> implicit join being made by the update  stmt.

More to the point, the PKey index doesn't help the db retrieve the rows to
join at all.  It might if only 1,000 rows matched, but not with 150,000
matching rows.

-Josh Berkus



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

Предыдущее
От:
Дата:
Сообщение: Re: Why is seq search preferred here by planner?
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Ok,, what about cache for SEQUENCE - where? how?