Mysql执行速度优化

Mysql建立表有多种方式,哪一种最快? (1)create table t select * from t_old where 1 = 0;  php (2)create table t like t_old;  mysql (3)create table t(程序员 ......sql )数据库 其中缓存 (1)最快,可是它取消原来表的有些定义。自增字段、表引擎都变了,若是想要保持同样的引擎,
相关文章
相关标签/搜索