Re: Finding execution plan

From: shashidhar Reddy <shashidharreddy001(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Finding execution plan
Date: 2023-11-03 17:56:19
Message-ID: CAH=zU4vJ7nHyoQEX53g0jqxNyEYOxJoSk+W-bJPvZaTKSgj3Kg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thank you Adrian fir the reply, I am looking for something like complete
execution plan of the function just like EXPLAIN does.

On Fri, 3 Nov, 2023, 11:15 pm Adrian Klaver, <adrian(dot)klaver(at)aklaver(dot)com>
wrote:

>
> On 11/3/23 10:44 AM, Adrian Klaver wrote:
>
>
> On 11/3/23 10:40 AM, shashidhar Reddy wrote:
>
> Hello All,
>
> I have a Postgresql function scheduled to run on the database, some tines
> it is taking too long than usual time, is it possible to get the execution
> plan of this function or any other way to troubleshoot
>
>
> You might to take a look at the contrib module:
>
> ^want
>
>
> https://www.postgresql.org/docs/current/pgstatstatements.html
>
>
> "The pg_stat_statements module provides a means for tracking planning and
> execution statistics of all SQL statements executed by a server."
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2023-11-03 17:56:22 Re: Finding execution plan
Previous Message Bruce Momjian 2023-11-03 17:54:36 Re: Finding execution plan