Re: Index Tuning Features

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Index Tuning Features
Дата
Msg-id 14250.1160522109@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Index Tuning Features  (Robert Treat <xzilla@users.sourceforge.net>)
Ответы Re: Index Tuning Features  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Robert Treat <xzilla@users.sourceforge.net> writes:
> Anything that can be done to wheedle down your choices 
> before you have to run EXPLAIN ANALYZE is a bonus. 

Fair enough, but I prefer Peter's suggestion of attaching the
hypothetical index definitions to EXPLAIN itself, rather than making
bogus catalog entries.  Something along the line of

EXPLAIN <statement>
ASSUMING INDEX fooi ON foo ....
[ ASSUMING INDEX ... ]

although this exact syntax probably doesn't work unless we're willing
to make ASSUMING a fully reserved word :-(

I have some vague recollection that this idea has been discussed
before...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: query optimization with UDFs
Следующее
От: "Mark Woodward"
Дата:
Сообщение: Re: Index Tuning Features