CoreTrail

Storage & scaling

Choose physical layout, distribution, and replication from workload requirements.

Chapter overview Cross-engine concepts 2 min read
On this page

What problem are you trying to solve?

Storage layout, distribution, and replication solve different problems. This chapter helps choose among them using access patterns, capacity, consistency, and recovery requirements.

Decision reference

Requirement Investigate
Selective row access Indexes
Time pruning and lifecycle Table partitioning
Related values stored together Engine-specific clustering
Distributed capacity Sharding
Read isolation or failover Replicas and their consistency contract

In this chapter

Tie the change to a bottleneck

An index, partition, shard, replica, or clustering choice should answer a specific problem. State the bottleneck first, then the trade-off the change introduces. Do not treat these as interchangeable ways to “scale the database.”

Type a concept, keyword, or function.