Hi, > - Does H2 use paging by default? If not, is it possible to use this?
The 'page store' storage engine (PageStore.java) is now used by default in version 1.2.x. Before that, another algorithm is used (DiskFile.java). I guess the page store is more interesting for you (it is also faster). > - What is the default page size used (assuming paging is used to store > data on disk). Currently 2 KB. > - Are there any guidelines somewhere about checking out the source > code in an IDE (I use Eclipse). See http://www.h2database.com/html/build.html > - How does H2 behave when using a cache size of 0? You can set the cache size to zero, but there will still be a small cache (16 items or so). > it's for running > some experiments for my master's project, and I'm trying to force the > system into swapping from and to disk, counting the number of I/O > operations in the process). Modern software is not optimized for this scenario, because there is always a lot of memory available (more than 1 MB). I guess older software behaves better (but worse if there _is_ a lot of memory). Regards, Thomas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/h2-database?hl=en -~----------~----~----~----~------~----~------~--~---
