简体   繁体   English

生产环境中wso2中使用的H2数据库发生了什么

[英]what is happen for H2 database used in wso2 in production environment

嗨,在生产环境中的wso2中使用的h2数据库会发生什么,我们可以在没有数据库依赖性的情况下运行wso2了。

The problem with using H2 database isn't specific to WSO2 products. 使用H2数据库的问题并不特定于WSO2产品。 It's problem in H2 database itself. H2数据库本身存在问题。

H2 database isn't reliable to use in any production environment. H2数据库在任何生产环境中都不可靠。

The H2 documentation explains in detail several ways in which problems in underlying hardware and in particular power systems can impact durability of relational databases. H2文档详细解释了底层硬件(特别是电源系统)中的问题可能会影响关系数据库的持久性的几种方式。

According to the H2 documentation, such problems are related not only to the DB engine design, but also to the storage caching mechanism. 根据H2文档,此类问题不仅与DB引擎设计有关,而且与存储缓存机制有关。 As storage devices use write cache in order to increase speed, in a situation of power failure, data in the device's cache is lost. 由于存储设备使用写缓存以提高速度,因此在电源故障的情况下,设备缓存中的数据会丢失。 Administrators have then to assess the common trade off between speed and data loss risks in the context of the business requirements and must carefully consider the design of the power supply and UPS of critical servers. 然后,管理员必须根据业务需求评估速度和数据丢失风险之间的一般权衡,并且必须仔细考虑关键服务器的电源和UPS的设计。

https://en.wikipedia.org/wiki/H2_(DBMS) https://en.wikipedia.org/wiki/H2_(DBMS)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM