Home > Database > Mysql Tutorial > mysql 左连接时在不考虑where条件下主表可以使用索引吗

mysql 左连接时在不考虑where条件下主表可以使用索引吗

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 09:35:24
Original
1866 people have browsed it

mysql

这是我explain下的分析结果,就差主表没有使用索引了:

主表有30万数据,副表数据上千。全部使用左连接关联5个表查询时5秒以上。希望大神给指个路,思路就行 >

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template