Why it matters
Bad schema is #1 HBase failure. Understanding shapes design decisions.
Advertisement
The architecture
Row key: composite with hot access pattern first.
Column families: 1-3 typical; group by access pattern + TTL.
Advertisement
How it works end to end
Access patterns: design row key for primary query pattern.
Composite key: 'salt|user|timestamp' balances distribution + range.
Reversed timestamp: newest first order.
CF choice: many families hurt compaction; consolidate.