Обсуждение: Re: Thread or not threads?

Поиск
Список
Период
Сортировка

Re: Thread or not threads?

От
Raymond Chui
Дата:
"Per Schröder" wrote:

> I'm not an expert on Postgres SQL but my recommendations are (in the order
> I feel is most important):
>
> 1) Use a PreparedStatement !!!
> Don't recompile every statement!!!!!!

I did that.

>
>
> 2) Use batched update. Requires a JDBC 2 compliant driver.
> The purpose is to reduce the number of server roundtrips.

What is batched update?

Thank you!

--Raymond


Вложения