分库分表:什么时候做以及怎么做

分库分表是"最后手段"而不是"第一反应"——先归档、先读写分离、先缓存,数据量与写入 QPS 确实顶不住了再拆。一旦拆了,跨分片查询、分布式事务、扩容这三座山会伴随系统终生;所以动手前想清楚分片键和扩容方案,是整个决策里 …

lbk_runtime@engineering-notes: ~ hover 展开 · Esc 收起
Last login: 2026-11-18 21:06:07 from console $ whoami LBK_Runtime — 后端 & AI 工程师,写 engineering-notes $ neofetch site: engineering-notes author: LBK_Runtime posts: 93 篇 · tags: 44 个 rss: /index.xml hint: 输入 help 查看可用命令
lbk_runtime@engineering-notes:~$