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.
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
- Entity-relationship model
- Eventual consistency
- EXCEPT
- Execution plan
- EXISTS
- EXPLAIN
- First normal form
- Foreign key
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.