Using HSQLDB in production environments

折月煮酒 提交于 2019-12-05 04:19:40

I've used hsql on numerous occasions in production (mainly as quick filebased storage for complex preferences) and never encountered any problems.

Don't know about HSQLDB but we've been using H2 on same purposes with no problems at all.

I can confirm some of the issues listed on the Red Hat page.

We have had issues using HSQLDB as a standalone instance in a Tomcat container. The application would not shutdown properly and hang at 100% cpu. There was a code fix, though.

We have also had issues were some data was lost after the server was forcibly killed. I could not reliably reproduce the situations.

I also have some strangeness that I cannot start multiple instances of the same application using HSQLDB at the same time.

You need to evaluate the if a standalone, in-memory DB is the right choice. If consistency and integrity is essential, HSQLDB may not be the right choice.

We experienced database corruption (entire database was lost) a few times times over a year using HSQLDB when it was not shut down cleanly.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!