Evaluating MongoDB vs. Postgres for a Particular Use-Case
ansible.com> Side note. Many other databases (i.e Riak, CouchDB, Cassandra) were looked at for this in-depth comparison.
Out of interest: What was wrong with CouchDB for your use case?
Before the deeper evaluation we simply made a table of pros and cons of all the different databases. Below are what we considered the pros and cons of CouchDB for our use case.
Pros:
Cons:* Projection feature address “weird” Ansible data format requirements. allow for a more compact and logical structure to be presented to the api. * Built in support for compaction * Built-in versioning
Edit: I found some other notes ...* couchdb versioning may not align with our notion of versioning * Requires a lot of space * Views instead of arbitrary queries * Performance not so predictable. (see how reads trigger version logic) (Colleague has had experience with this problem)
Database comparison by feature matrix: http://i.imgur.com/6bdIvwE.pngCouchDB appears to be a strong candidate. I am worried about the space requirements/consumptions. CouchDB uses views of data rather than queries.