Skip to main content

5 docs tagged with "data-modeling"

View all tags

Choose the Right Data Access Pattern

Build a data access layer that selects KeyValueView, RecordView, or SQL at every call site based on key availability, operation shape, and safety requirements.

Design a Schema for Distributed SQL

Analyze access patterns, build colocation chains, choose distribution zones, and verify your schema design with system views and EXPLAIN plans.

How to Choose a Partition Count for Your Workload

Pick a partition count for a partitioned cache on Apache Ignite 2 or GridGain 8. Default is 1024. This guide covers when to accept it, when to size up, and the formula that maps cache row count to a safe partition number.

Implement Schema with Java Annotations

Express distributed schema design decisions as Java annotations. Define entity classes, colocation chains, and distribution zones, then create the entire schema with a single API call.

When to Break Colocation

Reference data belongs in REPLICATED caches. Build a star schema with partitioned fact tables and replicated dimension tables, measure the cost of setDistributedJoins with and without colocation, and learn when a dimension is small enough to replicate.