目录方案一:垂直分表方案二:水平分表(取模+范围)方案三:分区表三种方案大PK:选错的代价有多惨?最后给你划重点今天咱们不整那些花里胡哨的理论,就拿真实场景说事。假设你负责的订单系统,单表数据量飙到3000万
This question already has answers here: Getting the name of a variable as a string (31 answers) Closed 2 months ago.