agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] What about using the server jvm ?
2+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] What about using the server jvm ?
@ 2005-05-18 21:29 
  2005-05-18 21:40 ` [Pljava-dev] What about using the server jvm ? 
  0 siblings, 1 reply; 2+ messages in thread

From:  @ 2005-05-18 21:29 UTC (permalink / raw)

I made a very small test, I chaged my path to jre/bin/server in place of jre/bin/client,  and executed SELECT sqlj.get_classpath('public')... it worked. 
 
I would like comments about the implications: what about performa ? and compatibility ?
 
Regards.
 
 

		
---------------------------------
Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20050518/bbc77ce5/attachment.html;



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* [Pljava-dev] What about using the server jvm ?
  2005-05-18 21:29 [Pljava-dev] What about using the server jvm ? 
@ 2005-05-18 21:40 ` 
  0 siblings, 0 replies; 2+ messages in thread

From:  @ 2005-05-18 21:40 UTC (permalink / raw)

Juan Manuel Diaz Lara wrote:

> I made a very small test, I chaged my path to jre/bin/server in place 
> of jre/bin/client,  and executed SELECT 
> sqlj.get_classpath('public')... it worked.
>  
> I would like comments about the implications: what about performa ? 
> and compatibility ?

PL/Java supports both the client and server JVM. The best choice depends 
on your use-case. The server will typically outperform the client during 
long and heavy sessions at the cost of higher memory consumption and 
some degraded performance initially. Since a PostgreSQL backend is 
single-threaded and each session spawns a JVM of it's own, the higher 
memory consumption imposed by the server may not be worth it.

Regards,
Thomas Hallgren






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-05-18 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-05-18 21:29 [Pljava-dev] What about using the server jvm ? 
2005-05-18 21:40 ` 

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox