Re: Save prepared plan...

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Cristian Prieto <cristian(at)clickdiario(dot)com>
Cc: 'Bruce Momjian' <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: Save prepared plan...
Date: 2005-11-04 19:56:03
Message-ID: 20051104195602.GV9989@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Nov 03, 2005 at 03:22:34PM -0600, Cristian Prieto wrote:
> Save globally for all session or between sessions.
>
> Well, I have a set of queries which runs several times. My clients connect
> and execute it. But each time the client connects and disconnects, that
> means that I loose the execution plan. I would like the keep the execution
> plan between sessions that would improve the performance of the execution of
> my application.

If you're connecting and disconnecting frequently you probably want to
be using pgpool. Even if you're not, it would (mostly) satisfy what
you're trying to do here.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kenneth Marshall 2005-11-04 20:01:44 Re: [ANNOUNCE] PostgreSQL 8.1 Beta 4
Previous Message Tom Lane 2005-11-04 19:52:10 Re: pl/pgsql list as parameter.