YugaByte DB 是否支持在线架构更改,尤其是向现有的添加新列的能力 table

Does YugaByte DB support online schema changes, especially the ability to add new columns to an existing table

当工作负载仍然是 running/real 部署场景时,您能否分享有关“添加列”操作类型的影响的任何信息?我们想了解 YugabyteDB 的 YSQL 和 YCQL API 的这种能力。

是的。 YSQL 和 YCQL 均有 ALTER TABLE 支持。

https://docs.yugabyte.com/latest/api/ycql/ddl_alter_table/#add-a-column-to-a-table https://docs.yugabyte.com/latest/api/ysql/commands/ddl_alter_table/

示例:ALTER TABLE employees ADD title TEXT; 将添加类型为 TEXT 的新 title 列。