pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah@trade-india.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: profiling plpgsql functions..
Date: Thu, 1 May 2003 20:29:16 +0530
Message-ID: <200305012029.16516.mallah@trade-india.com> (raw)
In-Reply-To: <1910.1051632095@sss.pgh.pa.us>
References: <200304291655.01035.mallah@trade-india.com>
	<1066.219.65.230.214.1051631768.squirrel@mail.trade-india.com>
	<1910.1051632095@sss.pgh.pa.us>



the profiling was really helpful to track down 
an absense of an appropriate index.

believe me or not  the overall speed improvement was 50 times :))

from the order of .4 sec to .008 secs per function call

regds
mallah.



On Tuesday 29 Apr 2003 9:31 pm, Tom Lane wrote:
> <mallah@trade-india.com> writes:
> > hmm shud i cast timeofday to timestamp  and use timestamp
> > arithmatic ?
>
> Yeah.  It's only historical accident that it doesn't return timestamp...
> (or better use timestamptz)
>
> 			regards, tom lane
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

-- 
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.




view thread (5+ messages)

Message-ID: <200305012029.16516.mallah@trade-india.com>
Permalink:  ../200305012029.16516.mallah@trade-india.com/
Also on:    postgresql.org/message-id/200305012029.16516.mallah@trade-india.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: mallah@trade-india.com, tgl@sss.pgh.pa.us
  Subject: Re: profiling plpgsql functions..
  In-Reply-To: <200305012029.16516.mallah@trade-india.com>
  References: <200304291655.01035.mallah@trade-india.com> <1066.219.65.230.214.1051631768.squirrel@mail.trade-india.com> <1910.1051632095@sss.pgh.pa.us> <200305012029.16516.mallah@trade-india.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox