Hi All
I was using the H2 database as standalone database. Everything was nice until data in the db is loaded huge data. When I run my application with such huge database first thing I notice is; the moment I connect to database whole database is loaded in memory and hence my application slows down and then fall in to out of memory issues.
I googled a lot to fix issue but I could not get the solution. I dont want the complete database to be loaded to memory.
I checked with HSQL DB instead of H2. HSQL has db command as "SET DEFAULT_TABLE_TYPE CATCHED". This will not load complete db to memory instead it will load specified number of rows (cache_rows=<int>) into cache. And my application works exceptionally well with HSQL DB.
I would like to know if such concept is there in H2, if yes how to get such feature of HSQL DB in H2?
Regards
Harish Alwala