Questions on Java Object Caching using Oracle 10G SGA [message #256684] |
Mon, 06 August 2007 05:39 |
george_sargunaraj
Messages: 1 Registered: August 2007
|
Junior Member |
|
|
We are involved in the development of an application which requires object caching to enhance performance. We are having a Custom caching framework and would like to evaluate the possibility of using Oracle SGA Java Object Caching facility. Your expert views on the following questions will be of great help to us though some of the questions may be very trivial as I am a Java Programmer basically.
1. Do we mandatorily need to use the JVM inside the Oracle Server to use this facility?
2. What is the caching logic or algorithm (like LRU, MFU etc) that Oracle uses to store objects?
3. How can we set the maximum value of runtime memory that our application can use while running in Oracle JVM?
4. Can the memory setting be done only at the JVM level for the whole application running in the JVM or can we do the setting at a more granular level like a specific subsystem or a class? Ex. We want to have a specific module or class take 10% of the total memory available to the application.
5. What if Oracle stores a Java object which reflects the state of a table and after that the table is updated? Is there an invalidation mechanism which will avoid stale objects?
|
|
|