Re: Parsing output of EXPLAIN command in PostgreSQL

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Αναστάσιος Αρβανίτης <tasosarvanitis(at)yahoo(dot)gr>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Parsing output of EXPLAIN command in PostgreSQL
Date: 2011-11-10 21:29:29
Message-ID: CA+TgmoZrM26=K8L4L9BiO-DwqRjWHppQx96TH6F36cci_14oXg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2011/11/10 Αναστάσιος Αρβανίτης <tasosarvanitis(at)yahoo(dot)gr>:
> I'm developing an application that requires parsing of
> execution plans (those produced as output by issuing an EXPLAIN [query]
> command). Are you aware of any Java library that I could use for this
> purpose? I found https://github.com/depesz/Pg--Explain but it is built in Perl.
>
> Also another option I am considering is to use EXPLAIN [query] FORMAT XML which is available in PostgreSQL 9.1. However, in that case it
> would better to have the XML Schema of the generated plans available.
>
> Is there any other solution I am not aware of?

Not that I know of. I think pgAdmin can parse the EXPLAIN output,
too, but that's in C++.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2011-11-10 21:39:04 Re: const correctness
Previous Message Robert Haas 2011-11-10 21:28:12 Re: type privileges and default privileges