Re: CVS JDBC driver will try to use server-side-prepare on

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: CVS JDBC driver will try to use server-side-prepare on
Дата
Msg-id 20030816003439.GD14392@opencloud.com
обсуждение исходный текст
Ответ на Re: CVS JDBC driver will try to use server-side-prepare on  (Barry Lind <blind@xythos.com>)
Ответы Re: CVS JDBC driver will try to use server-side-prepare on
Список pgsql-jdbc
On Fri, Aug 15, 2003 at 09:55:02AM -0700, Barry Lind wrote:

> But in short the reason is, that in general using the current
> prepared implementation will be *slower* than not using it, unless you
> are reusing the statement a number of times.  [...]

Hmm, has anyone considered an approach where the statement begins to use
server-side prepare after it has been used N times? (the assumption being
that it will continue to be reused). N=2 is probably enough to get 90% of
the cases :)

-O

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: CVS JDBC driver will try to use server-side-prepare on unpreparable SQL
Следующее
От: Oliver Jowett
Дата:
Сообщение: patch: fix a couple of server-prepared-statement bugs