Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 584 Bytes

Doku_theorie.md

File metadata and controls

10 lines (8 loc) · 584 Bytes

Was ist ein BSON?

  • BSON (Binary JSON) ist ein binäres Format zur Darstellung von JSON-ähnlichen Dokumenten. Es wird von MongoDB genutzt, da es kompakter, schneller und effizienter als JSON ist.
  • Vorteile:
    • Zusätzliche Datentypen: Unterstützt z. B. Date, Binary, ObjectId, Timestamp und Decimal128.
  • Effiziente Verarbeitung:
    • Schnelle Abfragen und Traversierung durch binäre Kodierung.
  • Erweiterbarkeit:
    • Kann neue Datentypen aufnehmen, bleibt dabei abwärtskompatibel. Im Vergleich zu JSON hat BSON etwas mehr Speicher-Overhead, ist aber optimal für MongoDB.