【问题标题】:Database decision - Cassandra or PostGres [closed]数据库决策 - Cassandra 或 PostGres [关闭]
【发布时间】:2020-07-10 02:04:57
【问题描述】:

我正在尝试确定是否使用 PostGres 或 Cassandra 数据存储。最初将通过以下方式将数据插入到这个新存储中: 1.每天插入100MB的批处理。 2. 稍后以每秒 20 次操作的速度现有批处理 + CRUD 操作。

通过阅读文章和与其他人的各种对话,我确定:

**Cassandra**
Type: NoSql
Read Speed: Fast
Write Speed: Slow
Storage: Distributed Cluster
Scaling: Horizontal

**PostGres**
Type: Relational
Storage: Single Instance
Scaling: Horizontal

我一直在阅读的一些资源:

https://www.quora.com/How-do-you-compare-Postgres-to-Cassandra-for-big-data-application

https://www.quora.com/How-do-you-approach-choosing-a-database-architecture-and-design

https://www.thegeekstuff.com/2014/01/sql-vs-nosql-db/?utm_source=tuicool

在做出决定之前还应考虑哪些其他因素?我是否应该在决策过程中包含其他数据点,例如确定从表中读取、写入、更新、删除的预期数量?

我可以使用 PostGres,然后在其他时间迁移到 Cassandra,但更愿意避免数据库迁移过程的开销。

【问题讨论】:

    标签: database postgresql cassandra architecture nosql


    【解决方案1】:

    我使用 postgres,因为它更适合开发人员自定义,它是一个 nosql 数据库,结合了 sql db 中最漂亮的部分。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-06-29
      • 2016-04-09
      • 1970-01-01
      • 2011-12-31
      • 2015-04-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多