X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 247359DC9DA for ; Mon, 23 Jan 2006 06:19:29 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 08920-07 for ; Mon, 23 Jan 2006 06:19:30 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by postgresql.org (Postfix) with SMTP id 104599DC9BE for ; Mon, 23 Jan 2006 06:19:25 -0400 (AST) Received: (qmail invoked by alias); 23 Jan 2006 10:19:26 -0000 Received: from 201-15-251-250.ctame704.dsl.brasiltelecom.net.br (EHLO servidor) [201.15.251.250] by mail.gmx.net (mp039) with SMTP; 23 Jan 2006 11:19:26 +0100 X-Authenticated: #15924888 Subject: Re: [PERFORMANCE] Stored Procedures From: Marcos To: "Jim C. Nasby" Cc: Rikard Pavelic , pgsql-performance@postgresql.org In-Reply-To: <20060120213455.GT20182@pervasive.com> References: <43D130EF.3010205@zg.htnet.hr> <20060120191031.GO20182@pervasive.com> <43D13C2F.1030203@zg.htnet.hr> <20060120213455.GT20182@pervasive.com> Content-Type: text/plain; charset=iso8859-1 Date: Mon, 23 Jan 2006 08:14:14 +0000 Message-Id: <1138004054.949.10.camel@servidor> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/409 X-Sequence-Number: 16887 Em Sex, 2006-01-20 ās 15:34 -0600, Jim C. Nasby escreveu: > On Fri, Jan 20, 2006 at 08:38:23PM +0100, Rikard Pavelic wrote: > > This would solve problems with prepare which is per session, so for > > prepared function to be > > optimal one must use same connection. > > If you're dealing with something that's performance critical you're not > going to be constantly re-connecting anyway, so I don't see what the > issue is. This one was my doubt, perhaps in based desktop applications this is true, but in web applications this is not the re-connecting is constant :(. Then the preprare not have very advantage because your duration is per session. Marcos.