Suggest an editImprove this articleRefine the answer for “What is MongoDB?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)MongoDB is a document-oriented NoSQL database: instead of tables and rows, it stores data as documents in a JSON-like format (BSON), with a flexible schema and a focus on horizontal scaling (sharding). **Key point:** it's a good fit when data has no rigid structure, the model changes often, or write speed matters - for web services, logs, analytics, and microservices.Shown above the full answer for quick recall.Answer (EN)ImageMongoDB is a document-oriented database that belongs to the **NoSQL** class. Instead of tables and rows (like relational DBMSs, e.g. PostgreSQL or MySQL), it stores data as documents in a **JSON-like format** (BSON). ### MongoDB's core ideas - a **flexible schema** - documents with different structures can be stored in the same collection - **collections instead of tables** and **documents instead of rows** - a **JSON structure** for data, which is well suited to storing nested objects - a focus on **horizontal scaling** (sharding) ### When MongoDB is a good fit - when data has no rigid structure - when the model changes often - when write speed matters - for web services, logs, analytics, microservices ### A mini document example in MongoDB ```json { "name": "Alice", "age": 27, "skills": ["mongodb", "nodejs"] } ``` **Summary:** MongoDB is a NoSQL database that stores data as documents, gives you flexibility in structure, and is a good fit for modern web applications and microservice architectures.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.