Re: Experiences with pl/Java

Поиск
Список
Период
Сортировка
От Welty, Richard
Тема Re: Experiences with pl/Java
Дата
Msg-id 1579549587CEA24C85CE49CE261FA5E10FD6CCFE@ltischcorpx01.lti.int
обсуждение исходный текст
Ответ на Re: Experiences with pl/Java  (Edson Richter <edsonrichter@hotmail.com>)
Ответы Re: Experiences with pl/Java  (Edson Richter <edsonrichter@hotmail.com>)
Список pgsql-general
Edson Richter [edsonrichter@hotmail.com] writes:

>I don't know much about PostgreSQL with plJava, but I can give a few
>tips about memory stability when using Java (see inline):

...
>In the past, one choice was using static classes whenever possible. This
>is not true (neither recommended) anymore, and in most of the cases
>having thousands of cicles creation-use-release makes GC more effective
>(and your VM more stable).

PL/Java requires that the methods being directly called from PostgreSQL are static.
while i don't disagree with the advice, PL/Java is limited in this respect.

richard


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

Предыдущее
От: Edson Richter
Дата:
Сообщение: Re: Experiences with pl/Java
Следующее
От: Edson Richter
Дата:
Сообщение: Re: Experiences with pl/Java