摘要: 使用explain等工具分析sql 主要看的都是type 的字段: id: 选择标识符select_type: 表示查询的类型。table: 输出结果集的表partitions: 匹配的分区type: 表示表的连接类型possible_keys: 表示查询时,可能使用的索引key: 表示实际使用的索 阅读全文
posted @ 2021-04-20 10:34 那一的眸相遇 阅读(516) 评论(0) 推荐(0) 编辑