[H2][1] and HSQLDB will cache the tables in memory, even if you use "persistent" tables. In HSQLDB you can control the amount of memory that is used to hold table data, using the [`SET FILES CACHE SIZE`][2] statement. I think H2 has something similar. So if you create [cached tables][3] and make the data cache large enough you will wind up with tables stored on disk but held in memory. [1]: http://h2database.com/html/main.html [2]: http://www.hsqldb.org/doc/2.0/guide/management-chapt.html#N1483E [3]: http://www.hsqldb.org/doc/2.0/guide/sqlgeneral-chapt.html#sgc_persist_tables