Frequently Asked QuestionsAre there any known bugs? When is the next release?Is this Database Engine Open Source? My query is slow How to Create a New Database? How to Connect to a Database? Where are the Database Files Stored? What is the Size Limit (maximum size) of a Database? Is it Reliable? Is the GCJ version stable? Faster? How to Translate this Project? Are there any known bugs? When is the next release?Usually, bugs get fixes as they are found. There is a release every few weeks. Here is the list of known and confirmed issues as of 2007-08-02:
Is this Database Engine Open Source?Yes. It is free to use and distribute, and the source code is included. See also under license. My query is slowSlow SELECT (or DELETE, UPDATE, MERGE) statement can have multiple reasons. Follow this checklist:
How to Create a New Database?By default, a new database is automatically created if it does not yet exist. How to Connect to a Database?
The database driver is Class.forName("org.h2.Driver"); Connection conn = DriverManager.getConnection("jdbc:h2:~/test", "sa", ""); Where are the Database Files Stored?When using database URLs like jdbc:h2:~/test, the database is stored in the user directory. For Windows, this is usually C:\Documents and Settings\<userName>. If the base directory is not set (as in jdbc:h2:test), the database files are stored in the directory where the application is started (the current working directory). When using the H2 Console application from the start menu, this is [Installation Directory]/bin. The base directory can be set in the database URL. A fixed or relative path can be used. When using the URL jdbc:h2:file:data/sample, the database is stored in the directory data (relative to the current working directory). The directory must exist. It is also possible to use the fully qualified directory (and for Windows, drive) name. Example: jdbc:h2:file:C:/data/test What is the Size Limit (maximum size) of a Database?The theoretical limit is currently 256 GB for the data. This number is excluding BLOB and CLOB data: Every CLOB or BLOB can be up to 256 GB as well. The size limit of the index data is 256 GB as well. The maximum file size for FAT or FAT32 file systems is 4 GB. So if you use FAT or FAT32, the limit is 4 GB for the data. Is it Reliable?That is not easy to say. It is still a quite new product. A lot of tests have been written, and the code coverage of these tests is very high. Randomized stress tests are run regularly. But as this is a relatively new product, there are probably some problems that have not yet been found. Areas that are not 100% tested:
Areas considered Experimental:
Is the GCJ version stable? Faster?The GCJ version is not as stable as the Java version. When running the regression test with the GCJ version, sometimes the application just stops at what seems to be a random point without error message. Currently, the GCJ version is also slower than when using the Sun VM. However, the startup of the GCJ version is faster than when using a VM. How to Translate this Project?The following files can be translated at the moment: src/main/org/h2/server/web/res/_text_*.properties src/main/org/h2/res/_messages_*.properties src/docsrc/text/_docs_*.utf8.txt |