How does column-oriented NoSQL differ from document-oriented?

前端 未结 4 466
半阙折子戏
半阙折子戏 2021-01-29 21:11

The three types of NoSQL databases I\'ve read about is key-value, column-oriented, and document-oriented.

Key-value is pretty straight forward - a key with a plain value

4条回答
  •  花落未央
    2021-01-29 21:37

    The main difference is that document stores (e.g. MongoDB and CouchDB) allow arbitrarily complex documents, i.e. subdocuments within subdocuments, lists with documents, etc. whereas column stores (e.g. Cassandra and HBase) only allow a fixed format, e.g. strict one-level or two-level dictionaries.

提交回复
热议问题