MySQL索引優化——覆蓋索引

最近處理老的業務代碼遇到這麼個例子:sql 表結構以下:優化 CREATE TABLE `group_user` ( `id` int(11) NOT NULL auto_increment, `uid` int(11) NOT NULL, `username` varchar(16) NOT NULL, `gid` int(11) NOT NULL, `create_
相關文章
相關標籤/搜索