Re: performance tuning in large function / transaction

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: MindTerm <mindterm(at)yahoo(dot)com>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: performance tuning in large function / transaction
Date: 2001-12-17 03:41:21
Message-ID: 20011216194044.L46323-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> --- Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
> wrote:
> >
> > On Fri, 14 Dec 2001, MindTerm wrote:
> >
> > > Hi all,
> > >
> > > table :
> > > application : 220 rows ;
> > > usermenu : 6055 rows ;
> >
> > Well, I'd need the other tables involved in the
> > function
> > too, but to start with, try rewriting the queries in
> > the
> > function to use EXISTS rather than IN (see the faq),
> > or
> > bring them into a normal join with the other tables
> > where
> > possible.

As a note, does rewriting the queries in the function
to use exists rather than in help any?

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Christopher Kings-Lynne 2001-12-17 04:06:14 Re: performance tuning in large function / transaction
Previous Message Stephan Szabo 2001-12-17 03:40:24 Re: persistent connections, AOLserver (Was: maybe Offtopic :