Alevel 1 Dbtech 18june2020 Il
Alevel 1 Dbtech 18june2020 Il
Strengths
Document stores are very flexible and can store any type of data. They can easily
handle semistructured and unstructured data. Even large volumes of unstructured
data can be accommodated in the database. Users don’t need specify what data will
be stored, so this is a good choice when it isn’t clear in advance what types of data will
be stored. For example: Social Media data.
Each record may have different structure, these records are called documents. Users
can create their desired structure in a particular document without affecting all
1
documents and subsequently modify it again to a new structure. Schema can be
modified without causing downtime, which leads to high availability. Write speed is
generally fast, as well.
The information is not distributed over multiple linked tables. Everything is contained in
a single location, and this can result in better performance.
Document stores can be scaled horizontally easily. The sharding necessary for
horizontal scaling is much more intuitive than with relational databases, so document
stores scale out fast and efficiently.
Weaknesses
Document databases sacrifice ACID compliance for flexibility.
Query can be done in a particular document not across multiple / different documents
(not like multiple tables of RDBMS). So, not suitable for highly networked data
volumes.
No restrictions on data and any type of data can be feed into documents, this raises
the potential for accidents & threats (both unintentionally or intentionally)
Final verdict
Based on the various parameters, strengths and weaknesses, a Document Store
database may be used for
Some of the examples of Document Store databases are MongoDB, CouchDB, BaseX,
Elasticsearch etc.
Assignment
1. What are the benefits of Document Store?
2. In what situations, document store databases are not suggested?