You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/cassandra-support.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,9 +89,9 @@ Azure Cosmos DB Cassandra API supports the following CQL functions:
89
89
90
90
91
91
92
-
## Cassandra Query Language limits
92
+
## Cassandra API limits
93
93
94
-
Azure Cosmos DB Cassandra API does not have any limits on the size of data stored in a table. Hundreds of terabytes or Petabytes of data can be stored while ensuring partition key limits are honored. Similarly every entity or row equivalent does not have any limits on the number of columns however the total size of the entity should not exceed 2 MB.
94
+
Azure Cosmos DB Cassandra API does not have any limits on the size of data stored in a table. Hundreds of terabytes or Petabytes of data can be stored while ensuring partition key limits are honored. Similarly every entity or row equivalent does not have any limits on the number of columns however the total size of the entity should not exceed 2 MB.The data per partition key cannot exceed 10 GB as in all other APIs.
95
95
96
96
## Tools
97
97
@@ -152,7 +152,7 @@ foreach (string key in insertResult.Info.IncomingPayload)
152
152
153
153
## Consistency mapping
154
154
155
-
Azure Cosmos DB Cassandra API provides choice of consistency for read operations. The consistency mapping is detailed [here[(https://docs.microsoft.com/azure/cosmos-db/consistency-levels-across-apis#cassandra-mapping).
155
+
Azure Cosmos DB Cassandra API provides choice of consistency for read operations. The consistency mapping is detailed [here](https://docs.microsoft.com/azure/cosmos-db/consistency-levels-across-apis#cassandra-mapping).
156
156
157
157
## Permission and role management
158
158
@@ -165,11 +165,14 @@ The options for region name, class, replication_factor, and datacenter in the "C
165
165
All the options are ignored when creating the table, except gc_grace_seconds which should be set to zero.
166
166
The Keyspace and table have an extra option named "cosmosdb_provisioned_throughput" with a minimum value of 400 RU/s. The Keyspace throughput allows sharing throughput across multiple tables and it is useful for scenarios when all tables are not utilizing the provisioned throughput. Alter Table command allows changing the provisioned throughput across the regions.
167
167
168
-
`CREATE KEYSPACE sampleks WITH REPLICATION = { 'class' : 'SimpleStrategy'} AND cosmosdb_provisioned_throughput=2000; `
168
+
```
169
+
CREATE KEYSPACE sampleks WITH REPLICATION = { 'class' : 'SimpleStrategy'} AND cosmosdb_provisioned_throughput=2000;
170
+
171
+
CREATE TABLE sampleks.t1(user_id int PRIMARY KEY, lastname text) WITH cosmosdb_provisioned_throughput=2000;
169
172
170
-
`CREATE TABLE sampleks.t1(user_id int PRIMARY KEY, lastname text) WITH cosmosdb_provisioned_throughput=2000; `
173
+
ALTER TABLE gks1.t1WITH cosmosdb_provisioned_throughput=10000 ;
171
174
172
-
`ALTER TABLE gks1.t1 WITH cosmosdb_provisioned_throughput=10000 ;`
0 commit comments