sql執行時間長,性能下降的原因推測: 1.查詢語句寫的不好 2.索引失效 索引分為: 1.單值索引 create index idx_user_name on user(name) 2.多值索引 create index id