Skip to main content

Is H2 database reliable?

An obvious answer to this question is 'Yes'. The reason is H2 has still continued outperforming. As of 2021, H2 is a superb database. We use it in all of our standalone applications since 4 years and we see it minimizes a gap between SQLite and MySQL. It performs as fast as or faster than MySQL.

Where H2 is suitable?
  •     Standalone applications
  •     Intranet/LAN applications
  •     Java specific deployments
  •     Embedded as well as Server Mode

Why is it better than SQLite?

  •     More data types than SQLite.
  •     Boolean datatype support. Which is not available in SQLite.
  •     SQLite performance went down in a specific case when number of rows increases above 50,000 for around 15 column table (more or less). We did not find that issue with H2. It kept performing as usual.
  •     Even if it appears like single file similar to SQLite, H2 is encrypted. It is multi-user, password-protected database. This feature is not available in SQLite.
  •     Packaging it with you application costs just ~2MB space.
  •     Has inbuilt database management console, that also in the same ~2MB.
  •     H2 can be used for Android application development.

Comparing with MySQL:
  •     Boolean datatype support. Which is not available in MySQL.
  •     As of now we see, H2 performs almost equal to MySQL. Sometimes even outperforms when executing update queries.
  •     Our customers are happy to see a software that performs so fast.
  •     The reason to use it over MySQL is, currently it can be used for free in commercial standalone applications also.

Comparing with PostgreSQL:
  •     Absolutely it is faster than PostgreSQL when the work/deployment environment is as specified at the start of this answer.
  •     Update operations with H2 are so much faster than PostgreSQL
  •     If somebody tries to compare H2 with PostgreSQL thoroughly, please do not do it, rather compare PostgreSQL with Giant OracleDB. H2 can not be compared with / can not be replaced with PostgreSQL featurewise.


A very important feature that H2 provides is, every database file will have it's own users and specific passwords. There will not be any global user settings.
This can be advantage in many cases.
It is most easier to handle while providing technical support. 

It can be shared as easy as drag and drop.

You can get started with H2 database here. H2 Database Website


Comments

Popular posts from this blog

Top 5 Indian antivirus programs in 2022

It has been around three decades since world is witnessing progress of digital revolution through progressive advancements and enhancements in Operating systems & Cyber Security. You may have heard names of a lot of security software that safeguard you and your Computer systems. In this article we are going to know more about top 5 Indian Software Companies that are leading in Security Software business, their roots, hard work & product line they offer as of year 2021. Quick Heal Being founded in year 1993 by two blood-brothers Kailas Katkar & Sanjay Katkar from a Marathi family with origin from Maharashtra state, the company has achieved never expected but a deserved growth & success. It was started in a one room computer shop with a small partition dedicated to antivirus software development. as expressed by Founders i...

Inverter Battery Maintenance Software for Windows and Linux

Inverter  technology came with capacity of no. of batteries from 1 to 16 or even more than that. When there is such a big setup installed making maintenance of batteries is a difficult task. Since these batteries come with an  average life of 3 year with some maintenance requirements. Providing service for maintenance of large number of inverter battery units is a new business that is on the board. Smart entrepreneurs have already started to provide this service in their localities & many of them are grown to an unmanageable state with a thousand or more customers to visit every month. ServiceERP developed by Advait Software Solutions comes here to rescue. ServiceERP makes hectic work life of such entrepreneurs much easier. It has following features: - Multi User, Multi-role (admin,coordinator) - Customer Profile - Manage Service Contracts- Create, Renew - Detailed AMC form. - Manage Service Calls - Close calls - Smart R...