MongoDB lưu data dưới dạng BSON (Binary JSON) — superset của JSON hỗ trợ thêm types như Date, ObjectId, Binary.
- Mỗi document tự động có _id field với ObjectId gồm 12 bytes: 4 bytes timestamp + 3 bytes machine ID + 2 bytes PID + 3 bytes counter, đảm bảo uniqueness mà không cần central coordinator.
- Thay vì tables dùng collections, thay vì rows dùng documents — mỗi document trong cùng collection có thể có schema khác nhau.
- Flexible schema giúp khi data structure thay đổi thường xuyên (product catalog với attributes khác nhau per category), nhưng gây hại khi cần consistency — ví dụ field age có thể lưu string '25' hay number 25 tùy document dẫn đến bugs khó phát hiện.
Pitfall phổ biến: thiếu indexes dẫn đến full collection scan.