Embedded vs. Referenced Documents in MongoDB: How To Choose Correctly For Increased Performance

Learn the key points needed to effectively model your database schemas

Ashley Peacock
Better Programming
Published in
6 min readDec 14, 2021

--

Photo by Chris Liverani on Unsplash

MongoDB is a NoSQL database that utilises a document format to store its data. It stores these documents in collections, which are MongoDB’s equivalent of a table.

--

--