Hi! I have several string functions written in JAVA to do substring and indexing which is not available in DB2 SQL.
Now when I monitor the DB2 Server CPU usage, I noticed db2fmp(java) is taking up more than 60% of CPU on a 4-CPU AIX server. The DB2 Server is using JDK 1.3.1.
Questions:
1) Will JDK 1.4 be faster than 1.3.1?
I'm using DB2 V8 fixed pack 4.
2) The JAVA_HEAP_SZ has been increased to 4096. Shall it be increased further?
3) What is your experience of using C procedure verses Java procedure in terms of performance? Shall I rewrite them using C?
Thank you for sharing!
Regards, Nancy
Now when I monitor the DB2 Server CPU usage, I noticed db2fmp(java) is taking up more than 60% of CPU on a 4-CPU AIX server. The DB2 Server is using JDK 1.3.1.
Questions:
1) Will JDK 1.4 be faster than 1.3.1?
I'm using DB2 V8 fixed pack 4.
2) The JAVA_HEAP_SZ has been increased to 4096. Shall it be increased further?
3) What is your experience of using C procedure verses Java procedure in terms of performance? Shall I rewrite them using C?
Thank you for sharing!
Regards, Nancy