Why should I use document based database instead of relational database?

前端 未结 7 1972
Happy的楠姐
Happy的楠姐 2020-11-29 14:43

Why should I use document based database like CouchDB instead of using relational database. Are there any typical kinds of applications or domains where the document based d

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-29 15:39

    Document based databases have a big advantage over relational databases as they do not require defining a schema upfront- before being able to enter any data.

    Also, you should use a document database if you data is not relational and cannot be stored in a table but rather is a set of images, or for example newspaper articles.

    Another advantage is the easiness to use document based databases in web development. For more in-depth NoSQL database models comarison check this source: https://arxiv.org/ftp/arxiv/papers/1509/1509.08035.pdf

提交回复
热议问题