Re: max() not using index

Поиск
Список
Период
Сортировка
От Ralph Graulich
Тема Re: max() not using index
Дата
Msg-id Pine.LNX.4.21.0207171439080.7918-100000@shauny.shauny.de
обсуждение исходный текст
Ответ на Re: max() not using index  ("Peter Gibbs" <peter@emkel.co.za>)
Список pgsql-general
Hi Peter,


> >   ->  Seq Scan on dam  (cost=0.00..5442.92 rows=132692 width=4)
> select dam_id from dam order by dam_id desc limit 1;

Thanks alot. That did the trick.


Kind regards
... Ralph ...



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

Предыдущее
От: Manfred Koizar
Дата:
Сообщение: Re: Using index with order desc
Следующее
От: Manfred Koizar
Дата:
Сообщение: Re: NULL Foreign Key