In the slow logs 2017.8.8 day began to appear this kind of slow query log
Perform the following statement
Select d_id, does, url_1, title, sp_f68, creator, createdate, createtime, audited, sp_f3577, key_word, menddate, mendtime, mender, video_column, published_1 from content where creator='wangsh' and createdate & gt;='2017-08-08' order by d_id desc limit 0, 30;
The actual hit 5 records,
The phenomenon of
1. Do not add back every time limit to perform fast
2. Add limit0, 30 execution time 13 seconds
3. Add limit0, 100 soon
The explain

Strives for the solution
CodePudding user response:
With the explain see execution, analyze,CodePudding user response:
@ sinat_28984567Explain the screenshots have ah
CodePudding user response: