Data Distribution
How data is distributed and represented in a GridGain cluster, covering data partitioning, affinity colocation, and the key-value and SQL access models.
This section explains how GridGain distributes and represents data across a cluster. It covers the physical organization of data through data partitioning and affinity colocation, as well as the two logical representations of data — the key-value cache and SQL tables — described in the Data Modeling introduction.
How data is stored and accessed in GridGain, contrasting the physical partitioned layout with the equivalent key-value cache and SQL table views.
How GridGain partitions data across server nodes with the affinity function, the partitioned and replicated cache modes, backups, and partition map exchange.
How affinity colocation stores related cache entries together on the same node so multi-entry queries run locally, and how to configure a custom affinity key.
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

