How to get detailed query execution statistics for each algebra operator or primitive

From: Tiago Kepe <tiagokepe(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: How to get detailed query execution statistics for each algebra operator or primitive
Date: 2017-11-11 13:49:34
Message-ID: CACMk=OLogf2uJvJ6vtW+PD3gwg0aN4=mRpXKwW-b9QPwR8SJhQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I need to obtain statical information (execution time, main memory
footprint and so on) for every single algebra operator or primitive from a
query on PostgreSQL

I get those statistics using the Trace statement of MonetDB ->
https://www.monetdb.org/Documentation/Manuals/SQLreference/Trace

But, I've researched a lot on PostgreSQL and I couldn't find any
straightforward method like in MonetDB. In which when a query is executed
with the Trace statement some pre-defined statistics are registered into
the sys.tracelog table for every single primitive of that query. I wish
something similar on PostgreSQL. I have seen the explain statement, but I
need a detailed output for each primitive of a query like on MonetDB.

--
Best regards,
*Tiago Rodrigo Kepe*
PhD Student at UFPR
System Analyst at IFPR.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Keith 2017-11-11 15:22:36 Re: How to get detailed query execution statistics for each algebra operator or primitive
Previous Message Johannes Truschnigg 2017-11-11 11:26:35 Re: Upgrading postgres to 10 from 9.5 using pg_upgradecluster