max / min explain

Поиск
Список
Период
Сортировка
От adb
Тема max / min explain
Дата
Msg-id Pine.GSO.4.10.10102191422490.2561-100000@hairdini.beast.com
обсуждение исходный текст
Список pgsql-general
I've noticed that select max(the_primary_key) from some_table
does a table scan.  Is there any plan to implement max/min calculations
using index lookups if the appropriate index exists?

Thanks,

Alex.


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: not using table aliases in where clause slow-down?
Следующее
От: "Donald Braman"
Дата:
Сообщение: How do I change data type from text to bool?