---
title: "When to use SQL vs NoSQL"
url: https://daily.dev/posts/when-to-use-sql-vs-nosql-mwipbejry
source_url: https://dev.to/shohams/when-to-use-sql-vs-nosql-3o45
type: article
source: "DEV"
published: 2024-04-17T10:27:14.140Z
updated: 2024-05-09T08:39:06.345Z
tags: ["backend", "sql", "postgresql", "mongodb", "mysql", "nosql"]
reading_time: 4
upvotes: 166
comments: 2
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# When to use SQL vs NoSQL

**[DEV](https://daily.dev/sources/devto)** · 4 min read · 166 upvotes · 2 comments

## Summary

Choosing between SQL and NoSQL databases can be daunting. SQL excels in data consistency and complex querying, while NoSQL offers scalability and flexibility. Common misconceptions include inflexibility of SQL databases and the lack of transactional support in NoSQL.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dev.to/shohams/when-to-use-sql-vs-nosql-3o45>

## Community discussion

Top comments from developers on daily.dev.

**@fahurleandro** · 1 upvotes

> I found really nice that you highlighted the misconceptions.
>
> Indeed, we always need to ask, what do I need, and what tool offers it, right? It does not matter if SQL or NoSQL, React or Anguler or Vue.... and so on and so forth...
>
> Nice article, keep up the good writting!

**@dalamain** · 0 upvotes

> What I find hilarious is NewSQL - from wiki:
>
> "NewSQL is a class of relational database management systems that seek to provide the scalability of NoSQL systems for online transaction processing (OLTP)"
>
> Oh right so acknowledgement from the hipster "no sql" crowd as to why we still need relational dbs like SQL Server, Postgres, MySQL - which are battle tested. You couldn't make this up! 😂

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#backend](https://daily.dev/tags/backend), [#sql](https://daily.dev/tags/sql), [#postgresql](https://daily.dev/tags/postgresql), [#mongodb](https://daily.dev/tags/mongodb), [#mysql](https://daily.dev/tags/mysql), [#nosql](https://daily.dev/tags/nosql)

[View this post on daily.dev](https://daily.dev/posts/when-to-use-sql-vs-nosql-mwipbejry)
