Please enable JavaScript.
Coggle requires JavaScript to display documents.
Document databases - Coggle Diagram
Document databases
Characteristics
Instance
Collections
Consistency
set of replicas
Consistency check
Read
Write
Writeconcern
Transactions
Atomic transactions
Not Available
Availability
Master-slave nodes configuration
Replica Set
Data redundancy
Automated failover
Reading scaling
Server maintenance
Consultation Features
CouchDB
Query by view
Dynamic views
Map-Reduce
Materialized Views
MongoDB
JSON query
Clauses
Where
Order by
Explain
Single document
Scaling
Dynamic data storage
for reading loads
Add read capacity with new read slaves
Popular document databases
Mongo DB
CouchDB
Terrastore
OrientDB
RavenDB
Lotus Notes
Suitable use cases
Event log
Storage of event data in databases
Content management systems, blogging platforms
Use in content management systems
Web sites
Manage user data
Web analytics or real-time analytics
E-commerce applications
Stores and retrieves documents
Example: XML, JSON, BSON.
Self-describing hierarchical tree structures
Maps, collections and scalar values
Store data as key-value
When not to use
Complex operations involving different operations
Some databases do not support atomic cross-document operations
Queries on variable aggregate structures
Data schema may differ between documents
These documents may still belong to the same collection
New attributes can be created without having to define them.