无守护程序关系数据库管理系统
有谁知道 Java 兼容的关系数据库管理系统(例如 Microsoft Access)不需要服务器端守护程序来管理并发 IO?
Does anyone know of a Java compatible Relational Database Management System, like Microsoft Access, that doesn't require a server side daemon to manage concurrent IO?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果没有服务器进程,您正在谈论像 HSQLDB、Derby 或 SQLite 。只要您不期望大量并发更新具有高性能或类似的东西,它们就可以很好地工作。那些很难设置的数据库服务器有一个真正的目的……
请注意,如果您使用分布式文件系统来允许多个用户访问数据库,您将需要分布式锁定才能工作(真的非常痛苦;太多的问题,无法选择一个好的问题来指出)或者您将只有一个进程同时打开连接(非常有限)。同样,这就是数据库服务器有意义的时候。
Without a server process somewhere, you're talking about a database library like HSQLDB, Derby or SQLite. They work reasonably well as long as you're not expecting lots of concurrent updates to be performant or stuff like that. Those DB servers that are so awkward to set up have a real purpose…
Be aware that if you're using a distributed filesystem to allow multiple users access to the database, you're going to need distributed locking to work (really very painful; too many SO questions to pick a good one to point to) or you're going to have only one process having a connection open at once (very limiting). Again, that's when a DB server makes sense.