Technically
AI Reference
Your dictionary for AI terms like LLM and RLHF
Company Breakdowns
What technical products actually do and why the companies that make them are valuable
Learning Tracks
In-depth, networked guides to learning specific concepts
Posts Archive
All Technically posts on software concepts since the dawn of time
Terms Universe
The dictionary of software terms you've always wanted

Explore learning tracks

AI, it's not that ComplicatedAnalyzing Software CompaniesBuilding Software ProductsWorking with Data Teams
Loading...
I'm feeling luckyPricing
Log In

What's NoSQL?

NoSQL is databases with no rules and no required structure.

Last updated Mar 23, 2026databases
Justin Gage
Justin Gage
Read within learning track:

The TL;DR#

NoSQL databases are databases with no rules: you just throw your data in there and worry about it later.

  • NoSQL is a class of databases built for large amounts of data and fast application speeds
  • Unlike relational databases, NoSQL works without a schema, or set of rules and definitions
  • Most NoSQL databases are built to be resilient and distributed as opposed to transactionally sound

NoSQL has really taken off over the past few years, and almost 30% of developers are using it in one way or another.

🔮 Dependencies

To get the most out of this post, you’ll need to understand what a relational database is and how software runs in the cloud.

Terms Mentioned

JavaScript

SQL

NoSQL

Schema

Server

Database

Query

Relational database

Companies Mentioned

MongoDB logo

MongoDB

MDB

What’s NoSQL?#

When we covered relational databases, everything was about schemas: you set all the rules that your data needs to follow up front, and that yields a lot of important benefits for inserting and querying data down the road. Schemas are great, but like any rules, they can get really annoying sometimes:

  • You need to define a ton of stuff up front, which is a lot of work
  • Data and applications change all the time, so you need to update your schema constantly (which is really hard)

It’s the same tradeoff as throwing all of your stuff into a suitcase vs. packing it meticulously; if you’re rushed, or if you’ve got plenty of room, you might want to skip the folding and organizing. That’s exactly what NoSQL is (literally, you don’t use SQL to query it) – it’s a database without all of the rules. You can insert data through a much more flexible and simple process, and read it out more directly.

Loading image...

There’s a reason that NoSQL hasn’t gotten particularly popular until recently: it’s gotten so cheap to store and access data that we don’t need to be super stingy anymore. Overall, running your database without a schema and normalization is going to use much more space and be less efficient, but that doesn’t always matter anymore. If it saves developer time, it might be worth it. That, and NoSQL databases are much easier to scale.   

🖇 Workplace Example

Today, a lot of companies with serious applications running use a combination of relational and NoSQL databases: more than 25% of developers use MongoDB alone. Ask your developers which types of databases they’re using and why they chose them.

Types of NoSQL DBs#

Ok, so you’ve packed your stuff completely haphazardly, but you did it fast. Now how do you get your jacket out of there? Even though NoSQL is technically schema-less, there needs to be some structure around how you insert and query data, otherwise it would be completely useless. NoSQL DBs approach this in 4 distinct ways

Key value stores#

A key is the label, and the value is whatever you’re storing. In key value stores, you label any data that you want to store (order #1, person named Justin) and then retrieve that data by using the key. Key is kind of a weird word to use here, but hey, I didn’t write this stuff.

{
name: "Justin",
height: "5'3\"",
weight: “wouldn’t you like to know”
}

Document DBs#

A document structure is just like a key value store, but with layers: you can have a value that has keys and other values in it. 

{
guitar_players: {
justin_gage: {
height: "5'3\"",
weight: "wouldn't you like to know"
},
jake_mendel: {
height: "5'7\"",
weight: 160
}
},
drums_players: {
chris_behrens: {
height: "6'0\"",
weight: 165
}
}
}

Wide column stores#

These are just like normal rows and columns, but unlike relational DBs, they can change at any time. It’s sort of like a two-dimensional key value store, if that helps you understand it better.

Graph DBs#

When you’re storing data about how things are connected to each other (like how Facebook tracks who’s friends with who), there are special NoSQL databases like Neo4J that are organized like graphs. 

😰 Don’t sweat the details

It’s OK if you don’t understand the exactly differences between these types of data stores. Just keep in mind that NoSQL is a very broad category, and there are specific types of NoSQL DBs for specific use cases.

How NoSQL actually works#

Another important feature of NoSQL databases is how they actually run. Most NoSQL DBs have a few nifty things out of the box that make life easier for developers.

Continue reading with an all-access subscription

Continue reading with all-access

In this post

  • How NoSQL actually works
  • Sharding
  • Replication
  • Querying
  • Terms and concepts covered

More in this track

The Beginner's Guide to Databases

There are 300+ databases; what do they all do?

SQL for the rest of us

If you’re not a data scientist but you have questions, you want to know SQL.

$15/month

30-day money-back guarantee

Or use
Up Next
What's a data warehouse?

A data warehouse is a special type of database designed for analytics instead of transactions.

What your data team is using: the analytics stack

A deep dive into all of the tools that data teams use to do their work.

Content
  • All Posts
  • Learning Tracks
  • AI Reference
  • Companies
  • Terms Universe
Company
  • Pricing
  • Sponsorships
  • Contribute
  • Contact
Connect
SubscribeSubstackYouTubeXLinkedInInstagram📞Call for advice
Legal
  • Privacy Policy
  • Terms of Service

© 2026 Technically.