몽고디비 (MongoDB)
문서 지향 데이터베이스.
First released in 2009 by 10gen (now MongoDB Inc.). It revolutionized the database space by offering developers a way to store data that maps directly to object-oriented code.
graph LR
Center["몽고디비 (MongoDB)"]:::main
Rel_postgresql["postgresql"]:::related -.-> Center
click Rel_postgresql "/terms/postgresql"
Rel_open_source["open-source"]:::related -.-> Center
click Rel_open_source "/terms/open-source"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧠 지식 테스트
🧒 5살도 이해할 수 있게 설명
🌍 Imagine a giant library where instead of just books, you can store boxes of all shapes and sizes. You don't need to follow a strict form for every entry; you just put your data in a digital 'folder' (document) and file it away. That's MongoDB.
🤓 Expert Deep Dive
MongoDB's core architecture is based on the WiredTiger storage engine, utilizing an optimistic concurrency control model. It uses BSON (Binary JSON) to support additional data types like Date and BinData. Scaling is achieved through Sharding, which distributes data across a cluster based on a shard key. High availability is managed via Replica Sets, utilizing the Raft-based consensus for primary election. Developers prioritize MongoDB for its rich query language (MQL) and support for aggregation frameworks, though it requires careful index management to prevent performance bottlenecks in large-scale deployments.