nosqlDB, a new type of data modelling

本文对比了关系型数据库(RDBMS)、文档数据库MongoDB、分布式NoSQL数据库Cassandra及内存键值存储Redis的特点与应用场景。RDBMS适用于实体关系明确的场景;MongoDB适合存储复杂的数据结构;Cassandra以其灵活的模式、真正的可扩展性和多数据中心意识成为大型部署的理想选择;Redis则因其高并发读写能力被广泛应用于缓存系统。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

RDBMS:

 -  entity-relation model


MongoDB:

   -  data modeling tree structure etc

   - 海量存储,文档数据库

Cassandra:

  - There are a number of reasons to choose Cassandra for your website. Compared to other databases, three big features stand out:Flexible schema: with Cassandra, like a document store, you don’t have to decide what fields you need in your records ahead of time. You can add and remove arbitrary fields on the fly. This is an incredible productivity boost, especially in large deployments.True scalability: Cassandra scales horizontally in the purest sense. To add more capacity to a cluster, turn on another machine. You don’t have restart any processes, change your application queries, or manually relocate any data.Multi-datacenter awareness: you can adjust your node layout to ensure that if one datacenter burns in a fire, an alternative datacenter will have at least one full copy of every record.


Redis:

  - Key-Value pair

  - 高并发读写



http://docs.mongodb.org/manual/core/data-models/

http://xumingyong.iteye.com/blog/629717

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值