AI engineering glossary · SQL databases

What is document database?

Document database: A NoSQL database that stores self-contained, flexible documents, usually JSON, that can hold nested fields and arrays. Related data is often embedded in one document instead of joined. MongoDB is a well-known example.

Level: intermediateTopic: SQL databases

Document database: an example

One order document contains customer details and an array of line items, read in a single lookup.

Related terms

More SQL databases terms

Where you learn it

Document database is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.