You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dmitry Konstantinov (Jira)" <ji...@apache.org> on 2026/05/14 09:20:00 UTC
[jira] [Created] (CASSANDRA-21370) DDL statements batching
Dmitry Konstantinov created CASSANDRA-21370:
-----------------------------------------------
Summary: DDL statements batching
Key: CASSANDRA-21370
URL: https://issues.apache.org/jira/browse/CASSANDRA-21370
Project: Apache Cassandra
Issue Type: New Feature
Components: Cluster/Schema, CQL/Interpreter, CQL/Syntax
Reporter: Dmitry Konstantinov
Currently we can execute DDL statements only one by one, so in case of a complex schema deployment (especially for a low resource dev environment) we may spend a lot of time to apply it. With TCM it is possible to run schema changes in parallel and partially mitigate the issue but still there are downsides for this approach:
* we cannot run dependent DDLs in parallel (for example UDT creation and creation of another UDT or table which uses it)
* we still process schemas changes one by one and for every schema change we flush system schema tables, so in case of slow dev disks it can be quite slow in general
The suggestion is to add support of DDL queries batching, when we can send a list of DDL queries in a single request and process them as a single schema change transaction.
The current schema management logic already operates with generic schema diffs so the main effort is to add support for it on CQL processing/parsing layer actually.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org