Re: Seqscan

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Seqscan
Дата
Msg-id 1193107511.26301.59.camel@jdavis
обсуждение исходный текст
Ответ на Seqscan  (Adrian Demaestri <ademaestri@yahoo.com>)
Ответы Re: Seqscan
Список pgsql-performance
On Mon, 2007-10-22 at 19:24 -0700, Adrian Demaestri wrote:
> Hi,
> I think planner should use other plans than seqscan to solve querys
> like select * from hugetable limit 1, especially when the talbe is
> very large. Is it solved in newer versions or is there some open
> issues about it?.
> thanks
> I'm working with postgres 8.0.1,

For the query in question, what would be faster than a seqscan? It
doesn't read the whole table, it only reads until it satisfies the limit
clause.

Regards,
    Jeff Davis


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

Предыдущее
От: Adrian Demaestri
Дата:
Сообщение: Seqscan
Следующее
От: Pavel Velikhov
Дата:
Сообщение: Re: need help with a query