Re: [JDBC] Prepare Statement

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: [JDBC] Prepare Statement
Дата
Msg-id Pine.BSO.4.56.0406181645280.21687@leary.csoft.net
обсуждение исходный текст
Ответ на Re: [JDBC] Prepare Statement  ("Jie Liang" <jie@stbernard.com>)
Список pgsql-sql

On Fri, 18 Jun 2004, Jie Liang wrote:

> However, I am still thinking if I call one SELECT and one DELECT and one
> UPDATE and one INSERT a thousand times against same table with different
> arguments, should I consider performance iusse?

Right, this is a case where some benefits can be found, but remember the
premature optimization adage.

>
> Secondly, I assume the function should be a pre-compiled object stored
> on server side, doesn't it.
>

I depends on the language the function is written.  plpgsql caches plans,
but not all procedural languages do.

Kris Jurka

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: [JDBC] Prepare Statement
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: [JDBC] Prepare Statement