Query1:SELECT * FROM modoer_dbcache WHERE cache_key IN ('comm_dbcache_expire','comm_task_nexttime','comm_session_expire','comm_session_online')
Time:0.010441
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 = '5b3ed0929000493ab6f4ddb1798d3037' LIMIT 0, 1
Time:0.035625
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_session
const
uniq
uniq
96
const
1
100.00
Query3:SELECT * FROM modoer_subject WHERE sid = '12348' LIMIT 0, 1
Time:0.312865
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
Query4:SELECT * FROM modoer_subject_youhua WHERE sid = '12348' LIMIT 0, 1
Time:0.086338
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subject_youhua
const
PRIMARY,idx_sid
PRIMARY
3
const
1
100.00
Query5:SELECT * FROM modoer_subjectgrade
Time:0.027429
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subjectgrade
ALL
1
100.00
Query6:SELECT COUNT(*) FROM modoer_subjectlink sl LEFT JOIN modoer_articles a ON (sl.flagid = a.articleid) WHERE city_id IN ('0','4068') AND sl.sid = '12348' AND sl.flag = 'article' AND status = '1'
Time:0.077243
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
2
100.00
Query7:SELECT articleid,subject,a.dateline,pageview,comments,digg,uid,author,copyfrom,thumb,picture,introduce FROM modoer_subjectlink sl LEFT JOIN modoer_articles a ON (sl.flagid = a.articleid) WHERE city_id IN ('0','4068') AND sl.sid = '12348' AND sl.flag = 'article' AND status = '1' ORDER BY sl.dateline DESC LIMIT 0, 20