简体   繁体   English

在服务器模式下运行h2数据库的优点

[英]Advantages of running h2 database in server mode

The h2 database can be run both as a file-database mode and client-server mode. h2数据库既可以作为文件数据库模式运行,也可以作为客户端 - 服务器模式运行。 Now, I want to know that what exactly are the advantages of running h2 in client-server mode? 现在,我想知道在客户端 - 服务器模式下运行h2的优势究竟是什么? Is there any performance difference or something like that? 是否有任何性能差异或类似的东西?

The main advantage of a client-server architecture over the file-database architecture is that it is possible for multiple users to share the same database at the same time. 客户端 - 服务器体系结构相对于文件数据库体系结构的主要优点是多个用户可以同时共享同一个数据库。 It is also possible to connect to your database via a network, without the need to create a file share. 也可以通过网络连接到数据库,而无需创建文件共享。

There is a performance hit as can be seen in this comparison table: http://h2database.com/html/performance.html 在此比较表中可以看到性能损失: http//h2database.com/html/performance.html

More information about client-server architecture can be found here: http://en.wikipedia.org/wiki/Client-Server 有关客户端 - 服务器体系结构的更多信息,请访问: http//en.wikipedia.org/wiki/Client-Server

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

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