【问题标题】:Yugabyte - INSERT/UPDATE operations are ACID?Yugabyte - INSERT/UPDATE 操作是酸性的?
【发布时间】:2021-11-08 19:39:24
【问题描述】:

以下是 yugabyte DB 中的架构:

ycqlsh:example> CREATE TABLE users(user_id INT PRIMARY KEY, full_name TEXT) WITH default_time_to_live = 0 AND transactions = {'enabled': 'false'};
    

ycqlsh:example> CREATE TABLE entities(entity_id INT PRIMARY KEY, full_name TEXT) WITH default_time_to_live = 0 AND transactions = {'enabled': 'false'};
    

版本:

[ycqlsh 5.0.1 | Cassandra 3.9-SNAPSHOT | CQL spec 3.4.2 | Native protocol v4]

查询是通过应用程序中的多个线程发起的

usersentities 表的插入/更新查询是否确保 ACID 属性?

【问题讨论】:

    标签: database acid yugabyte-db


    【解决方案1】:

    您正在使用 YugabyteDB 的 YCQL API,它基于 Cassandra。 这些表是使用 transactions = {'enabled': 'false'} 创建的,因此这意味着您明确关闭了 transactions,别名 ACID 属性。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-10-25
      • 1970-01-01
      • 1970-01-01
      • 2021-03-12
      • 2018-08-02
      • 1970-01-01
      • 2011-12-02
      • 1970-01-01
      相关资源
      最近更新 更多