Query1:SELECT * FROM modoer_dbcache WHERE cache_key IN ('comm_dbcache_expire','comm_task_nexttime','comm_session_expire','comm_session_online')
Time:0.002197
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 = 'c25294e5acb309001df2dfd718b1d98f' LIMIT 0, 1
Time:0.002149
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 = '8754' LIMIT 0, 1
Time:0.002220
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_hangye WHERE sid = '8754' LIMIT 0, 1
Time:0.002050
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subject_hangye
const
PRIMARY,idx_sid
PRIMARY
3
const
1
100.00
Query5:SELECT * FROM modoer_subjectgrade
Time:0.002058
id
select_type
table
partitions
type
possible_keys
key
key_len
ref
rows
filtered
Extra
1
SIMPLE
modoer_subjectgrade
ALL
1
100.00
Exec 6:UPDATE modoer_subject SET pageviews=pageviews+'1' WHERE sid = '8754'
Time:0.003050
Query7:SELECT * FROM modoer_mysubject WHERE sid = '8754' LIMIT 0, 1
Time:0.002076
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
Query8:SELECT * FROM modoer_subjectgourd WHERE sid = '8754' ORDER BY id DESC LIMIT 0, 1
Time:0.002028
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
Query9:SELECT articleid,catid,subject,thumb,uid,author,introduce,comments,digg,a.dateline FROM modoer_subjectlink sl JOIN modoer_articles a ON (sl.flagid = a.articleid) WHERE sl.sid = '8754' AND sl.flag = 'article' AND a.status = '1' ORDER BY sl.dateline DESC LIMIT 0, 10
Time:0.002465
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
Query10:SELECT * FROM modoer_subject WHERE pid=119 AND aid=3615 AND sid!=8754 ORDER BY reviews DESC LIMIT 0,3
Time:0.002381
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
15
56.70
Using index condition; Using filesort
Query11:SELECT name,subname,finer,sid,thumb,avgsort,pageviews FROM modoer_subject WHERE status=1 and pid = 1 AND city_id IN (0,3614) ORDER BY addtime DESC LIMIT 0,3