Query1:SELECT * FROM modoer_dbcache WHERE cache_key IN ('comm_dbcache_expire','comm_task_nexttime','comm_session_expire','comm_session_online')
Time:0.002500
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_dbcache
range
PRIMARY
PRIMARY
600
4
100.00
Using where
Query2:SELECT * FROM modoer_session WHERE uniq = '78bbcff3967588f2da3685ccd2835df0' LIMIT 0, 1
Time:0.002392
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
no matching row in const table
Exec 3:INSERT modoer_session SET uniq='78bbcff3967588f2da3685ccd2835df0',uid='0',ip_address='104.167.77.90',content='',last_time='1775845146',last_url='/hetian/gov/8791.html',is_mobile='0',user_agent='Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko'
Time:0.003054
Query4:SELECT * FROM modoer_subject WHERE sid = '8791' LIMIT 0, 1
Time:0.002542
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subject
const
PRIMARY
PRIMARY
3
const
1
100.00
Query5:SELECT * FROM modoer_subject_baike WHERE sid = '8791' LIMIT 0, 1
Time:0.002385
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subject_baike
const
PRIMARY
PRIMARY
3
const
1
100.00
Query6:SELECT * FROM modoer_subjectgrade
Time:0.002373
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subjectgrade
ALL
1
100.00
Query7:SELECT * FROM modoer_review_opt WHERE gid = '0' AND enable = '1' ORDER BY listorder,id
Time:0.002377
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_review_opt
ALL
48
2.08
Using where; Using filesort
Exec 8:UPDATE modoer_subject SET pageviews=pageviews+'1' WHERE sid = '8791'
Time:0.003352
Query9:SELECT * FROM modoer_mysubject WHERE sid = '8791' LIMIT 0, 1
Time:0.002364
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_mysubject
ref
sid
sid
3
const
1
100.00
Query10:SELECT * FROM modoer_subjectgourd WHERE sid = '8791' ORDER BY id DESC LIMIT 0, 1
Time:0.002441
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subjectgourd
ref
sid
sid
3
const
1
100.00
Using filesort
Query11:SELECT * FROM modoer_subject s LEFT JOIN modoer_subject_my sf ON (s.sid = sf.sid) WHERE s.sid IN ('10286','17104') AND s.status = '1' LIMIT 0, 10
Time:0.004879
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
s
range
PRIMARY,addtime,finer,idx_status_sid,idx_status
PRIMARY
3
2
50.00
Using where
Query12:SELECT articleid,catid,subject,author,comments,digg,a.dateline FROM modoer_subjectlink sl JOIN modoer_articles a ON (sl.flagid = a.articleid) WHERE sl.sid = '8791' AND sl.flag = 'article' AND a.status = '1' ORDER BY sl.dateline DESC LIMIT 0, 20
Time:0.002576
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
sl
ref
flagid,sid
sid
96
const,const
1
100.00
Backward index scan
Query13:SELECT * FROM modoer_subject s LEFT JOIN modoer_subject_shops sf ON (s.sid = sf.sid) WHERE s.sid = '8790' AND s.status = '1' LIMIT 0, 10
Time:0.002547
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
s
const
PRIMARY,addtime,finer,idx_status_sid,idx_status
PRIMARY
3
const
1
100.00
Query14:SELECT * FROM modoer_subject s LEFT JOIN modoer_subject_hangye sf ON (s.sid = sf.sid) WHERE s.sid = '8711' AND s.status = '1' LIMIT 0, 10
Time:0.002466
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
s
const
PRIMARY,addtime,finer,idx_status_sid,idx_status
PRIMARY
3
const
1
100.00
Query15:SELECT * FROM modoer_subject WHERE pid=281 AND aid=0 AND sid!=8791 ORDER BY reviews DESC LIMIT 0,5
Time:0.003209
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subject
ref
PRIMARY,list_aid,pid,aid,list_city
list_aid
4
const,const
164
56.66
Using index condition; Using filesort
Query16:SELECT name,subname,finer,sid,thumb,description,avgsort,pageviews FROM modoer_subject WHERE status=1 and pid = 119 AND city_id IN (0,8467) ORDER BY addtime DESC LIMIT 0,1