AW: Some Improvement

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: Some Improvement
Дата
Msg-id 11C1E6749A55D411A9670001FA68796336800A@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Ответы RE: Some Improvement  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-hackers
> I still think there must be sorting going on, as the result 
> is returned
> instantly if you remove the ORDER BY. I don't know - I do think it's
> much better now.

Are you doing the exact query I wrote for you ?
That is:order by mail_list desc, mail_date desc

explain should tell you if it does a sort. There should not be a difference
with 
or without the order by.
Hiroshi, I think you implemented the backwards index scan ?
Otherwise he would need to recreate the index as(mail_list desc, mail_date desc)

Sorry for the inconvenience
Andreas


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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: Re: postgres TODO
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: postgres TODO