Re: Retrieving all possible join trees from PLANNER..

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Retrieving all possible join trees from PLANNER..
Дата
Msg-id 6019.1130946553@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Retrieving all possible join trees from PLANNER..  (Gayathri TK <gtambar@ncsu.edu>)
Список pgsql-hackers
Gayathri TK <gtambar@ncsu.edu> writes:
> How do i efficiently retrieve this information?

You don't, because the planner doesn't actually calculate all possible
join trees --- it wouldn't run in a reasonable amount of time if it
tried.  It only considers trees that are built from subtrees that appear
optimal for their subset of the relations.

If that's enough for your purpose, you could hack the planner to save
aside the info somewhere.  Note that the representation is not a
finished Plan tree, only a Path tree.
        regards, tom lane


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: pg_restore [archiver] file offset in dump file
Следующее
От: Idar Tollefsen
Дата:
Сообщение: Re: 8.1RC1 fails to build on OS X (10.4)