我的直觉是说int总是更快。但是,事实并非如此
http://gpshumano.blogs.dri.pt/2009/07/06/mysql-datetime-vs-timestamp-vs-int- performance-and-benchmarking-with- myisam/
编辑添加:我意识到您使用的是InnoDB,而不是MyISAM,但是在InnoDB案例中,我没有发现任何与此矛盾的东西。另外,同一位作者进行了InnoDB测试
http://gpshumano.blogs.dri.pt/2009/07/06/mysql-datetime-vs-timestamp-vs-int- performance-and-benchmarking-with- innodb/