Re: excution time for plpgsql function and subfunction

From: Rémi Cura <remi(dot)cura(at)gmail(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: excution time for plpgsql function and subfunction
Date: 2014-01-13 11:30:28
Message-ID: CAJvUf_t17EdCWRHjD3ERWgeJ58pmH_2vt6w4pb=hAFV1w948Yw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks all =)

Cheers,

Rémi-C

2014/1/13 Guillaume Lelarge <guillaume(at)lelarge(dot)info>

> On Fri, 2014-01-10 at 10:10 +0100, Rémi Cura wrote:
> > Hey List,
> > kind of a simple question :
> >
> > I'm using the postgis_topology extension,
> > and I'm trying to figure where the slowness comes from when importing
> data.
> >
> > It involves plpgsql function calling other plpgsql functions, insert,
> > update, etc etc.
> >
> > I know I can use explain analyze for one querry, but I don't know how to
> > get details of how much time takes each sub-function called by a main
> > function.
> >
> > Thus it is very difficult to guess where is the bottleneck.
> >
>
> Shameless plug, but here is how I do it:
>
> http://blog.guillaume.lelarge.info/index.php/post/2012/03/31/Profiling-PL/pgsql-functions
>
>
> --
> Guillaume
> http://blog.guillaume.lelarge.info
> http://www.dalibo.com
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message sramay 2014-01-13 12:53:50 Re: pg_largeobject related issue with 9.2
Previous Message Guillaume Lelarge 2014-01-13 11:24:20 Re: excution time for plpgsql function and subfunction