Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 3.36 KB

Discovering-MongoDB.md

File metadata and controls

44 lines (33 loc) · 3.36 KB

Discovering MongoDB

### Documentation

Courses and Tutorials

Channels

Articles

### Some basic facts

  • Schema-less
  • Collections of Documents
  • A single JavaScript call will retrieve a document and all of its nested content; getting into nested content involves further operations
  • JSON output (data stored as BSON)
  • Object IDs: always 12 bytes, composed of a timestamp, client machine ID, client process ID, and a 3-byte incremented counter; this autonumbering scheme makes that each process on every machine can handle its own ID generation without colliding with other mongod instances (source: «7 databases in 7 weeks», p.138)
  • Javascript for queries and manipulation
  • No server-side joins
  • Map-reduce queries