哪些数据库支持同步复制(Java/嵌入式首选)?
我正在寻找一个支持同步复制和故障转移的数据库。自动故障转移是理想的选择,但手动故障转移也是可以接受的。我还更喜欢可以与 Java 应用程序捆绑在一起的东西。
H2 看起来可能会使用集群/高可用性模式。我的设置是低容量(<10 个并发用户,最少的数据)和 LAN(低延迟),但需要使用一致的数据进行快速故障转移。
我还应该查看其他数据库吗?我还应该探索其他类型的解决方案吗?我遇到过 DRBD、CouchDB、Terracotta 等,但它们对于我的需求(并且是为高容量工作负载而设计)来说似乎有点过分了。如果有人能为其中任何一个提出理由,我会再看看。
编辑:为了澄清,我想要一个可以嵌入的数据库以简化开发/测试,但会在客户端/服务器模式下运行它以促进故障转移。
I'm looking for a database that supports synchronous replication and fail over. Automatic fail over would be ideal, but manual fail over would be acceptable. I'd also prefer something I can bundle with a Java application.
H2 looks like it might work using the clustering / high availability mode. My setup would be low capacity ( < 10 simultaneous users, minimal data) and on a LAN (low latency), but a need for quick fail over with consistent data.
Are there any other databases I should look at? Are there any other types of solutions I should explore? I've come across things like DRBD, CouchDB, Terracotta, etc., but they seem like overkill for what I need (and designed for high capacity workloads). I'll have another look if someone can make a case for any of them though.
Edit: To clarify, I'd like a database that can be embedded to simplify development / testing, but would run it in client / server mode to facilitate fail over.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Derby 有一些复制功能: http://db.apache.org/derby /docs/10.8/adminguide/cadminreplication.html
Derby has some replication functionality: http://db.apache.org/derby/docs/10.8/adminguide/cadminreplication.html