测试SQL性能mysql> select count() from part_tab where c3 > date '1995-01' and c3 < date>) | +----+ |   795181 | +----+ 1 row in set (0.55 sec) mysql> select count() from no_part_tab where c3 > date '1995-01' and c3 < date>) | +----+ |   795181 | +----+ 1 row in set (4.69 sec)结果表明分区表比未分区表的执行时间少90%