Re: performance tuning in large function / transaction - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: performance tuning in large function / transaction
Date
Msg-id 20011216194044.L46323-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: performance tuning in large function / transaction  (MindTerm <mindterm@yahoo.com>)
Responses Re: performance tuning in large function / transaction
Re: performance tuning in large function / transaction
List pgsql-sql
> --- Stephan Szabo <sszabo@megazone23.bigpanda.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?



pgsql-sql by date:

Previous
From: MindTerm
Date:
Subject: Re: performance tuning in large function / transaction
Next
From: Stephan Szabo
Date:
Subject: Re: persistent connections, AOLserver (Was: maybe Offtopic :