how to find the order of joins from Explain command XML plan output in PostgreSQL

Поиск
Список
Период
Сортировка
От Rajmohan C
Тема how to find the order of joins from Explain command XML plan output in PostgreSQL
Дата
Msg-id CAHaqV0i03QqvZ_y07RVBEqzm-Ok4J=r9rn+GqCPz-F_+hR6JwQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: how to find the order of joins from Explain command XML plan output in PostgreSQL  (David G Johnston <david.g.johnston@gmail.com>)
Список pgsql-hackers
<div dir="ltr">"EXPLAIN (format XML) " command in PostgreSQL9.3.4 gives the plan chosen by the optimizer in XML format.
Inmy program, I have to extract certain data about optimizer plan from this XML output. I am using
<strong>LibXML2</strong>library for parsing the XML. I had successfully extracted information about which relations are
involvedand what joins are used by parsing the XML. But I am <strong>unable to extract the</strong> <strong>order of
joiningthe relations from the XML output</strong>. I conceptually understood that the reverse level order traversal of
binarytree representation of the XML plan will give correct ordering of joins applied. But I could not figure out how
doI get that from the XML? Does libXML2 support anything of this sort? If not how should I proceed to tackle this?<br
/></div>

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_resetxlog to clear backup start/end locations.
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: tweaking NTUP_PER_BUCKET