Re: Re: JDBC Performance

Поиск
Список
Период
Сортировка
От Peter Mount
Тема Re: Re: JDBC Performance
Дата
Msg-id Pine.LNX.4.21.0010021203560.420-100000@maidast.demon.co.uk
обсуждение исходный текст
Ответ на Re: Re: JDBC Performance  ("Keith L. Musser" <kmusser@idisys.com>)
Список pgsql-general
On Fri, 29 Sep 2000, Keith L. Musser wrote:

> I'm thinking caching byte arrays on a per-connection basis is the way to
> go.
>
> However, how much difference do you expect this to make?  How many byte
> arrays to you allocate and destroy per SQL statement?  And how big are
> the arrays?  How much memory will they occupy per open connection?
>
> Will this really make a big difference?

It should. Everything that goes between JDBC and the backend is converted
into byte[] arrays, so it does occur, and occur often.

Peter

[snip]

--
Peter T Mount peter@retep.org.uk http://www.retep.org.uk
PostgreSQL JDBC Driver http://www.retep.org.uk/postgres/
Java PDF Generator http://www.retep.org.uk/pdf/



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

Предыдущее
От: Peter Mount
Дата:
Сообщение: Re: Re: JDBC Performance
Следующее
От: Peter Mount
Дата:
Сообщение: Re: Re: JDBC Performance