What is BSON and exactly how is it different from JSON?

前端 未结 7 883
-上瘾入骨i
-上瘾入骨i 2021-01-29 19:03

I am just starting out with MongoDB and one of the things that I have noticed is that it uses BSON to store data internally. However the documentation is not exactly clear on wh

7条回答
  •  温柔的废话
    2021-01-29 19:04

    By using BSON encoding on top of JSON, MongoDB gets the capability of creating indexes on top of values that resides inside the JSON document in raw format. This helps in running efficient analytical queries as NoSQL system were known for having no support for Indexes.

提交回复
热议问题