Help me to see how to optimize the explainselectSQL_CALC_FOUND_ROWSd.id, d. goodlevel, d. ismainfield, d. lirun, d. introduce, d. shen, d. city, d. mainfield, d. charges, d. type, m. indentity, m. nickasname, m. us helps to see how to optimize this mysql statement
Explain select SQL _CALC_FOUND_ROWS d. id, d. goodlevel, d. ismainfield, d. lirun, d. introduce, d. shen, d. city, d. mainfield, d. charges, d. type, m. indentity, m. nick as name, m. username, d. cxt_num, v. vnum
From tab1 as d left join tab2 as m on d. id = m. uid left join tab3 as v on d. id = v. uid order by d. goodlevel desc, d. cxt_num desc, v. vnum desc limit 10, 10
------ Solution --------------------
I don't know your business. it's hard to change it. The index mentioned above is actually the same if you add no index to this statement.
From tab1 as d left join
======================================
D is the left Table. it must be a full table scan. Consider whether you need tab1 full table data.