Re: Scrollable cursors and Sort performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Scrollable cursors and Sort performance
Дата
Msg-id 23047.1141081281@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Scrollable cursors and Sort performance  ("Jim C. Nasby" <jnasby@pervasive.com>)
Ответы Re: Scrollable cursors and Sort performance
Список pgsql-hackers
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> On Mon, Feb 27, 2006 at 02:17:23PM +0000, Simon Riggs wrote:
>>> Possibly we could make EXPLAIN ANALYZE EXECUTE set the random-access
>>> bits.
>> 
>> Good point. Whichever we do will be wrong in some cases.... I've no real
>> opinion on this other than a vague preference for it to be quick.

> Wouldn't an EXPLAIN ANALYZE DECLARE ... have the right information to
> know if backward scan, etc was needed?

There is no EXPLAIN ANALYZE DECLARE, and AFAICS it would be a
contradiction in terms to have one, since DECLARE doesn't run the query.
Perhaps the correct addition would be EXPLAIN ANALYZE FETCH.  (EXECUTE
is unrelated, now that I think harder about it.)
        regards, tom lane


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Scrollable cursors and Sort performance
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Scrollable cursors and Sort performance