Re: profiling PL/pgSQL?

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: profiling PL/pgSQL?
Date: 2006-11-03 11:21:37
Message-ID: 20061103112137.GD15480@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

am Fri, dem 03.11.2006, um 3:12:14 -0800 mailte Drew Wilson folgendes:
> I have 700 lines of non-performant pgSQL code that I'd like to
> profile to see what's going on.
>
> What's the best way to profile stored procedures?

RAISE NOTICE, you can raise the aktual time within a transaction with
timeofday()

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47215, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Richard Huxton 2006-11-03 12:07:58 Re: profiling PL/pgSQL?
Previous Message Drew Wilson 2006-11-03 11:12:14 profiling PL/pgSQL?