As per title, I'm current using JDBC on eclipse to connect to my PostgreSQL.
I have been running EXPLAIN ANALYZE statements to retrieve query plans from postgres itself. However, is it possible to store these query plan in a structure that resemble a tree? e.g main branch and sub branch etc. I read somewhere that it is a good idea to store it into xml document first and manipulate it from there.
Is there an API in Java for me to achieve this? Thanks!
EXPLAIN ANALYZEdata to XML? No, that's for you to write. --- "I read somewhere that it is a good idea to store it into xml document first and manipulate it from there." Where did you read that? What manipulation would you be doing? Manipulating XML (DOM) may not the best way to do it.xplain (analyze, format xml) select * from pg_database join pg_class on true;