Re: Prepared statement already exists

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Daniel Verite <daniel(at)manitou-mail(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Prepared statement already exists
Date: 2008-11-21 16:39:28
Message-ID: 20081121163928.GE5210@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Daniel Verite wrote:

> Also contrary to prepared statements, maybe that cache would be shared
> between connections, and that would be excellent, since it fits the
> typical usage pattern of websites: a high-throughput of a small set of
> low-latency queries, fired from pooled connections.

In this case, why not just prepare all the needed statements at the
first use of the session by the pool software?

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jonah H. Harris 2008-11-21 16:49:20 Re: converter pgplsql funcion
Previous Message Richard Huxton 2008-11-21 16:35:55 Re: Res: converter pgplsql funcion