Quotas for Amazon Keyspaces (for Apache Cassandra) - Amazon Keyspaces (for Apache Cassandra)

Quotas for Amazon Keyspaces (for Apache Cassandra)

This section describes current quotas and default values for Amazon Keyspaces (for Apache Cassandra).

Amazon Keyspaces service quotas

The following table contains Amazon Keyspaces (for Apache Cassandra) quotas and the default values. Information about which quotas can be adjusted is available in the Service Quotas console, where you can also request quota increases. For more information on quotas, contact AWS Support.

Quota Description Amazon Keyspaces default

Max keyspaces per AWS Region

The maximum number of keyspaces for this subscriber per Region. This default value is adjustable in the AWS Service Quotas console.

256

Max tables per AWS Region

The maximum number of tables across all keyspaces for this subscriber per Region. This default value is adjustable in the AWS Service Quotas console.

256

Max table schema size

The maximum size of a table schema.

350 KB

Max concurrent DDL operations

The maximum number of concurrent DDL operations allowed for this subscriber per Region. This default value is adjustable in the AWS Service Quotas console.

50

Max queries per connection

The maximum number of CQL queries that can be processed by a single client TCP connection per second.

3000

Max row size

The maximum size of a row, excluding static column data. For details, see Calculating row size in Amazon Keyspaces.

1 MB

Max static data per logical partition

The maximum aggregate size of static data in a logical partition. For details, see Calculating static column size per logical partition in Amazon Keyspaces.

1 MB

Max read throughput per second

The maximum read throughput per second—read request units (RRUs) or read capacity units (RCUs)—that can be allocated to a table per Region. This default value is adjustable in the AWS Service Quotas console.

40,000

Max write throughput per second

The maximum write throughput per second—write request units (WRUs) or write capacity units (WCUs)—that can be allocated to a table per Region. This default value is adjustable in the AWS Service Quotas console.

40,000

Account-level read throughput (provisioned)

The maximum number of aggregate read capacity units (RCUs) allocated for the account per Region; applicable only for tables in provisioned read/write capacity mode. This default value is adjustable in the AWS Service Quotas console.

80,000

Account-level write throughput (provisioned)

The maximum number of aggregate write capacity units (WCU) allocated for the account per Region; applicable only for tables in provisioned read/write capacity mode. This default value is adjustable in the AWS Service Quotas console.

80,000

Max partition key size

The maximum size of the compound partition key. Up to 3 bytes of additional storage are added to the raw size of each column included in the partition key for metadata.

2048 bytes

Max clustering key size

The maximum combined size of all clustering columns. Up to 4 bytes of additional storage are added to the raw size of each clustering column for metadata.

850 bytes

Max concurrent table restores using Point-in-time Recovery (PITR)

The maximum number of concurrent table restores using PITR per subscriber is 4. This default value is adjustable in the AWS Service Quotas console.

4

Max amount of data restored using point-in-time recovery (PITR)

The maximum size of data that can be restored using PITR within 24 hours. This default value is adjustable in the AWS Service Quotas console.

5 TB

Increasing or decreasing throughput (for provisioned tables)

Increasing provisioned throughput

You can increase ReadCapacityUnits or WriteCapacityUnits as often as necessary, using the console or the ALTER TABLE statement. The new settings do not take effect until the ALTER TABLE operation is complete.

You can't exceed your per-account quotas when you add provisioned capacity and you can increase the provisioned capacity for your tables as much as you need. For more information about per-account quotas, see the preceding section, Amazon Keyspaces service quotas.

Decreasing provisioned throughput

For every table in an ALTER TABLE statement, you can decrease ReadCapacityUnits or WriteCapacityUnits (or both). The new settings don't take effect until the ALTER TABLE operation is complete. A decrease is allowed up to four times, anytime per day. A day is defined according to Universal Coordinated Time (UTC). Additionally, if there was no decrease in the past hour, an additional decrease is allowed. This effectively brings the maximum number of decreases in a day to 27 (4 decreases in the first hour, and 1 decrease for each of the subsequent 1-hour windows in a day).

Amazon Keyspaces encryption at rest

You can change encryption options between an AWS owned AWS KMS key and a customer managed AWS KMS key up to four times within a 24-hour window, on a per table basis, starting from when the table was created. If there was no change in the past six hours, an additional change is allowed. This effectively brings the maximum number of changes in a day to eight (four changes in the first six hours, and one change for each of the subsequent six-hour windows in a day).

You can change the encryption option to use an AWS owned AWS KMS key as often as necessary, even if the earlier quota has been exhausted.

These are the quotas unless you request a higher amount. To request a service quota increase, see https://aws.amazon.com/support.