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.
Derby has some replication functionality: http://db.apache.org/derby/docs/10.8/adminguide/cadminreplication.html