hi:
     i found a capability problem about h2,  we project used h2, and the 
mode is TCP, JDK(64 bit), server: windows 2003 server,
 
 
1、use connection pool like this :   
JdbcConnectionPool.create("jdbc:h2:tcp://10.52.2.87:9123/mem:riskmem;DB_CLOSE_ON_EXIT=FALSE;CACHE_SIZE=65536",
 
"sa", "ygba"); 
 
 
2、beacuse requirement we  need to add table 
      
     we use link table by way of temp table to  import table from oracle or 
sqlserver, like this 
     a.   CREATE LINKED TABLE 
LINK_RC_MONITOR_RESULT('oracle.jdbc.driver.OracleDriver','jdbc:oracle:thin:@10.1.252.112:1521:cwvpd','user0100','123456','(SELECT
 
* FROM RC_MONITOR_RESULT)')
     b.   CREATE TABLE RC_MONITOR_RESULT  AS SELECT * FROM 
LINK_RC_MONITOR_RESULT
     c.   DROP TABKE  LINK_RC_MONITOR_RESULT
 
3、some times later we need to drop table ,like this 
     DROP TABLE RC_MONITOR_RESULT  
 
4、repeat 2 and 3  high frequency, we found not any table in h2 console,but 
the java process used 5G virtual memory,  and then we execute "select 
MEMORY_FREE()" , is not effect,   why has't any table and then used 5G 
virtual memory?

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to