Re: Sequence Scan vs. Index scan

Поиск
Список
Период
Сортировка
От Steinar H. Gunderson
Тема Re: Sequence Scan vs. Index scan
Дата
Msg-id 20060321181732.GA16124@uio.no
обсуждение исходный текст
Ответ на Sequence Scan vs. Index scan  (Fernando Lujan <fernando.lujan@mandic.com.br>)
Список pgsql-performance
On Tue, Mar 21, 2006 at 03:08:07PM -0300, Fernando Lujan wrote:
> I'm trying to figure out when Sequence Scan is better than Index Scan. I
> just want to know this because I disabled the sequence scan in
> postgresql and receive a better result. :)

That is a very broad question, and you're introducing somewhat of a false
choice since you're talking about joins (a join can be solved by more methods
than just "sequential scan" or not).

Could you please paste the exact query you're using, with EXPLAIN ANALYZE for
both the case with and without sequential scans?

/* Steinar */
--
Homepage: http://www.sesse.net/

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

Предыдущее
От: Fernando Lujan
Дата:
Сообщение: Sequence Scan vs. Index scan
Следующее
От: "Mikael Carneholm"
Дата:
Сообщение: Re: Sequence Scan vs. Index scan