CoreTrail

Storage & scaling

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

Chapter overviewCross-engine concepts2 min read
On this page

Connect physical design to workload and reliability

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

Suggested route: Start with the decision map, then compare the engine-specific meanings of clustering. Study sharding and replicas as separate architectural choices.

By the end: Explain which bottleneck a change addresses, what it cannot fix, and which operational trade-offs it adds.

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

Type a concept, keyword, or function.