且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

打开连接错误

更新时间:2022-11-05 19:13:16

可以.尽管这取决于数据库允许的连接数.
另外,在这种情况下,您需要注意数据的一致性(使用并发和锁实现).
Yes it can. Though it depends on the number of connections the DB allows.
Also, you need to watch out for data consistency (achieved using concurrency and locks) in such scenarios.


根据本文,Jet引擎理论上可以支持255个连接,但是建议这样做您最多使用20个并发连接.


用于Microsoft Visual Studio 6.0的Microsoft数据引擎(MSDE):用于构建桌面和共享解决方案的Jet的替代方法 [ ^ ]

阅读以下部分-如何选择数据库引擎
According this article, the Jet engine can theoretically support 255 connections, But it is recommended that you use a maximum of 20 concurrent connections.


Microsoft Data Engine (MSDE) for Microsoft Visual Studio 6.0: An Alternative to Jet for Building Desktop and Shared Solutions[^]

Have a read of the section - How to Choose a Database Engine