From the course: Databases for Node.js Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

When to use and not to use document databases

When to use and not to use document databases

From the course: Databases for Node.js Developers

Start my 1-month free trial

When to use and not to use document databases

- [Instructor] When I start a new project, I always spend a lot of time thinking about which technology to use and with databases today, you have a lot of choices and of course, there are a lot of use cases where document databases make your life easier, but there are also cases where maybe a relational database might be better. So let's start with use cases where you should avoid document databases. First of all, if your data is highly structured and related think of a tax or billing system. Also, if data integrity's is key and has to be enforced at any given time and connected to that, if many different applications manipulate the data and you want to make sure that the data is consistent and this should be taken care of by the database system itself. So what would be good use cases for document databases? For instance, if the data is unstructured or semi-structured. Think about an…

Contents