Re: Inconsistent usage of Index

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Inconsistent usage of Index
Дата
Msg-id Pine.LNX.4.30.0106091815350.778-100000@peter.localdomain
обсуждение исходный текст
Ответ на Inconsistent usage of Index  (Subra Radhakrishnan <subra100@yahoo.com>)
Список pgsql-sql
Subra Radhakrishnan writes:

> I have attached file explaining inconsistent usage of
> Index.

In the first case the system thinks it's getting 22 rows back, in the
second 713.  Depending on how many rows are in the table and whether those
estimates are close, choosing a sequential scan in the second case is
probably okay.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



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

Предыдущее
От: Subra Radhakrishnan
Дата:
Сообщение: Inconsistent usage of Index
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Index usage