Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Data modeling best practices: recommendations for designing data models

Focus mode
Data modeling best practices: recommendations for designing data models - Amazon Keyspaces (for Apache Cassandra)

Effective data modeling is crucial for optimizing performance and minimizing costs when working with Amazon Keyspaces (for Apache Cassandra). This topic covers key considerations and recommendations for designing data models that suit your application's data access patterns.

  • Partition Key Design – The partition key plays a critical role in determining how data is distributed across partitions in Amazon Keyspaces. Choosing an appropriate partition key can significantly impact query performance and throughput costs. This section discusses strategies for designing partition keys that promote even distribution of read and write activity across partitions.

  • Key Considerations:

    • Uniform activity distribution – Aim for uniform read and write activity across all partitions to minimize throughput costs and leverage burst capacity effectively.

    • Access patterns – Align your partition key design with your application's primary data access patterns.

    • Partition size – Avoid creating partitions that grow too large, as this can impact performance and increase costs.

To visualize and design data models more easily, you can use the NoSQL Workbench.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.